/* This file has its own high-specificity (body.yw-figma-scoped) rules that win the cascade
   over public_html/landing/css/yatriwala-figma.css wherever both target the homepage — so it
   used to ship its own competing token values here. --yw-ink / --yw-muted / --yw-line / --yw-soft
   / --yw-shadow are deliberately NOT redeclared below: they fall through to the canonical :root
   in yatriwala-figma.css (custom properties are cascade-wide, not scoped per file — redeclaring
   them here as e.g. `--yw-ink: var(--yw-ink)` would be a self-reference, which CSS treats as
   invalid, not as "read the other file's value"). --yw-teal is a genuine third accent this file
   uses on its own (icons, result-title text) with no canonical equivalent, so it keeps its own
   literal value. */
:root {
    --yw-navy: var(--yw-primary);
    --yw-navy-strong: var(--yw-primary-dark);
    --yw-orange: var(--yw-accent);
    --yw-orange-dark: var(--yw-accent-dark);
    --yw-teal: #0e8275;
    --yw-teal-dark: #08685f;
    --yw-white: #fff;
    --yw-container: 1200px;
}

body,
body.yw-figma {
    color: var(--yw-ink);
    background: var(--yw-white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

body.yw-figma .yw-container {
    width: min(calc(100% - 40px), var(--yw-container));
    margin-inline: auto;
}

/* Was `display:none` — silently hid the entire topbar (tagline + phone/WhatsApp trust links)
   despite it being real, useful content, and combined with the undersized nav/logo values below
   made the header read as thin/cramped rather than a premium travel brand's header. */
body.yw-figma .yw-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    min-height: 88px;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--yw-line);
    box-shadow: 0 4px 16px rgba(11, 43, 107, .05);
    backdrop-filter: blur(12px);
}

body.yw-figma .yw-nav {
    min-height: 88px;
    display: grid;
    grid-template-columns: 260px 1fr auto;
    align-items: center;
    gap: 28px;
}

body.yw-figma .yw-brand__logo {
    display: block;
    width: clamp(190px, 13vw, 230px);
    height: 68px;
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
}

body.yw-figma .yw-nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

body.yw-figma .yw-nav__links a,
body.yw-figma .yw-nav__dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yw-ink);
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

body.yw-figma .yw-nav__links a:hover,
body.yw-figma .yw-nav__links a:focus-visible,
body.yw-figma .yw-nav__dropdown:hover .yw-nav__dropdown-toggle,
body.yw-figma .yw-nav__dropdown-panel a:hover,
body.yw-figma .yw-nav__links a.is-active {
    color: var(--yw-orange);
}

body.yw-figma .yw-nav__links small {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 8px;
    color: var(--yw-navy);
    background: var(--yw-soft, #eaf1ff);
    font-size: 8.5px;
    line-height: 1.7;
    font-weight: 900;
    white-space: nowrap;
}

body.yw-figma .yw-nav__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yw-ink);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
}

body.yw-figma .yw-nav__contact-link i {
    font-size: 13px;
    color: var(--yw-navy);
}

body.yw-figma .yw-nav__contact-link--whatsapp,
body.yw-figma .yw-nav__contact-link--whatsapp:hover {
    color: #1fa855;
}

body.yw-figma .yw-nav__contact-link--whatsapp i {
    color: #25d366;
}

body.yw-figma .yw-nav__auth-btn {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--yw-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(7, 87, 165, .22);
}

body.yw-figma .yw-nav__auth-btn:hover {
    background: var(--yw-navy-strong);
    color: #fff;
}

body.yw-figma .yw-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.yw-figma .yw-ghost-link,
body.yw-figma .yw-profile-link {
    min-width: 44px;
    min-height: 44px;
}

body.yw-figma .yw-ghost-link {
    display: none;
}

body.yw-figma .yw-primary-link,
body.yw-figma .yw-btn--primary {
    background: var(--yw-orange);
    color: #fff;
    border: 1px solid var(--yw-orange);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(255, 107, 53, .22);
}

body.yw-figma .yw-primary-link:hover,
body.yw-figma .yw-btn--primary:hover {
    background: var(--yw-orange-dark);
    color: #fff;
}

body.yw-figma .yw-menu-toggle,
body.yw-figma .yw-mobile-sticky-search {
    display: none;
}

body.yw-figma .yw-page-sections {
    display: flex;
    flex-direction: column;
}

body.yw-figma .yw-hero {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #dfeef8;
}

body.yw-figma .yw-hero__media,
body.yw-figma .yw-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

body.yw-figma .yw-hero__media img {
    object-fit: cover;
    object-position: center;
}

body.yw-figma .yw-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 28%, rgba(255,255,255,.12) 68%, transparent 100%);
}

body.yw-figma .yw-hero__inner {
    position: relative;
    z-index: 2;
    min-height: 430px;
    display: flex;
    align-items: center;
}

body.yw-figma .yw-hero__copy {
    width: min(590px, 55%);
    padding: 48px 0 82px;
}

body.yw-figma .yw-hero h1 {
    max-width: 580px;
    margin: 0 0 18px;
    color: var(--yw-navy);
    font-size: clamp(42px, 4.2vw, 58px);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: 0;
}

body.yw-figma .yw-hero p {
    max-width: 540px;
    margin: 0 0 26px;
    color: #344054;
    font-size: 17px;
    line-height: 1.65;
    font-weight: 500;
}

body.yw-figma .yw-hero__actions {
    display: flex;
    gap: 12px;
}

body.yw-figma .yw-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

body.yw-figma .yw-btn--light,
body.yw-figma .yw-btn--dark {
    color: var(--yw-navy) !important;
    background: #fff;
    border: 1px solid var(--yw-navy);
    box-shadow: none;
}

/* B2B Partner is a secondary audience on a consumer-booking hero — it should read as a quiet
   text link, not a third button competing with Explore Packages / Plan My Trip for attention. */
body.yw-figma .yw-hero__actions .yw-btn--outline {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--yw-muted, #667085) !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    align-self: center;
}

@media (min-width: 768px) {
    /* A fixed `height` here (rather than min-height alone) clipped or overflowed whenever the
       hero's actual content needed more room than 430px — e.g. the trust-badge row wrapping to
       two lines at narrower desktop widths — which pushed content into the search panel's
       -58px overlap margin below instead of the hero growing to fit it. min-height keeps the
       floating-search-bar look on a normal-height hero while letting it grow when content needs
       more space. */
    body.yw-figma .yw-hero,
    body.yw-figma .yw-hero__inner {
        min-height: 430px !important;
    }

    body.yw-figma .yw-hero__inner,
    body.yw-figma .yw-hero__copy {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

body.yw-figma .yw-search-panel {
    position: relative;
    z-index: 3;
    /* Was -58px (then -16px): the "Popular now" chips sit flush against the hero's own bottom
       edge with no buffer, so any negative overlap here covers them. Rather than keep tuning a
       pixel value blind, this is a plain positive gap — reliable at every viewport regardless of
       how the hero's content wraps, at the cost of the subtle "floating card" overlap flourish. */
    margin-top: 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--yw-line);
    border-radius: 12px;
    box-shadow: var(--yw-shadow);
}

body.yw-figma .yw-search-panel__head,
body.yw-figma .yw-search-steps {
    display: none;
}

body.yw-figma .yw-service-tabs {
    display: grid;
    /* Tied to the real registry service count (Holidays/Hotels/Visa/Flights/eSIM/B2B) — update
       this if a service is added or removed from YatriwalaServiceRegistry. */
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

body.yw-figma .yw-service-tabs button {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--yw-line);
    border-radius: 18px;
    color: var(--yw-ink);
    background: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}

body.yw-figma .yw-service-tabs button:hover {
    border-color: var(--yw-primary);
    box-shadow: 0 6px 16px rgba(6, 43, 115, .1);
    transform: translateY(-1px);
}

body.yw-figma .yw-service-tabs button .yw-service-tab-icon,
body.yw-figma .yw-service-tabs button .yw-service-tab-icon svg {
    color: var(--yw-primary);
}

body.yw-figma .yw-service-tabs button.is-active {
    color: #fff;
    background: var(--yw-primary);
    border-color: var(--yw-primary);
}

body.yw-figma .yw-service-tabs button.is-active:hover {
    transform: none;
    box-shadow: none;
}

body.yw-figma .yw-service-tabs button.is-active .yw-service-tab-icon,
body.yw-figma .yw-service-tabs button.is-active .yw-service-tab-icon svg {
    color: #fff;
}

body.yw-figma .yw-service-tab-icon,
body.yw-figma .yw-service-tab-icon svg {
    width: 26px;
    height: 26px;
}

body.yw-figma .yw-service-tabs small {
    /* Was color: var(--yw-orange) with no background override here, which combined with
       yatriwala-figma.css's orange badge background to render orange-on-orange — invisible
       text. Left unset now so the readable color/background pairing from yatriwala-figma.css's
       .yw-service-tabs button small wins. */
    font-size: 9px;
}

body.yw-figma .yw-search-form {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr .85fr minmax(150px, auto);
    gap: 0;
    align-items: stretch;
    border: 1px solid var(--yw-line);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

body.yw-figma .yw-search-form > label[hidden] {
    display: none;
}

/* One continuous bar with dividers between fields, not each field as its own boxed card. */
body.yw-figma .yw-search-form > label,
body.yw-figma .yw-search-form details {
    position: relative;
    min-width: 0;
    min-height: 78px;
    margin: 0;
    padding: 14px 34px 14px 16px;
}

body.yw-figma .yw-search-form > label:not(:first-of-type),
body.yw-figma .yw-search-form details:not(:first-of-type) {
    border-left: 1px solid var(--yw-line);
}

body.yw-figma .yw-search-form__label-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    color: var(--yw-navy);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .03em;
}

body.yw-figma .yw-search-form__label-row i {
    color: var(--yw-primary);
    font-size: 14px;
}

body.yw-figma .yw-search-form__chevron {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: var(--yw-muted);
    font-size: 16px;
    pointer-events: none;
}

body.yw-figma .yw-search-form input {
    width: 100%;
    min-width: 0;
    padding: 0;
    color: var(--yw-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
    /* Must stay >= 16px — iOS Safari auto-zooms the whole page on focus for any input
       font-size below 16px. */
    font-size: 16px;
}

body.yw-figma .yw-search-form details {
    display: none;
}

body.yw-figma .yw-search-form > button {
    min-height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: var(--yw-orange);
    font: inherit;
    font-size: 17px;
    font-weight: 800;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

body.yw-figma .yw-search-form > button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 10px 24px rgba(255, 122, 0, .32);
}

body.yw-figma .yw-app-banners,
body.yw-figma .yw-section {
    margin-top: 0;
    padding: 54px 0;
}

body.yw-figma .yw-app-banners {
    padding-top: 26px;
    padding-bottom: 18px;
}

body.yw-figma .yw-app-banners .yw-section-head {
    margin-bottom: 12px;
}

body.yw-figma .yw-app-banners .yw-section-head p {
    display: none;
}

body.yw-figma .yw-app-banners__rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    overflow: hidden;
}

body.yw-figma .yw-offer-banner {
    min-height: 104px;
    padding: 18px;
    border-radius: 10px;
    overflow: hidden;
}

/* Yatriwala V1 launch polish shared with the Booking Core shell. */
.yatriwala-design {
    overflow-x: clip;
}

.yatriwala-design .bc_wrap,
.yatriwala-design main,
.yatriwala-design .container {
    max-width: 100%;
}

.yw-global-offers {
    position: relative;
    z-index: 8;
    margin: 0;
    padding: 22px 0;
    background:
        radial-gradient(circle at 12% 0, rgba(255, 105, 58, .18), transparent 30%),
        linear-gradient(135deg, rgba(7, 87, 165, .08), rgba(255, 255, 255, .94) 42%, rgba(0, 111, 98, .10));
    border-bottom: 1px solid rgba(7, 87, 165, .08);
}

.yw-global-offers .container {
    width: min(100% - 32px, 1280px);
    padding-inline: 0;
}

.yw-global-offers__head {
    margin-bottom: 14px;
}

.yw-global-offers__rail {
    display: grid;
    grid-auto-flow: column;

    /* yatriwala.css also defines this rail, and sets grid-template-columns:repeat(3,minmax(0,1fr)).
       This file loads after it and overrides grid-auto-columns and gap - but NOT that template,
       which therefore survives. The result is a rail whose first three cards are forced into a
       third of the container each while every card after them takes 320-420px: mismatched widths
       and clipped text, which is what the offers strip has been showing on inner pages.

       Resetting it to none lets grid-auto-columns size every card the same. */
    grid-template-columns: none;

    grid-auto-columns: minmax(320px, 420px);
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 14px;
}

.yw-global-offers__rail::-webkit-scrollbar {
    height: 7px;
}

.yw-global-offers__rail::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(7, 87, 165, .25);
}

.yw-global-offer {
    min-height: 188px;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 22px;
    overflow: hidden;
    isolation: isolate;
    background-image:
        linear-gradient(120deg, rgba(3, 25, 35, .82), rgba(0, 111, 98, .46)),
        var(--offer-image);
    background-size: cover;
    background-position: center;
    color: #fff !important;
    box-shadow: 0 22px 54px rgba(6, 31, 103, .16);
    text-decoration: none !important;
}

.yw-global-offer:before {
    content: "";
    position: absolute;
    inset: auto 18px 18px auto;
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    z-index: -1;
}

.yw-global-offer span,
.yw-global-offer small {
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .92);
    color: var(--yw-blue) !important;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.yw-global-offer strong {
    max-width: 92%;
    color: #fff !important;
    font-size: clamp(22px, 2.2vw, 31px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.yw-global-offer em {
    max-width: 92%;
    color: rgba(255, 255, 255, .88) !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.yw-global-offer small {
    margin-top: 4px;
    background: linear-gradient(135deg, var(--yw-coral), #ff8f5a);
    color: #071313 !important;
}

.yw-tour-card,
.yw-package-card,
.yw-empty-package-card {
    overflow: hidden;
    overflow-wrap: anywhere;
}

.yw-tour-card h3,
.yw-tour-card .item-title,
.yw-tour-card .title-address,
.yw-package-card h3,
.yw-empty-package-card__body strong {
    overflow-wrap: anywhere;
    hyphens: auto;
}

.yw-tour-card__includes span,
.yw-package-includes span,
.yw-tour-card__value-strip span,
.yw-empty-package-card__body > div span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yw-tour-card__actions a,
.yw-empty-package-card__actions a,
.yw-tour-card__details,
.yw-tour-card__enquire,
.yw-tour-card__book {
    min-height: 48px;
}

@media (max-width: 767px) {
    .yw-global-offers {
        margin-top: 0;
        padding: 14px 0 16px;
    }

    .yw-global-offers .container {
        width: 100%;
        padding-inline: 14px;
    }

    .yw-global-offers__head {
        align-items: flex-start;
        gap: 10px;
    }

    .yw-global-offers__head strong {
        font-size: 19px;
        line-height: 1.15;
    }

    .yw-global-offers__controls {
        display: none;
    }

    .yw-global-offers__rail {
        grid-auto-columns: minmax(82vw, 88vw);
        gap: 12px;
        margin-inline: -2px;
        padding-bottom: 10px;
    }

    .yw-global-offer {
        min-height: 166px;
        border-radius: 24px;
        padding: 18px;
    }

    .yw-global-offer strong {
        max-width: 100%;
        font-size: 23px;
    }

    .yw-global-offer em {
        max-width: 100%;
        font-size: 13px;
    }

    .yw-package-list-shell,
    .yw-service-list-shell,
    .search-result-page .bc-list-item {
        max-width: 100vw;
        overflow-x: clip;
    }
}

/* Package detail V1: travel commerce hierarchy, tuned for one-handed mobile use. */
.bc_detail_tour .yw-tour-app-detail {
    --yw-detail-blue: var(--yw-primary);
    --yw-detail-orange: var(--yw-accent);
    --yw-detail-ink: var(--yw-ink);
    --yw-detail-muted: var(--yw-muted);
    --yw-detail-soft: #f3f7fc;
    background: linear-gradient(180deg, #f8fbff 0, #eef7f5 48%, #f8fbff 100%);
    padding: 16px 0 106px;
}

.bc_detail_tour .yw-tour-app-detail .yw-app-section-tabs a.is-active {
    color: #fff !important;
    border-color: var(--yw-detail-blue);
    background: var(--yw-detail-blue);
    box-shadow: 0 10px 20px rgba(7, 87, 165, .2);
}

.bc_detail_tour .yw-tour-app-detail .yw-app-quick-actions button {
    appearance: none;
    cursor: pointer;
}

.bc_detail_tour .yw-tour-app-detail .yw-app-card,
.bc_detail_tour .yw-tour-app-detail .yw-app-snapshot div,
.bc_detail_tour .yw-tour-app-detail .yw-app-payment-plan,
.bc_detail_tour .yw-tour-app-detail .yw-app-expert {
    border-color: rgba(7, 87, 165, .12);
    box-shadow: 0 12px 30px rgba(16, 35, 61, .08);
}

.bc_detail_tour .yw-tour-app-detail .yw-app-card {
    scroll-margin-top: 122px;
}

.bc_detail_tour .yw-tour-app-detail .yw-app-card__head strong,
.bc_detail_tour .yw-tour-app-detail .yw-app-day summary strong,
.bc_detail_tour .yw-tour-app-detail .yw-app-related-card h3 {
    color: var(--yw-detail-ink);
}

.bc_detail_tour .yw-tour-app-detail .yw-app-book-bar {
    border-top: 1px solid rgba(7, 87, 165, .14);
    box-shadow: 0 -12px 28px rgba(16, 35, 61, .12);
}

@media (max-width: 767px) {
    .bc_detail_tour .yw-tour-app-detail {
        padding-top: 8px;
        padding-bottom: 124px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-hero-card {
        margin: 0 10px 12px;
        border-radius: 26px;
        min-height: 332px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-hero-card__top {
        padding: 12px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-hero-card__body {
        padding: 16px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-hero-card__body h1 {
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.1;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-payment-plan {
        margin: 10px 10px 12px;
        border-radius: 22px;
        padding: 14px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-quick-actions {
        grid-auto-columns: minmax(88px, 1fr);
        margin: 10px 10px 12px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-quick-actions button,
    .bc_detail_tour .yw-tour-app-detail .yw-app-quick-actions a {
        min-height: 56px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-section-tabs {
        top: 0;
        margin-bottom: 10px;
        padding: 10px;
        background: rgba(248, 251, 255, .97);
        border-block: 1px solid rgba(7, 87, 165, .08);
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-section-tabs a {
        min-height: 40px;
        padding-inline: 13px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-card {
        margin: 0 10px 12px;
        border-radius: 22px;
        padding: 15px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-card__head strong {
        font-size: 18px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-day,
    .bc_detail_tour .yw-tour-app-detail .yw-app-accordion details {
        border-radius: 18px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-day summary,
    .bc_detail_tour .yw-tour-app-detail .yw-app-accordion summary {
        min-height: 62px;
    }

    .bc_detail_tour .yw-tour-app-detail .yw-app-booking-steps div {
        flex-basis: 76%;
        border-radius: 18px;
    }
}

@media (max-width: 430px) {
    .yw-global-offers__rail {
        grid-auto-columns: minmax(86vw, 90vw);
    }

    .yw-tour-card__includes,
    .yw-package-includes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .yw-tour-card__includes span,
    .yw-package-includes span {
        padding-inline: 6px;
        font-size: 10px;
    }
}

body.yw-figma .yw-offer-banner strong {
    max-width: 75%;
    font-size: 17px;
    line-height: 1.2;
}

body.yw-figma .yw-offer-banner small {
    max-width: 78%;
    font-size: 12px;
}

body.yw-figma .yw-offer-banner em {
    font-size: 11px;
}

body.yw-figma .yw-section-head {
    margin-bottom: 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

body.yw-figma .yw-section-head h2,
body.yw-figma .yw-contact-cta h2 {
    margin: 0;
    color: var(--yw-navy);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
    font-weight: 800;
}

body.yw-figma .yw-section-head p {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--yw-muted);
    font-size: 15px;
    line-height: 1.55;
}

body.yw-figma .yw-link-arrow {
    color: var(--yw-orange-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

body.yw-figma .yw-rail-controls {
    display: none;
}

body.yw-figma .yw-package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
}

.yw-package-card,
.yw-tour-card--commerce {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: initial !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--yw-line);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(11, 43, 107, .07);
}

.yw-package-card__media,
.yw-tour-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--yw-soft);
}

.yw-package-card__media img,
.yw-tour-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .25s ease;
}

.yw-package-card:hover img,
.yw-tour-card--commerce:hover img {
    transform: scale(1.03);
}

.yw-package-card__duration,
.yw-tour-card__duration {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    border-radius: 6px;
    color: #fff;
    background: rgba(7, 31, 79, .90);
    font-size: 11px;
    font-weight: 800;
}

.yw-package-card__save,
.yw-tour-card--commerce .service-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--yw-navy);
    background: rgba(255,255,255,.94);
    box-shadow: 0 4px 12px rgba(11,43,107,.15);
}

.yw-package-card__body,
.yw-tour-card__body {
    padding: 16px;
}

.yw-package-card__location,
.yw-tour-card__location {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    margin-bottom: 7px;
    color: var(--yw-teal);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yw-package-card h3,
.yw-tour-card--commerce h3 {
    min-height: 46px;
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0;
}

.yw-package-card h3 a,
.yw-tour-card--commerce h3 a {
    color: var(--yw-ink);
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.yw-package-card__includes,
.yw-tour-card__includes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 14px;
}

.yw-package-card__includes span,
.yw-tour-card__includes span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 7px 3px;
    color: #475467;
    background: var(--yw-soft);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.yw-package-card__includes i,
.yw-tour-card__includes i {
    color: var(--yw-teal);
    font-size: 14px;
}

.yw-package-card__pricing,
.yw-tour-card__pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--yw-line);
}

.yw-package-card__pricing div,
.yw-tour-card__pricing div {
    min-width: 0;
}

.yw-package-card__pricing span,
.yw-tour-card__pricing span {
    display: block;
    color: var(--yw-muted);
    font-size: 10px;
    font-weight: 700;
}

.yw-package-card__pricing strong,
.yw-tour-card__pricing strong {
    display: block;
    margin-top: 2px;
    color: var(--yw-navy);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.yw-package-card__token strong,
.yw-tour-card__token strong {
    color: var(--yw-orange-dark);
}

.yw-package-card__details,
.yw-tour-card__details {
    min-height: 42px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--yw-navy);
    border-radius: 7px;
    color: #fff !important;
    background: var(--yw-navy);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.yw-package-card__details:hover,
.yw-package-card__details:focus-visible,
.yw-tour-card__details:hover,
.yw-tour-card__details:focus-visible {
    color: #fff !important;
    background: var(--yw-teal-dark);
    border-color: var(--yw-teal-dark);
}

body.yw-figma .yw-band--mint {
    background: var(--yw-soft);
}

body.yw-figma .yw-destination-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

body.yw-figma .yw-destination-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: 10px;
}

body.yw-figma .yw-destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.yw-figma .yw-destination-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    background: linear-gradient(transparent, rgba(7,31,79,.82));
}

body.yw-figma .yw-destination-card strong {
    z-index: 2;
    font-size: 16px;
}

body.yw-figma .yw-destination-card span {
    z-index: 2;
    font-size: 11px;
}

body.yw-figma .yw-why {
    padding-block: 34px;
    border-top: 1px solid var(--yw-line);
    border-bottom: 1px solid var(--yw-line);
}

body.yw-figma .yw-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

body.yw-figma .yw-why-grid article {
    padding: 10px 24px;
    border-right: 1px solid var(--yw-line);
    background: transparent;
    box-shadow: none;
}

body.yw-figma .yw-why-grid article:last-child {
    border-right: 0;
}

body.yw-figma .yw-why-grid article > span {
    color: var(--yw-orange);
    font-size: 13px;
    font-weight: 800;
}

body.yw-figma .yw-why-grid strong {
    display: block;
    margin: 5px 0;
    color: var(--yw-navy);
    font-size: 17px;
}

body.yw-figma .yw-why-grid p {
    margin: 0;
    color: var(--yw-muted);
    font-size: 13px;
    line-height: 1.5;
}

body.yw-figma .yw-proof-strip {
    display: none;
}

body.yw-figma .yw-booking-process {
    padding-top: 38px;
    padding-bottom: 38px;
}

body.yw-figma .yw-booking-process__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

body.yw-figma .yw-booking-process__steps article {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
}

body.yw-figma .yw-booking-process__steps article > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--yw-teal);
    font-weight: 800;
}

body.yw-figma .yw-booking-process__steps strong {
    color: var(--yw-navy);
    font-size: 16px;
}

body.yw-figma .yw-booking-process__steps p {
    margin: 5px 0 0;
    color: var(--yw-muted);
    font-size: 13px;
    line-height: 1.5;
}

body.yw-figma .yw-faq {
    padding-top: 34px;
    padding-bottom: 34px;
}

body.yw-figma .yw-faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}

body.yw-figma .yw-faq-list details {
    padding: 15px 16px;
    border: 1px solid var(--yw-line);
    border-radius: 8px;
}

body.yw-figma .yw-contact-cta {
    margin-top: 22px;
    margin-bottom: 54px;
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 26px 30px;
    color: #fff;
    background: var(--yw-navy);
    border-radius: 12px;
}

body.yw-figma .yw-contact-cta h2 {
    color: #fff;
    font-size: 28px;
}

body.yw-figma .yw-contact-cta p {
    margin: 6px 0 0;
    color: #dbe7ff;
    font-size: 14px;
}

body.yw-figma .yw-footer {
    /* This rule used to flatten the footer to a solid color and hide the trust badges below —
       both reverted 2026-08-09. The gradient, top accent bar and glow live on the plain
       .yw-footer rule in yatriwala-figma.css (this file doesn't redeclare background so that
       one applies uncontested). */
    padding-top: 72px;
    color: #c3cddf;
}

body.yw-figma .yw-footer__grid {
    grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
    gap: 32px;
}

body.yw-figma .yw-footer h3 {
    color: #fff;
    font-size: 13px;
}

body.yw-figma .yw-footer a,
body.yw-figma .yw-footer span,
body.yw-figma .yw-footer p {
    color: #9aa8c4;
    font-size: 13px;
}

/* Package listing */
.yw-package-search-page .bc_banner {
    min-height: 176px;
    padding: 36px 0;
    background: var(--yw-navy) !important;
}

body .bc_search_tour.yw-package-search-page .bc_banner {
    min-height: 176px !important;
    height: 176px !important;
    padding: 30px 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.yw-package-search-hero > span,
.yw-package-hero-chips {
    display: none;
}

.yw-package-search-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: 0;
}

.yw-package-search-hero p {
    max-width: 720px;
    margin: 10px 0 0;
    color: #dce6f8;
    font-size: 15px;
}

.yw-package-search-page .bc_form_search {
    position: relative;
    z-index: 2;
    margin-top: -26px;
}

.yw-package-search-page .bc_form_search .g-form-control {
    border-radius: 10px;
    box-shadow: var(--yw-shadow);
}

.yw-package-list-shell {
    padding-top: 24px;
    padding-bottom: 50px;
}

.yw-package-category-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    overflow-x: auto;
    scrollbar-width: none;
}

.yw-package-category-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--yw-line);
    border-radius: 8px;
    color: #475467;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.yw-package-category-nav a.is-active {
    color: #fff;
    background: var(--yw-navy);
    border-color: var(--yw-navy);
}

.yw-package-filter-panel {
    border: 1px solid var(--yw-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

@media (min-width: 1024px) {
    .yw-package-filter-panel {
        position: sticky;
        top: 92px;
        max-height: calc(100vh - 112px);
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

.yw-package-results-title span {
    color: var(--yw-teal);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.yw-package-results-title h2 {
    margin: 4px 0 0;
    color: var(--yw-navy);
    font-size: 24px;
}

.yw-package-search-page .ajax-search-result .list-item > .row {
    row-gap: 18px;
}

.yw-tour-card--commerce {
    height: 100%;
}

.yw-tour-card--commerce .yw-tour-card__media {
    aspect-ratio: 4 / 3;
}

.yw-active-filter-row {
    margin: 0 0 14px;
}

/* Package detail */
.yw-package-detail-commerce {
    background: #fff;
}

@media (min-width: 768px) {
    .bc_detail_tour {
        background: #fff !important;
    }

    .yw-package-detail-commerce {
        width: min(calc(100% - 40px), var(--yw-container));
        margin: 0 auto;
        padding: 28px 0 64px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        align-items: start;
        gap: 24px;
    }

    .yw-package-detail-commerce .yw-tour-app-detail {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible;
    }

    .yw-package-detail-commerce .yw-app-hero-card {
        min-height: 0 !important;
        margin: 0 0 18px !important;
        display: grid;
        grid-template-rows: 390px auto;
        overflow: hidden;
        color: var(--yw-ink);
        background: #fff;
        border: 1px solid var(--yw-line);
        border-radius: 12px !important;
        box-shadow: none;
    }

    .yw-package-detail-commerce .yw-app-hero-card > img {
        position: relative !important;
        inset: auto !important;
        grid-row: 1;
        width: 100%;
        height: 390px !important;
        object-fit: cover;
    }

    .yw-package-detail-commerce .yw-app-hero-card__shade {
        display: none;
    }

    .yw-package-detail-commerce .yw-app-hero-card__top {
        position: absolute;
        inset: 14px 14px auto;
        padding: 0;
    }

    .yw-package-detail-commerce .yw-app-hero-card__top a,
    .yw-package-detail-commerce .yw-app-hero-card__top button,
    .yw-package-detail-commerce .yw-app-hero-card__top span {
        color: #fff !important;
        background: rgba(7, 31, 79, .78);
        border-color: rgba(255, 255, 255, .55);
    }

    .yw-package-detail-commerce .yw-app-hero-card__body {
        position: static !important;
        grid-row: 2;
        max-width: none !important;
        gap: 10px;
        padding: 20px 22px !important;
        color: var(--yw-ink);
        background: #fff;
    }

    .yw-package-detail-commerce .yw-app-hero-card__body h1 {
        color: var(--yw-navy) !important;
        font-size: 34px !important;
        line-height: 1.14;
    }

    .yw-package-detail-commerce .yw-app-meta-row {
        flex-wrap: wrap;
        overflow: visible;
    }

    .yw-package-detail-commerce .yw-app-meta-row span {
        color: var(--yw-navy);
        background: var(--yw-soft);
        border-color: var(--yw-line);
    }

    .yw-package-detail-commerce .yw-app-price-strip,
    .yw-package-detail-commerce .yw-app-book-bar {
        display: none !important;
    }

    .yw-package-detail-commerce .yw-app-service-rail {
        margin: 0 0 18px !important;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        grid-auto-flow: initial;
        gap: 8px;
        overflow: visible;
    }

    .yw-package-detail-commerce .yw-app-service-rail span {
        min-height: 70px;
        min-width: 0;
        border: 1px solid var(--yw-line);
        border-radius: 8px;
        background: var(--yw-soft);
    }

    .yw-package-detail-commerce .yw-app-section-tabs {
        position: sticky;
        top: 76px;
        z-index: 18;
        margin: 0 0 16px !important;
        padding: 8px;
        display: flex;
        gap: 6px;
        overflow-x: auto;
        background: #fff;
        border: 1px solid var(--yw-line);
        border-radius: 9px;
    }

    .yw-package-detail-commerce .yw-app-section-tabs a {
        min-height: 42px;
        padding: 0 15px;
        border-radius: 7px;
    }

    .yw-package-detail-commerce .yw-app-snapshot {
        margin: 0 0 16px !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .yw-package-detail-commerce .yw-app-card,
    .yw-package-detail-commerce .yw-app-expert {
        margin: 0 0 16px !important;
        padding: 22px !important;
        border: 1px solid var(--yw-line);
        border-radius: 10px !important;
        box-shadow: none !important;
    }

    .yw-package-detail-booking {
        position: sticky;
        top: 92px;
        min-width: 0;
    }

    .yw-package-detail-booking .bc_single_book_wrap {
        position: static !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 12px !important;
    }

    .yw-package-detail-booking .bc_single_book {
        overflow: hidden;
        border: 1px solid var(--yw-line);
        border-radius: 12px;
        box-shadow: var(--yw-shadow);
    }

    .yw-package-detail-booking .yw-book-sheet-head {
        padding: 18px;
        color: #fff;
        background: var(--yw-navy);
    }

    .yw-package-detail-booking .yw-book-sheet-head span,
    .yw-package-detail-booking .yw-book-sheet-head strong {
        color: #fff;
    }

    .yw-package-detail-booking .yw-book-sheet-head button,
    .yw-package-detail-booking .yw-book-step-rail,
    .yw-package-detail-booking .yw-book-trust {
        display: none !important;
    }

    .yw-package-detail-booking .yw-book-price-summary > div {
        min-height: 58px;
        margin: 0 !important;
        padding: 10px 12px !important;
        border: 0 !important;
        border-bottom: 1px solid var(--yw-line) !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .yw-package-detail-booking .yw-book-price-summary > div:last-child {
        border-bottom: 0 !important;
    }

    .yw-package-detail-booking .yw-book-helper {
        padding: 10px 12px;
        font-size: 11px;
        line-height: 1.4;
    }

    .yw-package-detail-booking .form-head,
    .yw-package-detail-booking .form-content,
    .yw-package-detail-booking .submit-group,
    .yw-package-detail-booking .yw-book-price-summary,
    .yw-package-detail-booking .yw-book-step-rail,
    .yw-package-detail-booking .yw-book-helper,
    .yw-package-detail-booking .yw-book-trust,
    .yw-package-detail-booking .nav-enquiry {
        margin-left: 16px;
        margin-right: 16px;
    }
}

.yw-book-price-summary {
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--yw-line);
    border-radius: 8px;
    overflow: hidden;
}

.yw-book-price-summary > div {
    padding: 12px 14px;
    border-bottom: 1px solid var(--yw-line);
}

.yw-book-price-summary > div:last-child {
    border-bottom: 0;
}

.yw-book-price-summary strong {
    color: var(--yw-navy);
}

.yw-checkout-balance-note {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    padding: 14px;
    color: var(--yw-navy);
    background: var(--yw-soft);
    border-radius: 8px;
}

.yw-checkout-balance-note small {
    grid-column: 1 / -1;
    color: var(--yw-muted);
}

.yw-package-detail-booking .submit-group .btn {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: var(--yw-orange) !important;
    border-color: var(--yw-orange) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 18px rgba(255, 107, 53, .22);
}

.yw-package-detail-booking .submit-group .btn:hover,
.yw-package-detail-booking .submit-group .btn:focus-visible {
    color: #fff !important;
    background: var(--yw-orange-dark) !important;
    border-color: var(--yw-orange-dark) !important;
}

/* Raised from 1023px 2026-08-09: the nav grew from ~5 flat links to 11 items (3 of them
   dropdowns) to match the new mega-nav, and 11 items + dropdown carets genuinely don't fit
   in the 1024-1365px laptop-window range without overflowing — better to fall back to the
   hamburger menu there than let the header overflow horizontally. */
@media (max-width: 1024px) {
    /* Was 1365px — with the compact 5-item primary nav (Home/Holidays/Flights/Hotels/More)
       there's no reason standard laptop widths (1280-1365px) need to collapse into a hamburger
       icon instead of showing the actual navigation; only genuine tablet-and-below widths do. */
    body.yw-figma .yw-header,
    body.yw-figma .yw-nav {
        min-height: 72px;
    }

    body.yw-figma .yw-nav {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 8px;
    }

    body.yw-figma .yw-menu-toggle {
        display: grid;
        place-items: center;
    }

    body.yw-figma .yw-brand {
        justify-self: center;
    }

    body.yw-figma .yw-brand__logo {
        width: 150px;
        max-height: 50px;
    }

    body.yw-figma .yw-nav__links,
    body.yw-figma .yw-primary-link,
    body.yw-figma .yw-ghost-link {
        display: none !important;
    }

    body.yw-figma .yw-nav__actions {
        display: contents;
    }

    body.yw-figma .yw-profile-link {
        grid-column: 3;
    }

    /* Contact links + currency/language utility duplicate the mobile drawer's own contact
       and utility rows at this width, so they're hidden here rather than fighting the
       3-column grid for space; only the auth trigger keeps a compact place in column 3. */
    body.yw-figma .yw-nav__contact-link,
    body.yw-figma .yw-nav__utility {
        display: none !important;
    }

    body.yw-figma .yw-nav__auth-btn {
        grid-column: 3;
        min-width: 40px;
        min-height: 40px;
        padding: 0 14px;
        font-size: 11.5px;
    }

    body.yw-figma .yw-package-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.yw-figma .yw-destination-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Without this step the unconditional 5-column footer rule above stays in effect all the
       way down to the 767px breakpoint, squeezing each column to ~105px on tablet widths. */
    body.yw-figma .yw-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    body.yw-figma .yw-search-form > button {
        grid-column: auto !important;
        width: auto !important;
        min-width: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .yw-package-detail-commerce {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding-top: 22px;
    }

    .yw-package-detail-commerce .yw-app-hero-card {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
        grid-template-rows: 360px;
    }

    .yw-package-detail-commerce .yw-app-hero-card > img {
        grid-column: 1;
        grid-row: 1;
        height: 360px !important;
    }

    .yw-package-detail-commerce .yw-app-hero-card__body {
        grid-column: 2;
        grid-row: 1;
        align-self: stretch;
        justify-content: center;
        padding: 28px !important;
        border-left: 1px solid var(--yw-line);
    }

    .yw-package-detail-commerce .yw-app-hero-card__body h1 {
        font-size: 30px !important;
    }

    .bc_detail_tour .yw-package-detail-commerce .yw-app-price-strip {
        position: relative;
        top: auto;
        z-index: 1;
        min-height: 96px;
        width: auto;
        max-width: none;
        margin: -30px 16px 18px;
        padding: 12px;
        display: grid !important;
        grid-template-columns: minmax(0, 1.15fr) minmax(92px, .75fr) minmax(118px, .9fr) 150px !important;
        align-items: stretch;
        gap: 0;
        overflow: hidden;
        border: 1px solid var(--yw-line);
        border-radius: 10px;
        background: #fff;
    }

    .yw-package-detail-commerce .yw-app-price-strip > div {
        min-width: 0;
        padding: 8px 14px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-right: 1px solid var(--yw-line);
    }

    .yw-package-detail-commerce .yw-app-price-strip span {
        color: var(--yw-muted);
        font-size: 11px;
        font-weight: 700;
    }

    .yw-package-detail-commerce .yw-app-price-strip strong {
        color: var(--yw-navy);
        font-size: 20px;
    }

    .yw-package-detail-commerce .yw-app-price-strip del {
        color: var(--yw-muted);
        font-size: 11px;
    }

    .bc_detail_tour .yw-package-detail-commerce .yw-app-price-strip > a {
        width: auto;
        min-height: 52px;
        align-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 18px;
        color: #fff !important;
        background: var(--yw-orange) !important;
        border-radius: 8px;
        font-weight: 800;
    }

    .yw-package-detail-booking {
        display: contents;
    }
}

@media (max-width: 767px) {
    body,
    body.yw-figma {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    body.yw-figma .yw-container {
        width: min(calc(100% - 24px), var(--yw-container));
    }

    body.yw-figma .yw-header {
        min-height: 64px;
    }

    body.yw-figma .yw-nav {
        min-height: 64px;
        display: grid;
        grid-template-columns: 44px 1fr auto;
        gap: 8px;
    }

    body.yw-figma .yw-menu-toggle {
        display: grid;
        place-items: center;
    }

    body.yw-figma .yw-brand {
        justify-self: center;
    }

    body.yw-figma .yw-brand__logo {
        width: 138px;
        max-height: 48px;
    }

    body.yw-figma .yw-nav__links,
    body.yw-figma .yw-primary-link,
    body.yw-figma .yw-ghost-link,
    body.yw-figma .yw-mobile-sticky-search {
        display: none;
    }

    body.yw-figma .yw-nav__actions {
        display: contents;
    }

    body.yw-figma .yw-profile-link {
        grid-column: 3;
    }

    /* Contact links + currency/language utility duplicate the mobile drawer's own contact
       and utility rows at this width, so they're hidden here rather than fighting the
       3-column grid for space; only the auth trigger keeps a compact place in column 3. */
    body.yw-figma .yw-nav__contact-link,
    body.yw-figma .yw-nav__utility {
        display: none !important;
    }

    body.yw-figma .yw-nav__auth-btn {
        grid-column: 3;
        min-width: 40px;
        min-height: 40px;
        padding: 0 14px;
        font-size: 11.5px;
    }

    body.yw-figma .yw-hero {
        min-height: 0;
        border-radius: 0;
    }

    body.yw-figma .yw-hero__inner {
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px 0 28px;
    }

    /* Desktop's multi-image slider + offer-card + token-badge composition is a 420px fixed-width
       column meant to sit beside a 55%-width copy column — it doesn't have a mobile layout of its
       own, so on narrow screens it gets simplified to one image with the token badge overlaid,
       matching the "single image + badge" pattern the copy sits above. */
    body.yw-figma .yw-hero__copy {
        width: 100%;
        order: 2;
        padding: 0;
    }

    body.yw-figma .yw-hero h1 {
        max-width: none;
        margin-bottom: 10px;
        color: var(--yw-navy);
        font-size: 28px;
        line-height: 1.1;
    }

    body.yw-figma .yw-hero p {
        max-width: none;
        margin-bottom: 16px;
        color: #344054;
        font-size: 14.5px;
        line-height: 1.5;
    }

    body.yw-figma .yw-hero__collage-wrap {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    body.yw-figma .yw-hero__collage-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        height: 220px;
    }

    body.yw-figma .yw-hero__collage-grid img:not(.yw-hero__slide-img) {
        display: none;
    }

    body.yw-figma .yw-hero__slider {
        grid-row: auto;
        margin-right: 0;
        clip-path: none;
        border-radius: 18px;
    }

    body.yw-figma .yw-hero__offer-card,
    body.yw-figma .yw-hero__collage-peek {
        display: none;
    }

    body.yw-figma .yw-hero__token-badge {
        width: 80px;
        height: 80px;
        left: 14px;
        bottom: -16px;
    }

    body.yw-figma .yw-hero__token-badge span {
        font-size: 7px;
    }

    body.yw-figma .yw-hero__token-badge strong {
        max-width: 60px;
        font-size: 9px;
    }

    body.yw-figma .yw-hero__token-badge em {
        font-size: 7px;
    }

    body.yw-figma .yw-btn {
        min-height: 44px;
        padding: 0 16px;
        font-size: 13px;
    }

    body.yw-figma .yw-btn--light {
        color: #fff !important;
        background: rgba(7,31,79,.48);
        border-color: rgba(255,255,255,.75);
    }

    body.yw-figma .yw-search-panel {
        width: calc(100% - 24px);
        margin-top: 14px;
        padding: 12px;
        border-radius: 12px;
    }

    body.yw-figma .yw-service-tabs {
        grid-template-columns: repeat(6, minmax(68px, 1fr));
        gap: 7px;
        margin: 0 -2px 10px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    body.yw-figma .yw-service-tabs button {
        min-height: 58px;
        flex-direction: column;
        gap: 3px;
        padding: 6px 4px;
        font-size: 10px;
    }

    body.yw-figma .yw-service-tab-icon,
    body.yw-figma .yw-service-tab-icon svg {
        width: 18px;
        height: 18px;
    }

    body.yw-figma .yw-search-form {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        border: 0;
        background: none;
        overflow: visible;
    }

    /* Divider treatment only reads correctly in a single row — at 2 columns fields wrap onto
       new rows, so fall back to individually-boxed fields instead. */
    body.yw-figma .yw-search-form > label {
        min-height: 58px;
        padding: 9px 11px;
        border: 1px solid var(--yw-line);
        border-radius: 12px;
        background: #fff;
    }

    body.yw-figma .yw-search-form > label:first-child {
        grid-column: 1 / -1;
    }

    body.yw-figma .yw-search-form > button {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 48px;
    }

    body.yw-figma .yw-app-banners,
    body.yw-figma .yw-section {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    body.yw-figma .yw-app-banners {
        padding-top: 20px;
        padding-bottom: 10px;
    }

    body.yw-figma .yw-app-banners .yw-section-head {
        margin-bottom: 10px;
    }

    body.yw-figma .yw-app-banners__rail {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    body.yw-figma .yw-offer-banner {
        flex: 0 0 86%;
        min-height: 110px !important;
        height: 110px !important;
        padding: 14px !important;
        scroll-snap-align: start;
    }

    body.yw-figma .yw-section-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        margin-bottom: 18px;
    }

    body.yw-figma .yw-section-head > div:first-child {
        min-width: 0;
    }

    body.yw-figma .yw-section-head__actions {
        align-self: start;
    }

    body.yw-figma .yw-section-head h2,
    body.yw-figma .yw-contact-cta h2 {
        font-size: 23px;
    }

    body.yw-figma .yw-section-head p {
        margin-top: 5px;
        font-size: 13px;
    }

    body.yw-figma .yw-section-head__actions {
        flex: 0 0 auto;
    }

    body.yw-figma .yw-package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .yw-package-card__body,
    .yw-tour-card__body {
        padding: 10px;
    }

    .yw-package-card__media,
    .yw-tour-card__media {
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
    }

    .yw-package-card h3,
    .yw-tour-card--commerce h3 {
        min-height: 40px;
        margin-bottom: 9px;
        font-size: 14px;
        line-height: 1.35;
    }

    .yw-package-card__location,
    .yw-tour-card__location {
        font-size: 10px;
    }

    .yw-package-card__includes,
    .yw-tour-card__includes {
        gap: 4px;
        margin-bottom: 10px;
    }

    .yw-package-card__includes span,
    .yw-tour-card__includes span {
        padding: 5px 2px;
        font-size: 8px;
    }

    .yw-package-card__pricing,
    .yw-tour-card__pricing {
        grid-template-columns: 1fr;
        gap: 5px;
        padding-top: 8px;
    }

    .yw-package-card__pricing strong,
    .yw-tour-card__pricing strong {
        font-size: 14px;
    }

    .yw-package-card__token,
    .yw-tour-card__token {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 5px;
    }

    .yw-package-card__details,
    .yw-tour-card__details {
        min-height: 40px;
        margin-top: 10px;
        font-size: 11px;
    }

    body.yw-figma .yw-destination-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    body.yw-figma .yw-destination-card {
        min-height: 150px;
    }

    body.yw-figma .yw-why-grid,
    body.yw-figma .yw-booking-process__steps {
        grid-template-columns: 1fr;
    }

    body.yw-figma .yw-why-grid article {
        padding: 14px 0;
        border-right: 0;
        border-bottom: 1px solid var(--yw-line);
    }

    body.yw-figma .yw-booking-process__steps {
        gap: 18px;
    }

    body.yw-figma .yw-faq-list {
        grid-template-columns: 1fr;
    }

    body.yw-figma .yw-contact-cta {
        margin-bottom: 28px;
        padding: 22px;
        flex-direction: column;
        align-items: stretch;
    }

    body.yw-figma .yw-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px 16px;
    }

    body.yw-figma .yw-mobile-fab {
        display: none;
    }

    /* Listing */
    .yw-package-search-page .bc_banner {
        min-height: 132px;
        padding: 22px 0 42px;
    }

    .yw-package-search-hero h1 {
        font-size: 27px;
    }

    .yw-package-search-hero p {
        display: none;
    }

    .yw-package-search-page .bc_form_search {
        margin-top: -28px;
    }

    .yw-package-search-page .yw-package-search-form .yw-search-service-tabs {
        min-height: 64px !important;
        height: 64px !important;
        padding: 6px !important;
    }

    .yw-package-search-page .yw-package-search-form .yw-search-service-tabs a {
        min-height: 50px !important;
        height: 50px !important;
    }

    .yw-package-search-page .yw-package-search-form .g-field-search {
        height: auto !important;
    }

    .yw-package-search-page .yw-package-search-form .g-field-search > .row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 !important;
        padding: 0 8px;
    }

    .yw-package-search-page .yw-package-search-form .g-field-search > .row > [class*="col-"] {
        width: 100% !important;
        max-width: none !important;
        min-height: 82px !important;
        height: 82px !important;
        padding: 0 8px !important;
        border-bottom: 0 !important;
    }

    .yw-package-search-page .yw-package-search-form .g-field-search .form-group,
    .yw-package-search-page .yw-package-search-form .g-field-search .form-content {
        min-height: 70px !important;
        height: 70px !important;
    }

    .yw-package-search-page .yw-package-search-form .g-button-submit {
        min-height: 64px !important;
        height: 64px !important;
        padding: 8px 16px !important;
    }

    .yw-package-search-page .yw-package-search-form .btn-search {
        min-height: 48px !important;
        height: 48px !important;
        width: 100% !important;
    }

    .yw-package-list-shell {
        padding-top: 14px;
    }

    .yw-package-category-nav {
        margin-bottom: 14px;
    }

    .yw-package-results-layout > .col-lg-3 {
        width: 0;
        height: 0;
        padding: 0;
    }

    .yw-package-filter-panel {
        position: fixed;
        inset: auto 0 0;
        z-index: 1300;
        max-height: 82vh;
        overflow: auto;
        border-radius: 16px 16px 0 0;
        transform: translateY(105%);
        transition: transform .22s ease;
    }

    body.yw-filters-open .yw-package-filter-panel {
        transform: translateY(0);
    }

    .yw-package-filter-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1290;
        display: none;
        background: rgba(7,31,79,.48);
    }

    body.yw-filters-open .yw-package-filter-backdrop {
        display: block;
    }

    .yw-package-search-page .topbar-search {
        gap: 10px;
        align-items: center;
    }

    .yw-package-results-title h2 {
        font-size: 19px;
    }

    .yw-package-search-page .ajax-search-result .list-item > .row > [class*="col-"] {
        width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
        padding-inline: 5px;
    }

    .yw-package-search-page .ajax-search-result .list-item > .row {
        margin-inline: -5px;
        row-gap: 10px;
    }

    /* Detail */
    .yw-tour-detail-page > .yw-tour-detail-hero,
    .yw-tour-detail-page > .bc_content,
    .yw-tour-detail-page > .tour-banner,
    .yw-tour-detail-page > .bc_banner {
        display: none !important;
    }

    .yw-tour-app-detail {
        display: block !important;
        padding: 12px 10px 158px;
        background: #fff;
    }

    .yw-app-hero-card {
        min-height: 330px;
        border-radius: 12px;
    }

    .yw-app-hero-card__body h1 {
        font-size: 28px;
        line-height: 1.1;
    }

    .yw-app-price-strip {
        margin-top: 10px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 12px;
        border: 1px solid var(--yw-line);
        border-radius: 10px;
        box-shadow: none;
    }

    .yw-app-price-strip > div {
        min-width: 0;
    }

    .yw-app-price-strip span {
        display: block;
        color: var(--yw-muted);
        font-size: 9px;
    }

    .yw-app-price-strip strong {
        color: var(--yw-navy);
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .yw-app-price-strip__token strong {
        color: var(--yw-teal);
    }

    .yw-app-price-strip > a {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: #fff !important;
        background: var(--yw-orange) !important;
        font-weight: 800;
    }

    .yw-app-service-rail {
        margin: 10px 0;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
    }

    .yw-app-service-rail span {
        min-width: 0;
        min-height: 54px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 5px 2px;
        border: 1px solid var(--yw-line);
        border-radius: 8px;
        font-size: 8px;
    }

    .yw-app-section-tabs {
        position: sticky;
        top: 64px;
        z-index: 20;
        margin: 10px -10px 12px;
        padding: 8px 10px;
        display: flex;
        gap: 5px;
        overflow-x: auto;
        background: #fff;
        border-block: 1px solid var(--yw-line);
        scrollbar-width: none;
    }

    .yw-app-section-tabs a {
        flex: 0 0 auto;
        min-height: 40px;
        display: flex;
        align-items: center;
        padding: 0 12px;
        border-radius: 7px;
        color: var(--yw-navy);
        background: var(--yw-soft);
        font-size: 11px;
        font-weight: 800;
    }

    .yw-app-snapshot,
    .yw-app-expert,
    .yw-app-related {
        display: none !important;
    }

    .yw-tour-app-detail .yw-app-card {
        margin: 0 0 12px;
        padding: 16px;
        border: 1px solid var(--yw-line);
        border-radius: 10px;
        box-shadow: none;
    }

    .yw-package-detail-booking {
        display: contents;
    }

    .yw-package-detail-booking .bc_single_book_wrap.show {
        padding: 16px 12px 12px;
        align-items: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .yw-package-detail-booking .bc_single_book {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        overflow-x: hidden;
        border-radius: 14px !important;
    }

    .yw-package-detail-booking .tour-sale-box,
    .yw-package-detail-booking .yw-book-trust {
        display: none !important;
    }

    .yw-package-detail-booking .yw-book-sheet-head {
        min-height: 76px;
        padding: 14px 16px;
    }

    .yw-package-detail-booking .yw-book-sheet-head button {
        position: relative;
        z-index: 3;
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 1px solid rgba(255,255,255,.45);
        border-radius: 50%;
        color: #fff;
        background: rgba(255,255,255,.12);
    }

    .yw-package-detail-booking .yw-book-price-summary {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 !important;
        margin: 0 12px 10px;
    }

    .yw-package-detail-booking .yw-book-price-summary > div {
        min-height: 70px;
        margin: 0 !important;
        padding: 10px !important;
        border: 0 !important;
        border-right: 1px solid var(--yw-line) !important;
        border-bottom: 1px solid var(--yw-line) !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .yw-package-detail-booking .yw-book-price-summary > div:first-child {
        grid-column: 1 / -1;
        min-height: 62px;
        border-right: 0 !important;
    }

    .yw-package-detail-booking .yw-book-price-summary > div:last-child {
        border-right: 0 !important;
    }

    .yw-package-detail-booking .yw-book-step-rail {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        margin: 0 12px 10px;
        padding: 0;
    }

    .yw-package-detail-booking .yw-book-step-rail span {
        min-width: 0;
        min-height: 40px;
        padding: 6px 3px;
        justify-content: center;
        font-size: 10px;
        white-space: normal;
        text-align: center;
    }

    .yw-package-detail-booking .yw-book-helper {
        grid-template-columns: 24px minmax(0, 1fr) !important;
        margin: 0 12px 10px;
        padding: 10px;
        font-size: 11px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .yw-app-book-bar {
        left: 8px;
        right: 8px;
        bottom: calc(78px + env(safe-area-inset-bottom));
        min-height: 70px;
        display: grid;
        /* Track 3 holds an optional second CTA (> a). On a quote-only package that anchor is
           absent, and minmax(90px, auto) still reserved 90px for nothing - which forced the
           price track down to its 82px floor and clipped "38499" to "3..." behind
           overflow:hidden. Plain `auto` collapses to 0 when the track is empty and still
           sizes to the anchor when it is present (which keeps its own min-width: 82px). */
        grid-template-columns: minmax(0, 1fr) minmax(82px, auto) auto !important;
        grid-template-rows: 48px !important;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border: 1px solid var(--yw-line);
        border-radius: 12px;
        background: #fff;
        box-shadow: var(--yw-shadow);
    }

    .yw-app-book-bar p {
        display: none;
    }

    .yw-app-book-bar > div {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 0;
    }

    .yw-app-book-bar > button {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .yw-app-book-bar > a {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    .yw-app-book-bar button,
    .yw-app-book-bar a {
        width: auto !important;
        min-width: 82px !important;
        min-height: 44px;
        padding: 0 12px;
        border-radius: 8px;
        font-size: 11px;
        font-weight: 800;
    }

    .yw-app-book-bar a {
        color: #fff !important;
        background: var(--yw-orange) !important;
    }
}

@media (max-width: 359px) {
    body.yw-figma .yw-hero h1 {
        font-size: 28px;
    }

    body.yw-figma .yw-service-tabs {
        grid-template-columns: repeat(6, 64px);
    }

    .yw-package-card__includes span,
    .yw-tour-card__includes span {
        font-size: 7px;
    }

    .yw-app-price-strip {
        grid-template-columns: 1fr 1fr;
    }

    .yw-app-price-strip__balance {
        display: none;
    }
}

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

/* Production hardening: shared service pages must stay compact and app-like. */
.yw-global-offers,
.yw-global-offers *,
.yw-service-commerce-panel,
.yw-service-commerce-panel *,
.yw-service-offline-page,
.yw-service-offline-page *,
.yw-package-offer-strip,
.yw-package-offer-strip *,
.yw-detail-app-shell,
.yw-detail-app-shell * {
    box-sizing: border-box;
    min-width: 0;
}

.yw-service-commerce-panel__head h3,
.yw-service-commerce-panel__head p,
.yw-service-commerce-panel__grid strong,
.yw-service-commerce-panel__quick span,
.yw-service-commerce-panel__actions a,
.yw-service-commerce-panel__actions button,
.yw-global-offer strong,
.yw-global-offer em,
.yw-global-offer small,
.yw-package-offer strong,
.yw-package-offer em,
.yw-package-offer small {
    overflow-wrap: anywhere;
}

.yw-service-commerce-panel__actions a,
.yw-service-commerce-panel__actions button,
.yw-detail-action-grid a,
.yw-detail-action-grid button {
    text-align: center;
    white-space: normal;
}

.yw-service-offline-page .yw-app-price-strip {
    grid-template-columns: minmax(0, 1fr) repeat(3, minmax(96px, auto));
}

.yw-service-offline-page .yw-app-price-strip > a {
    min-width: 0;
}

@media (max-width: 767px) {
    .yw-service-offline-page {
        width: 100%;
        overflow-x: hidden;
        padding-inline: 10px;
    }

    .yw-service-offline-page .yw-app-hero-card {
        min-height: 360px;
        border-radius: 18px;
    }

    .yw-service-offline-page .yw-app-price-strip {
        margin-top: 10px;
        grid-template-columns: minmax(0, 1fr) minmax(78px, auto) minmax(96px, auto);
        gap: 8px;
    }

    .yw-service-offline-page .yw-app-price-strip > div {
        grid-column: 1 / -1;
    }

    .yw-service-offline-page .yw-app-price-strip > a {
        min-height: 44px;
        padding-inline: 10px;
        font-size: 11px;
    }

    .yw-service-commerce-panel {
        margin-inline: 0;
        padding: 14px;
        border-radius: 18px;
    }

    .yw-service-commerce-panel__head {
        margin-bottom: 12px;
    }

    .yw-service-commerce-panel__head h3 {
        margin-top: 10px;
        font-size: 21px;
        line-height: 1.16;
    }

    .yw-service-commerce-panel__head p {
        font-size: 13px;
        line-height: 1.45;
    }

    .yw-service-commerce-panel__grid {
        grid-auto-columns: minmax(244px, 82vw) !important;
        gap: 10px;
    }

    .yw-service-commerce-panel__grid article {
        min-height: 136px;
        padding: 13px;
        border-radius: 16px;
    }

    .yw-service-commerce-panel__grid i {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .yw-service-commerce-panel__grid span {
        margin-top: 10px;
        font-size: 10px;
    }

    .yw-service-commerce-panel__grid strong {
        font-size: 13px;
        line-height: 1.3;
    }

    .yw-service-commerce-panel__quick {
        margin-inline: -2px;
        padding-bottom: 2px;
    }

    .yw-service-commerce-panel__quick span {
        min-height: 38px;
        padding: 8px 11px;
        font-size: 11px;
    }

    .yw-service-commerce-panel__actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .yw-service-commerce-panel__actions a,
    .yw-service-commerce-panel__actions button {
        min-height: 44px;
        padding: 10px;
        border-radius: 12px;
        font-size: 11px;
        line-height: 1.2;
    }

    .yw-global-offers {
        overflow: hidden;
    }

    .yw-global-offers .container {
        width: min(calc(100% - 20px), 1200px);
    }

    .yw-global-offers__rail {
        grid-auto-columns: minmax(260px, 86vw) !important;
        gap: 10px !important;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
    }

    .yw-global-offer {
        min-height: 132px !important;
        padding: 14px !important;
        border-radius: 18px !important;
        scroll-snap-align: start;
    }

    .yw-global-offer span {
        max-width: 100%;
        font-size: 10px;
    }

    .yw-global-offer strong {
        max-width: 100% !important;
        font-size: 17px !important;
        line-height: 1.12;
    }

    .yw-global-offer em {
        max-width: 100% !important;
        font-size: 11px;
        line-height: 1.35;
    }

    .yw-global-offer small {
        min-height: 32px;
        max-width: 100%;
        padding: 0 11px;
        font-size: 10px;
    }

    .yw-package-offer-strip {
        grid-auto-columns: minmax(260px, 84vw) !important;
        gap: 10px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }

    .yw-package-offer {
        min-height: 124px !important;
        padding: 13px !important;
        border-radius: 16px !important;
    }

    .yw-package-offer span,
    .yw-package-offer strong,
    .yw-package-offer em,
    .yw-package-offer small {
        max-width: 100% !important;
    }

    .yw-package-offer strong {
        min-height: 0 !important;
        font-size: 16px !important;
        line-height: 1.12 !important;
    }

    .yw-package-offer em {
        margin-top: 6px !important;
        font-size: 11px !important;
    }

    .yw-package-offer small {
        margin-top: 10px !important;
        padding: 8px 10px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 390px) {
    .yw-service-commerce-panel__grid,
    .yw-global-offers__rail,
    .yw-package-offer-strip {
        grid-auto-columns: minmax(238px, 84vw) !important;
    }

    .yw-service-commerce-panel__actions {
        grid-template-columns: 1fr;
    }

    .yw-service-offline-page .yw-app-price-strip {
        grid-template-columns: minmax(0, 1fr) minmax(82px, auto);
    }
}

/* Final V1 overrides: keep offer banners and package cards readable after all legacy rules load. */
.yatriwala-design {
    overflow-x: clip;
}

.yatriwala-design .bc_wrap,
.yatriwala-design main,
.yatriwala-design .container {
    max-width: 100%;
}

.yw-global-offers {
    position: relative !important;
    z-index: 8 !important;
    margin: 0 !important;
    padding: 22px 0 !important;
    background:
        radial-gradient(circle at 12% 0, rgba(255, 105, 58, .18), transparent 30%),
        linear-gradient(135deg, rgba(7, 87, 165, .08), rgba(255, 255, 255, .94) 42%, rgba(0, 111, 98, .10)) !important;
    border-bottom: 1px solid rgba(7, 87, 165, .08);
}

.yw-global-offers .container {
    width: min(100% - 32px, 1280px) !important;
    padding-inline: 0 !important;
}

.yw-global-offers__rail {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(320px, 420px) !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 14px !important;
}

.yw-global-offer {
    min-height: 188px !important;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, .42) !important;
    border-radius: 28px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    padding: 22px !important;
    overflow: hidden !important;
    isolation: isolate;
    background-image:
        linear-gradient(120deg, rgba(3, 25, 35, .82), rgba(0, 111, 98, .46)),
        var(--offer-image) !important;
    background-size: cover !important;
    background-position: center !important;
    color: #fff !important;
    box-shadow: 0 22px 54px rgba(6, 31, 103, .16) !important;
    text-decoration: none !important;
}

.yw-global-offer span,
.yw-global-offer small {
    width: fit-content;
    max-width: 100%;
    border-radius: 999px !important;
    padding: 8px 12px !important;
    background: rgba(255, 255, 255, .92) !important;
    color: var(--yw-blue) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere;
}

.yw-global-offer strong {
    max-width: 92%;
    color: #fff !important;
    font-size: clamp(22px, 2.2vw, 31px) !important;
    line-height: 1.05 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere;
}

.yw-global-offer em {
    max-width: 92%;
    color: rgba(255, 255, 255, .88) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
}

.yw-global-offer small {
    margin-top: 4px;
    background: linear-gradient(135deg, var(--yw-coral), #ff8f5a) !important;
    color: #071313 !important;
}

.yw-tour-card,
.yw-package-card,
.yw-empty-package-card {
    overflow: hidden;
    overflow-wrap: anywhere;
}

.yw-tour-card h3,
.yw-tour-card .item-title,
.yw-tour-card .title-address,
.yw-package-card h3,
.yw-empty-package-card__body strong {
    overflow-wrap: anywhere;
    hyphens: auto;
}

.yw-tour-card__includes span,
.yw-package-includes span,
.yw-tour-card__value-strip span,
.yw-empty-package-card__body > div span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767px) {
    .yw-global-offers {
        padding: 14px 0 16px !important;
    }

    .yw-global-offers .container {
        width: 100% !important;
        padding-inline: 14px !important;
    }

    .yw-global-offers__controls {
        display: none !important;
    }

    .yw-global-offers__rail {
        grid-auto-columns: minmax(82vw, 88vw) !important;
        gap: 12px !important;
        margin-inline: -2px !important;
        padding-bottom: 10px !important;
    }

    .yw-global-offer {
        min-height: 166px !important;
        border-radius: 24px !important;
        padding: 18px !important;
    }

    .yw-global-offer strong {
        max-width: 100%;
        font-size: 23px !important;
    }

    .yw-global-offer em {
        max-width: 100%;
        font-size: 13px !important;
    }

    .yw-package-list-shell,
    .yw-service-list-shell,
    .search-result-page .bc-list-item {
        max-width: 100vw;
        overflow-x: clip;
    }
}

@media (max-width: 430px) {
    .yw-global-offers__rail {
        grid-auto-columns: minmax(86vw, 90vw) !important;
    }

    .yw-tour-card__includes,
    .yw-package-includes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .yw-tour-card__includes span,
    .yw-package-includes span {
        padding-inline: 6px;
        font-size: 10px;
    }
}

.yw-error-page {
    min-height: calc(100vh - 90px);
    background:
        radial-gradient(circle at top left, rgba(245, 130, 32, .18), transparent 34%),
        linear-gradient(135deg, rgba(0, 43, 88, .08), rgba(255, 255, 255, .96) 42%, rgba(0, 117, 104, .12)) !important;
    padding: clamp(28px, 6vw, 86px) 18px !important;
    display: flex;
    align-items: center;
}

.yw-error-shell {
    width: min(100%, 960px);
    margin: 0 auto;
}

.yw-error-card {
    width: min(100%, 620px);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(0, 43, 88, .12);
    border-radius: 28px;
    box-shadow: 0 28px 90px rgba(0, 43, 88, .16);
    padding: clamp(24px, 5vw, 44px);
}

.yw-error-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 28px;
}

.yw-error-brand span {
    width: 52px;
    height: 52px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--yw-blue), var(--yw-orange));
    color: #fff;
    font-weight: 900;
    font-size: 24px;
    box-shadow: 0 16px 36px rgba(0, 43, 88, .2);
}

.yw-error-brand strong,
.yw-error-brand small {
    display: block;
    color: var(--yw-ink);
}

.yw-error-brand small {
    color: var(--yw-muted);
    font-weight: 700;
}

.yw-error-code {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(245, 130, 32, .14);
    color: var(--yw-orange);
    font-weight: 900;
    margin-bottom: 18px;
}

.yw-error-card h1 {
    margin: 0 0 12px;
    color: var(--yw-ink);
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.04;
    letter-spacing: 0;
}

.yw-error-card p {
    margin: 0;
    color: var(--yw-muted);
    font-size: 17px;
    line-height: 1.7;
    max-width: 54ch;
}

.yw-error-actions,
.yw-error-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.yw-error-actions a,
.yw-error-links a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 18px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid rgba(0, 43, 88, .14);
    color: var(--yw-ink);
    background: #fff;
}

.yw-error-actions .yw-error-primary {
    background: var(--yw-orange);
    color: #fff;
    border-color: var(--yw-orange);
    box-shadow: 0 18px 32px rgba(245, 130, 32, .28);
}

.yw-error-links {
    padding-top: 8px;
    margin-top: 18px;
}

.yw-error-links a {
    min-height: 40px;
    padding: 0 14px;
    background: rgba(0, 117, 104, .08);
    color: var(--yw-green);
}

@media (max-width: 575px) {
    .yw-error-page {
        align-items: flex-start;
        padding: 20px 12px 96px !important;
    }

    .yw-error-card {
        border-radius: 24px;
        padding: 22px;
    }

    .yw-error-card h1 {
        font-size: 30px;
    }

    .yw-error-actions a {
        width: 100%;
    }
}

.yw-token-confirmation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px)) 1fr;
    gap: 14px;
    align-items: center;
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid rgba(7, 87, 165, .12);
    border-radius: 22px;
    background: linear-gradient(135deg, #fff 0%, #f2faf7 62%, #fff3e9 100%);
    box-shadow: 0 18px 45px rgba(7, 87, 165, .09);
}

.yw-token-confirmation div {
    min-width: 0;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(7, 87, 165, .08);
}

.yw-token-confirmation span {
    display: block;
    color: var(--yw-muted);
    font-size: 12px;
    font-weight: 800;
}

.yw-token-confirmation strong {
    display: block;
    margin-top: 4px;
    color: var(--yw-primary);
    font-size: 24px;
    line-height: 1.1;
}

.yw-token-confirmation p {
    margin: 0;
    color: #52645f;
    font-weight: 700;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .yw-token-confirmation {
        grid-template-columns: 1fr;
        border-radius: 18px;
        padding: 14px;
    }

    .yw-token-confirmation strong {
        font-size: 22px;
    }
}

/* Yatriwala V1 package marketplace polish. */
:root {
    --yw-v1-blue: var(--yw-primary);
    --yw-v1-blue-dark: var(--yw-primary-dark);
    --yw-v1-orange: var(--yw-accent);
    --yw-v1-green: #006f62;
    --yw-v1-paper: #f5f8fb;
}

.yw-package-search-page {
    background:
        radial-gradient(circle at 8% 2%, rgba(245, 130, 32, .08), transparent 22%),
        radial-gradient(circle at 92% 7%, rgba(7, 87, 165, .08), transparent 26%),
        var(--yw-v1-paper);
}

.yw-package-search-page .bc_banner {
    border-radius: 0 0 34px 34px;
    overflow: hidden;
}

.yw-package-search-hero {
    max-width: 860px;
}

.yw-package-search-hero h1 {
    text-wrap: balance;
}

.yw-package-hero-chips em {
    min-width: 0;
    white-space: normal;
}

.yw-package-search-page .bc_form_search {
    margin-top: -44px;
    position: relative;
    z-index: 4;
}

.yw-package-search-page .bc_form_search .g-form-control,
.yw-package-search-page .search-form-wrapper {
    border-radius: 26px !important;
    border-color: rgba(7, 87, 165, .12) !important;
    box-shadow: 0 22px 60px rgba(6, 39, 101, .12) !important;
}

.yw-package-list-shell,
.yw-package-search-page .bc-list-item {
    padding-top: 34px;
}

.yw-package-list-shell .list-item > .row,
.yw-package-search-page .bc-list-item .list-item > .row {
    align-items: stretch;
    row-gap: 26px;
}

.yw-tour-card.yw-tour-card--commerce {
    height: 100%;
    border-radius: 28px;
    border: 1px solid rgba(7, 87, 165, .12);
    background: #fff;
    box-shadow: 0 20px 54px rgba(6, 39, 101, .12);
}

.yw-tour-card__app-head {
    background:
        linear-gradient(135deg, rgba(7, 87, 165, .08), rgba(245, 130, 32, .08)),
        #fff;
}

.yw-tour-card__app-head span {
    color: var(--yw-v1-blue-dark);
}

.yw-tour-card__app-head small {
    color: var(--yw-v1-green);
}

.yw-tour-card__media img {
    aspect-ratio: 1.44;
}

.yw-tour-card__included-badge {
    color: var(--yw-v1-blue-dark) !important;
    background: #fff !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .13);
}

.yw-tour-card__duration {
    background: linear-gradient(135deg, #6258ff, #7b61ff) !important;
}

.yw-tour-card__sale-ribbon {
    background: #e6003c !important;
}

.yw-tour-card__body {
    gap: 12px;
}

.yw-tour-card--commerce h3 {
    font-size: clamp(19px, 1.5vw, 22px);
    line-height: 1.2;
}

.yw-tour-card__includes {
    gap: 8px;
}

.yw-tour-card__includes span {
    border: 1px solid rgba(7, 87, 165, .1);
    border-radius: 14px;
    background: #f8fbff;
    color: var(--yw-v1-blue-dark);
}

.yw-tour-card__includes span.is-active {
    border-color: rgba(0, 111, 98, .18);
    background: rgba(0, 111, 98, .08);
    color: var(--yw-v1-green);
}

.yw-tour-card__pricing {
    border-top: 1px solid rgba(7, 87, 165, .1);
}

.yw-tour-card__pricing strong {
    color: var(--yw-v1-blue-dark);
}

.yw-tour-card__token strong {
    color: var(--yw-v1-orange);
}

.yw-tour-card__details,
.yw-tour-card__actions a:last-child {
    background: linear-gradient(135deg, var(--yw-v1-blue), var(--yw-v1-green)) !important;
    color: #fff !important;
}

.yw-tour-card__actions a:first-child {
    color: var(--yw-v1-green) !important;
    background: rgba(0, 111, 98, .1) !important;
}

.yw-mobile-list-tools {
    display: none;
}

.yw-package-promise-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.yw-package-promise-strip span {
    min-width: 0;
    min-height: 44px;
    border: 1px solid rgba(7, 87, 165, .1);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    color: var(--yw-v1-blue-dark);
    background: #fff;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 10px 24px rgba(6, 39, 101, .06);
}

.yw-package-promise-strip i {
    color: var(--yw-v1-orange);
}

.yw-tour-card.yw-tour-card--commerce .yw-tour-card__quick-actions {
    position: absolute;
    z-index: 4;
    right: 12px;
    bottom: 58px;
    display: grid;
    gap: 8px;
}

.yw-tour-card.yw-tour-card--commerce .yw-tour-card__quick-actions button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--yw-v1-blue-dark);
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

.yw-tour-card.yw-tour-card--commerce .yw-tour-card__quick-actions button.is-active {
    color: #fff;
    background: var(--yw-v1-orange);
}

.yw-compare-tray {
    position: fixed;
    right: 18px;
    bottom: 98px;
    z-index: 1250;
    width: min(360px, calc(100vw - 28px));
    border: 1px solid rgba(7, 87, 165, .14);
    border-radius: 24px;
    padding: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 70px rgba(6, 39, 101, .2);
    backdrop-filter: blur(16px);
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.yw-compare-tray.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.yw-compare-tray__head,
.yw-compare-tray__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yw-compare-tray__head {
    justify-content: space-between;
    margin-bottom: 10px;
}

.yw-compare-tray__head span,
.yw-compare-tray__head strong {
    color: var(--yw-v1-blue-dark);
    font-weight: 950;
}

.yw-compare-tray__head button,
.yw-compare-tray__remove {
    min-width: 38px;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    color: var(--yw-v1-orange);
    background: rgba(245, 130, 32, .1);
    font-weight: 900;
}

.yw-compare-tray__items {
    display: grid;
    gap: 8px;
}

.yw-compare-tray__row {
    justify-content: space-between;
}

.yw-compare-tray__item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--yw-v1-blue-dark);
}

.yw-compare-tray__item span {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--yw-v1-green);
    font-weight: 950;
}

.yw-compare-tray__item strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.yw-action-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 1400;
    transform: translate(-50%, 20px);
    opacity: 0;
    border-radius: 999px;
    padding: 12px 18px;
    color: #fff;
    background: var(--yw-v1-blue-dark);
    box-shadow: 0 18px 40px rgba(6, 39, 101, .26);
    font-weight: 900;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.yw-action-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 767px) {
    .yw-package-search-page .bc_banner {
        border-radius: 0 0 28px 28px;
    }

    .yw-package-search-page .bc_form_search {
        margin-top: -28px;
    }

    .yw-package-search-page .bc_form_search .g-form-control,
    .yw-package-search-page .search-form-wrapper {
        border-radius: 24px !important;
    }

    .yw-package-list-shell,
    .yw-package-search-page .bc-list-item {
        padding-top: 22px;
    }

    .yw-mobile-list-tools {
        position: sticky;
        top: 72px;
        z-index: 40;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin: 0 0 12px;
        padding: 8px;
        border: 1px solid rgba(7, 87, 165, .1);
        border-radius: 22px;
        background: rgba(255,255,255,.94);
        box-shadow: 0 14px 34px rgba(6, 39, 101, .09);
        backdrop-filter: blur(14px);
    }

    .yw-mobile-list-tools button,
    .yw-mobile-list-tools a {
        min-width: 0;
        min-height: 44px;
        border: 0;
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        color: var(--yw-v1-blue-dark);
        background: #f4f8fb;
        font-size: 12px;
        font-weight: 950;
    }

    .yw-mobile-list-tools button {
        color: #fff;
        background: linear-gradient(135deg, var(--yw-v1-blue), var(--yw-v1-green));
    }

    .yw-package-promise-strip {
        display: flex;
        overflow-x: auto;
        margin: 12px -10px 12px;
        padding: 0 10px 4px;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .yw-package-promise-strip::-webkit-scrollbar {
        display: none;
    }

    .yw-package-promise-strip span {
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
    }

    .yw-tour-card.yw-tour-card--commerce {
        border-radius: 26px;
    }

    .yw-tour-card__media img {
        aspect-ratio: 1.16;
    }

    .yw-tour-card__includes {
        display: grid;
        grid-template-columns: repeat(5, minmax(66px, 1fr));
        overflow-x: auto;
        scrollbar-width: none;
    }

    .yw-tour-card__includes::-webkit-scrollbar {
        display: none;
    }

    .yw-tour-card__pricing {
        grid-template-columns: 1fr;
    }

    .yw-tour-card__actions {
        position: sticky;
        bottom: 88px;
        z-index: 5;
        margin: 4px -4px -4px;
        border-radius: 22px;
        padding: 6px;
        background: rgba(255,255,255,.94);
        box-shadow: 0 16px 36px rgba(6, 39, 101, .12);
        backdrop-filter: blur(12px);
    }

    .yw-tour-card.yw-tour-card--commerce .yw-tour-card__quick-actions {
        right: 12px;
        bottom: 12px;
        grid-template-columns: repeat(2, 42px);
    }

    .yw-compare-tray {
        right: 10px;
        bottom: 104px;
        border-radius: 22px;
    }

    .yw-action-toast {
        bottom: 104px;
        max-width: calc(100vw - 28px);
        text-align: center;
    }
}

/* B2B Partner landing page (/b2b-partner) — reuses site-wide .yw-hero/.yw-btn/.yw-section-head/
   .yw-contact-form primitives already defined above; these are only the classes unique to it. */
.yw-partner-hero {
    background: linear-gradient(135deg, var(--yw-navy), var(--yw-navy-strong));
    padding: 56px 0;
}

.yw-partner-hero__inner h1 {
    margin: 10px 0 14px;
    max-width: 720px;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 950;
    line-height: 1.1;
}

.yw-partner-hero__inner p {
    max-width: 640px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    line-height: 1.6;
}

.yw-partner-hero .yw-hero__eyebrow {
    color: var(--yw-orange);
}

.yw-partner-who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.yw-partner-who-grid span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--yw-line);
    border-radius: 14px;
    background: #fff;
    color: var(--yw-ink);
    font-size: 14px;
    font-weight: 750;
}

.yw-partner-who-grid i {
    color: var(--yw-navy);
}

.yw-partner-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.yw-partner-benefit-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    border: 1px solid var(--yw-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(6, 31, 103, .06);
}

.yw-partner-benefit-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--yw-soft, #eaf1ff);
    color: var(--yw-navy);
    font-size: 18px;
}

.yw-partner-benefit-card strong {
    color: var(--yw-ink);
    font-size: 14px;
    font-weight: 800;
}

.yw-partner-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.yw-partner-steps article {
    padding: 18px;
    border: 1px solid var(--yw-line);
    border-radius: 16px;
    background: #fff;
}

.yw-partner-steps b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--yw-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.yw-partner-steps strong {
    display: block;
    margin-bottom: 4px;
    color: var(--yw-ink);
    font-size: 14px;
    font-weight: 850;
}

.yw-partner-steps span {
    color: var(--yw-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.yw-partner-terms-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 650;
}

.yw-partner-form-message {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
}

.yw-partner-form-message[data-type="success"] {
    background: rgba(16, 148, 91, .1);
    color: #0d7d4d;
}

.yw-partner-form-message[data-type="error"] {
    background: rgba(214, 60, 60, .1);
    color: #b3271e;
}

.yw-partner-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    padding: 20px 0 48px;
}

.yw-partner-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yw-muted);
    font-size: 13px;
    font-weight: 700;
}

.yw-partner-trust-strip i {
    color: var(--yw-navy);
}

/* Below ~480px the 2-column search-form fallback (set at 767px) still feels cramped —
   stack every field full-width instead, matching the mobile spec (tabs scroll, fields stack,
   search button full-width) distinctly from the tablet 2x2 grid. */
@media (max-width: 480px) {
    body.yw-figma .yw-search-form {
        grid-template-columns: 1fr;
    }

    body.yw-figma .yw-search-form > label {
        grid-column: 1 / -1;
    }

    body.yw-figma .yw-search-dropdown {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100vw - 56px);
        max-width: 320px;
    }
}

/* ------------------------------------------------------------------
   Refund promise in the booking panel.

   Sits directly under the token figure. Uses a green trust tint rather
   than the orange of .yw-book-helper: that one instructs, this one
   reassures, and they must not read as the same kind of message.
   ------------------------------------------------------------------ */
.yw-book-refund {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    margin: 12px 20px 0;
    border: 1px solid rgba(18, 160, 140, .22);
    border-radius: 18px;
    padding: 11px 12px;
    background: rgba(18, 160, 140, .09);
    color: var(--yw-muted, #5c6f6b);
    font-size: 12px;
    line-height: 1.5;
}

.yw-book-refund > i {
    justify-self: center;
    margin-top: 1px;
    font-size: 15px;
    color: #0d8f7a;
}

.yw-book-refund strong {
    display: block;
    color: #0a6d5e;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 1px;
}

/* ------------------------------------------------------------------
   B2B partner page — simplified layout.
   Four benefits and three steps now fill their auto-fit grids evenly,
   so no orphan tile is left on its own row.
   ------------------------------------------------------------------ */
.yw-partner-benefit-card small {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--yw-muted, #5c6f6b);
}

/* The password spans the full width of the two-column form grid. With five
   inputs, pairing it would leave a lone half-width box on the last row. */
.yw-partner-field--wide {
    grid-column: 1 / -1;
}

.yw-partner-field--wide small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--yw-muted, #5c6f6b);
}

/* ------------------------------------------------------------------
   B2B registration card.
   The heading now sits inside the card so the whole thing reads as one
   object instead of a titled slab of inputs.
   ------------------------------------------------------------------ */
.yw-partner-card__head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(15, 32, 45, .08);
}

.yw-partner-card__head h2 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.25;
}

.yw-partner-card__head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--yw-muted, #5c6f6b);
}

/* Checkbox and its (now linked) label sit on a shared baseline; without this the
   wrapped text indents under the box on narrow screens. */
.yw-partner-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-weight: 400;
    font-size: 13.5px;
    line-height: 1.55;
    cursor: pointer;
}

.yw-partner-terms-check input[type="checkbox"] {
    margin: 3px 0 0;
    flex-shrink: 0;
}

.yw-partner-terms-check a {
    text-decoration: underline;
}

/* ==========================================================================
   B2B PARTNER PAGE — DENSITY

   The page inherits .yw-section's 54px top AND bottom padding, so every
   section boundary was 108px of empty band, plus a 56px hero. With only four
   short sections the result read as sparse and bulky rather than airy.

   All scoped to .yw-partner-page: .yw-section is used site-wide and must not
   move on other pages.
   ========================================================================== */
.yw-partner-page .yw-section {
    padding: 34px 0;
}

.yw-partner-page .yw-partner-hero {
    padding: 44px 0;
}

.yw-partner-page .yw-section-head {
    margin-bottom: 16px;
}

/* Cards were 20px padding around two short lines of text, which made a 4-card
   row much taller than the content needed. */
.yw-partner-page .yw-partner-benefit-card {
    padding: 16px;
    gap: 8px;
}

.yw-partner-page .yw-partner-benefit-card strong {
    font-size: 14.5px;
    line-height: 1.35;
}

.yw-partner-page .yw-partner-benefit-card small {
    margin-top: 4px;
    font-size: 12px;
}

.yw-partner-page .yw-partner-steps article {
    padding: 16px;
}

/* The registration card carried the section's padding as well as its own. */
.yw-partner-page .yw-partner-register-form {
    padding: 26px 28px 24px;
}

.yw-partner-page .yw-partner-card__head {
    margin-bottom: 18px;
    padding-bottom: 14px;
}

@media (max-width: 640px) {
    .yw-partner-page .yw-section { padding: 26px 0; }
    .yw-partner-page .yw-partner-hero { padding: 32px 0; }
    .yw-partner-page .yw-partner-register-form { padding: 20px 18px 18px; }
}

/* --------------------------------------------------- destination filter chips
   Reuses the budget-chip shape so the two filter rows read as one control, with a
   count badge because "Kashmir 13" tells a buyer more than "Kashmir". */
.yw-filter-dest .yw-filter-quick-row {
    flex-wrap: wrap;
}

.yw-filter-dest a.yw-filter-budget-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.yw-filter-dest__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(16, 49, 79, .08);
    color: #10314f;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.yw-filter-dest a.yw-filter-budget-chip.is-active .yw-filter-dest__count {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

/* ------------------------------------------------- listing: products before instructions
   Measured at 390px: the first package price sat 1080px down - more than a screen of
   filters, promise chips and a three-step "how to use this page" explainer before a
   single product appeared. Someone who opened a package list wants packages.

   The workflow explainer is desktop-only now: on a phone it teaches instead of showing,
   and the same guidance is on the package page where it is actually needed. */
@media (max-width: 767px) {
    .yw-package-workflow-row {
        display: none;
    }

    /* The promise strip stays - it is four short trust claims, not instructions - but it
       scrolls rather than wrapping into a second stacked row. */
    .yw-package-promise-strip {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .yw-package-promise-strip::-webkit-scrollbar {
        display: none;
    }

    .yw-package-promise-strip > span {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

/* ------------------------------------------------- service cards: wrap, don't truncate
   Measured on /visa at 375px: the card sits in the same 2-up grid as a tour card (147px),
   but .yw-tour-card__activity is a flex ROW holding a 34px icon plus a title and a country
   name, both white-space:nowrap. That leaves ~71px for two strings that need 80px and
   118px, so "United Arab Emirates" truncated to a fragment. Seven elements clipped this
   way on that one screen - the worst clipping anywhere on the site.

   A country name is content, not chrome: it may wrap, but it may not be cut. Let the row
   wrap so the title sits beside the icon and the country takes the line below. */
@media (max-width: 767px) {
    .yw-tour-card__activity {
        flex-wrap: wrap;
        row-gap: 2px;
    }

    .yw-tour-card__activity strong {
        flex: 1 1 auto;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    .yw-tour-card__activity small {
        flex: 1 1 100%;
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }
}
