.imv-package-showcase,
.imv-package-showcase * {
    box-sizing: border-box;
}

.imv-package-showcase {
    --imv-primary: #006e62;
    --imv-body: #5f5f5f;
    width: 100%;
    background: #000;
    padding: 86px 30px;
    overflow: hidden;
}

.imv-package-showcase__inner {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.imv-package-showcase__left {
    flex: 0 1 57%;
    min-width: 0;
}

.imv-package-showcase__right {
    flex: 1 1 43%;
    min-width: 0;
    padding: 4px 0 0;
}

/* ======================== LEFT CARD ======================== */
.imv-package-card {
    --imv-card-bg: #ffffff;
    --imv-backdrop-gray: #d8dada;
    --imv-backdrop-soft: #f2f2f2;
    --imv-large-curve-light: #10BE9D;
    --imv-large-curve-mid: #0A8C79;
    --imv-large-curve-dark: #004746;
    --imv-small-curve-light: #BDF2E8;
    --imv-small-curve-mid: #56C9B6;
    --imv-small-curve-dark: #0A8C79;
    --imv-curve-line: #0A8C79;
    --imv-curve-line-width: 0px;
    --imv-card-radius: 18px;

    position: relative;
    width: 100%;
    min-height: 610px;
    margin-top: 44px;
    border-radius: var(--imv-card-radius);
    background: transparent;
    overflow: visible;
    isolation: isolate;
}

/* Kept only for backward-compatible markup; both visible curves are SVG gradients. */
.imv-package-card__gradient-base {
    display: none;
}

/* Pure vector/CSS-style artwork. No background image is used. */
.imv-package-card__art {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    border-radius: var(--imv-card-radius);
    overflow: hidden;
    clip-path: inset(0 round var(--imv-card-radius));
    -webkit-clip-path: inset(0 round var(--imv-card-radius));
}

.imv-package-card__art .imv-bg-gray {
    fill: var(--imv-backdrop-gray);
}

.imv-package-card__art .imv-bg-soft {
    fill: var(--imv-backdrop-soft);
}

.imv-package-card__art .imv-bg-large-curve,
.imv-package-card__art .imv-bg-small-curve {
    opacity: 1;
    stroke: none;
}

.imv-package-card__art .imv-large-curve-stop-light {
    stop-color: var(--imv-large-curve-light);
}

.imv-package-card__art .imv-large-curve-stop-mid {
    stop-color: var(--imv-large-curve-mid);
}

.imv-package-card__art .imv-large-curve-stop-dark {
    stop-color: var(--imv-large-curve-dark);
}

.imv-package-card__art .imv-small-curve-stop-light {
    stop-color: var(--imv-small-curve-light);
}

.imv-package-card__art .imv-small-curve-stop-mid {
    stop-color: var(--imv-small-curve-mid);
}

.imv-package-card__art .imv-small-curve-stop-dark {
    stop-color: var(--imv-small-curve-dark);
}

.imv-package-card__art .imv-bg-surface {
    fill: var(--imv-card-bg);
}

.imv-package-card__art .imv-bg-curve-line {
    fill: none;
    stroke: var(--imv-curve-line);
    stroke-width: var(--imv-curve-line-width);
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}


.imv-package-card::before,
.imv-package-card::after {
    content: none !important;
    display: none !important;
}

.imv-package-slides {
    position: relative;
    z-index: 2;
    min-height: 610px;
}

.imv-package-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
    pointer-events: none;
}

.imv-package-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.imv-package-visual {
    min-width: 0;
    padding: 0 14px 22px 18px;
}

.imv-package-image {
    display: block;
    width: 100%;
    height: 535px;
    margin-top: -50px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    background: #ececec;
}

.imv-package-image--placeholder {
    background:
        linear-gradient(135deg, rgba(0,110,98,.09), rgba(13,182,158,.14)),
        #f1f1f1;
}

.imv-best-for {
    margin: 18px 6px 0;
    max-width: 95%;
}

.imv-best-for__label,
.imv-package-label {
    color: var(--imv-primary);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}

.imv-best-for__value {
    margin-top: 10px;
    color: var(--imv-body);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.48;
    font-weight: 400;
}

.imv-package-info {
    min-width: 0;
    padding: 48px 18px 128px 0;
}

.imv-package-title {
    margin: 0 0 28px;
    color: #4b4b4b;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.12;
    font-weight: 500;
}

.imv-package-duration {
    margin-bottom: 28px;
}

.imv-duration-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 13px;
}

.imv-duration-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #004f50;
    font-family: inherit;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
}

.imv-duration-icon {
    width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--imv-primary);
}

.imv-duration-icon svg,
.imv-nav-button svg {
    display: block;
    width: 100%;
    height: 100%;
}

.imv-package-route {
    position: relative;
    min-height: 152px;
    padding: 24px 17px 22px;
    border: 1px solid var(--imv-primary);
    border-radius: 12px;
    background: #eaf9f6;
    overflow: hidden;
}

.imv-package-route__watermark {
    position: absolute;
    right: -2px;
    bottom: -14px;
    width: 62%;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    color: var(--imv-primary);
    opacity: .08;
    transform: translateX(7.5%);
    transform-origin: center;
    pointer-events: none;
}

.imv-package-route__watermark svg {
    width: 100%;
    height: 100%;
}

.imv-package-route__value {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    color: #065a57;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.48;
    font-weight: 400;
}

.imv-explore-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    margin-top: 20px;
    padding: 10px 18px;
    border-radius: 4px;
    background: var(--imv-primary);
    color: #fff;
    text-decoration: none !important;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    transition: transform .25s ease, filter .25s ease;
}

.imv-explore-button:hover,
.imv-explore-button:focus {
    color: #fff;
    transform: translateY(-1px);
    filter: brightness(.94);
}

.imv-package-nav {
    position: absolute;
    z-index: 5;
    left: 58%;
    bottom: 132px;
    display: flex;
    gap: 10px;
    transform: translateX(1px);
}

.imv-nav-button {
    appearance: none;
    width: 38px;
    height: 38px;
    padding: 11px;
    border: 0;
    border-radius: 50%;
    background: #005d57;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, opacity .2s ease, filter .2s ease;
}

.imv-nav-button:hover,
.imv-nav-button:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.imv-nav-button[disabled] {
    opacity: .45;
    cursor: default;
    transform: none;
}

/* ======================== RIGHT CONTENT ======================== */
.imv-showcase-eyebrow {
    margin: 0 0 28px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.imv-showcase-heading {
    max-width: 610px;
    margin: 0 0 25px;
    color: #005d57;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.13;
    font-weight: 500;
}

.imv-showcase-description {
    max-width: 650px;
    margin: 0 0 56px;
    color: #575757;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.56;
    font-weight: 500;
}

.imv-category-grid {
    display: flex;
    flex-direction: column;
    row-gap: 14px;
    width: 100%;
    max-width: 670px;
    min-width: 0;
}

.imv-category-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    column-gap: 12px;
}

.imv-category-button {
    appearance: none;
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 58px;
    height: auto;
    padding: 10px 18px;
    border: 1px solid var(--imv-primary);
    border-radius: 8px;
    background: #fff;
    color: #004b4e;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    cursor: pointer;
    transition: background-color .25s ease, background-image .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}

.imv-category-row .imv-category-button:first-child:last-child {
    flex: 1 1 100%;
}

.imv-category-button.is-active {
    background: #18b79e;
    border-color: #18b79e;
    color: #fff;
}

.imv-category-button:hover,
.imv-category-button:focus-visible {
    transform: translateY(-1px);
}

.imv-package-message {
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font: 14px/1.5 Arial, sans-serif;
}

/* ======================== TABLET ======================== */
@media (max-width: 1180px) {
    .imv-package-showcase__inner {
        align-items: stretch;
        gap: 36px;
    }

    .imv-package-showcase__left {
        flex-basis: 58%;
    }

    .imv-package-showcase__right {
        flex-basis: 42%;
    }

    .imv-package-card {
        min-height: 580px;
        border-radius: 16px;
    }

    .imv-package-slides {
        min-height: 580px;
    }

    .imv-package-image {
        height: 490px;
    }

    .imv-package-info {
        padding-top: 40px;
    }

    .imv-package-nav {
        bottom: 124px;
    }
}

@media (max-width: 1024px) {
    .imv-package-showcase__inner {
        flex-direction: column;
        gap: 56px;
    }

    .imv-package-showcase__left,
    .imv-package-showcase__right {
        width: 100%;
        flex-basis: auto;
    }

    .imv-package-card {
        max-width: 860px;
        margin-left: auto;
        margin-right: auto;
    }

    .imv-package-showcase__right {
        max-width: 860px;
        margin: 0 auto;
    }

    .imv-showcase-heading,
    .imv-showcase-description,
    .imv-category-grid {
        max-width: none;
    }
}

/* ======================== MOBILE ======================== */
@media (max-width: 767px) {
    .imv-package-showcase {
        padding: 50px 16px;
    }

    .imv-package-showcase__inner {
        gap: 42px;
    }

    .imv-package-card {
        min-height: 0;
        margin-top: 0;
        overflow: hidden;
        border-radius: 16px;
    }

    .imv-package-slides {
        min-height: 0;
    }

    .imv-package-slide {
        position: relative;
        inset: auto;
        display: none;
        grid-template-columns: 1fr;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .imv-package-slide.is-active {
        display: grid;
    }

    .imv-package-visual {
        padding: 14px 14px 0;
    }

    .imv-package-image {
        width: 100%;
        height: 390px;
        margin-top: 0;
    }

    .imv-best-for {
        margin: 15px 4px 0;
        max-width: 100%;
    }

    .imv-package-info {
        padding: 28px 18px 26px;
    }

    .imv-package-title {
        margin-bottom: 24px;
        font-size: 17px;
    }

    .imv-package-route {
        min-height: 135px;
    }

    .imv-package-nav {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        z-index: 5;
        padding: 0 18px 28px;
    }

    .imv-showcase-eyebrow {
        margin-bottom: 20px;
    }

    .imv-showcase-heading {
        margin-bottom: 20px;
        font-size: 36px;
    }

    .imv-showcase-description {
        margin-bottom: 36px;
    }

    .imv-category-grid {
        row-gap: 12px;
    }

    .imv-category-row {
        flex-direction: column;
        row-gap: 12px;
        column-gap: 0;
    }

    .imv-category-button {
        width: 100%;
        min-height: 54px;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .imv-package-image {
        height: 330px;
    }

    .imv-duration-row {
        gap: 12px;
    }

    .imv-showcase-heading {
        font-size: 32px;
    }
}




/* v8: card artwork follows the Elementor card radius while the package image can still overlap above. */
.imv-package-card > .imv-package-card__gradient-base,
.imv-package-card > .imv-package-card__art {
    border-radius: var(--imv-card-radius) !important;
    clip-path: inset(0 round var(--imv-card-radius));
    -webkit-clip-path: inset(0 round var(--imv-card-radius));
}

/* =========================================================
   V14 RESPONSIVE CATEGORY LABEL FIT
   Keeps two-button rows single-line without text spilling out.
   JS assigns content-proportional widths; these rules provide
   safe clipping boundaries while preserving the masonry edges.
========================================================= */
@media (min-width: 768px) {
    .imv-category-row {
        min-width: 0;
        overflow: visible;
    }

    .imv-category-button {
        box-sizing: border-box;
        min-width: 0 !important;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: clip;
    }
}

/* =========================================================
   V16 FRONTEND THEME OVERRIDE PROTECTION
   Some WordPress themes apply global button border, radius,
   outline and box-shadow styles only on the live frontend.
   These scoped resets keep the navigation arrows circular.
========================================================= */
body .elementor-widget-imv-package-showcase .imv-package-showcase button.imv-nav-button,
body .elementor-widget-imv-package-showcase .imv-package-showcase button.imv-nav-button:hover,
body .elementor-widget-imv-package-showcase .imv-package-showcase button.imv-nav-button:focus,
body .elementor-widget-imv-package-showcase .imv-package-showcase button.imv-nav-button:focus-visible,
body .elementor-widget-imv-package-showcase .imv-package-showcase button.imv-nav-button:active,
body .elementor-widget-imv-package-showcase .imv-package-showcase button.imv-nav-button:visited {
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 11px !important;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 999px !important;
    outline: 0 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    background-image: none !important;
    line-height: 1 !important;
    overflow: hidden !important;
}

body .elementor-widget-imv-package-showcase .imv-package-showcase button.imv-nav-button::before,
body .elementor-widget-imv-package-showcase .imv-package-showcase button.imv-nav-button::after {
    content: none !important;
    display: none !important;
}

body .elementor-widget-imv-package-showcase .imv-package-showcase button.imv-nav-button svg {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

