
/* ============================================================
   VUNJABEI MARKET
   MOCKUP-MATCHED HERO + OUTLET SELECTOR
   ============================================================ */

.vj-mockup-hero {
    position: relative;
    min-height: 545px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(
            90deg,
            #003f32 0%,
            #005743 44%,
            #00664d 67%,
            #075a48 100%
        );
}

.vj-hero-pattern {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 0;
    bottom: 0;
    width: 42px;
    opacity: .42;
    background:
        linear-gradient(135deg, transparent 25%, rgba(255,255,255,.10) 25% 40%, transparent 40% 60%, rgba(255,255,255,.08) 60% 75%, transparent 75%),
        linear-gradient(45deg, transparent 25%, rgba(255,255,255,.08) 25% 40%, transparent 40% 60%, rgba(255,255,255,.10) 60% 75%, transparent 75%);
    background-size: 30px 30px;
}

.vj-hero-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 59%;
    height: 100%;
    overflow: hidden;
}

.vj-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.vj-hero-overlay {
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #004333 0%,
            rgba(0,67,51,.98) 31%,
            rgba(0,67,51,.82) 47%,
            rgba(0,67,51,.20) 67%,
            rgba(0,67,51,.04) 100%
        );
}

.vj-hero-content {
    position: relative;
    z-index: 5;
    width: min(1440px, calc(100% - 84px));
    min-height: 545px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.vj-hero-copy {
    width: 60%;
    padding: 58px 0 72px;
}

.vj-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
}

.vj-hero-copy h1 {
    margin: 24px 0 18px;
    color: #fff;
    font-size: clamp(52px, 5.1vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 850;
}

.vj-hero-copy h1 span {
    color: #43e49b;
}

.vj-hero-description {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 18px;
    line-height: 1.55;
}

.vj-hero-benefits {
    display: flex;
    align-items: center;
    gap: 42px;
    margin-top: 30px;
}

.vj-hero-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vj-benefit-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(46, 226, 143, .20);
    border: 1px solid rgba(255,255,255,.10);
}

.vj-benefit-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vj-hero-benefit strong,
.vj-hero-benefit small {
    display: block;
}

.vj-hero-benefit strong {
    font-size: 14px;
    line-height: 1.3;
}

.vj-hero-benefit small {
    margin-top: 3px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
}

.vj-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.vj-hero-btn {
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.vj-hero-btn:hover {
    transform: translateY(-2px);
}

.vj-hero-btn-primary {
    color: #fff;
    background: #ff2637;
    box-shadow: 0 12px 25px rgba(255,38,55,.20);
}

.vj-hero-btn-primary:hover {
    color: #fff;
    background: #e91d2d;
}

.vj-hero-btn-secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,.85);
    background: rgba(255,255,255,.02);
}

.vj-hero-btn-secondary:hover {
    color: #fff;
    background: rgba(255,255,255,.10);
}

/* ------------------------------------------------------------
   OUTLET SELECTOR
   ------------------------------------------------------------ */

.vj-outlet-selector {
    position: relative;
    z-index: 20;
    width: min(1450px, calc(100% - 84px));
    min-height: 215px;
    margin: -14px auto 0;
    padding: 20px;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    align-items: center;
    gap: 25px;
    border: 1px solid #e2e9e6;
    border-radius: 20px;
    background: #fff;
    box-shadow:
        0 15px 40px rgba(12,35,29,.10),
        0 2px 10px rgba(12,35,29,.04);
}

.vj-outlet-intro {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-left: 14px;
}

.vj-outlet-pin {
    width: 72px;
    height: 82px;
    flex: 0 0 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 50% 50% 10%;
    transform: rotate(-45deg);
    background: #08785f;
}

.vj-outlet-pin svg {
    width: 35px;
    height: 35px;
    transform: rotate(45deg);
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
}

.vj-outlet-kicker {
    margin-bottom: 7px;
    color: #08785f;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
}

.vj-outlet-intro h2 {
    margin: 0;
    color: #101b19;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.vj-outlet-intro p {
    margin: 8px 0 0;
    color: #6b7773;
    font-size: 14px;
}

.vj-outlet-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.vj-outlet-card {
    min-width: 0;
    padding: 7px;
    border: 1px solid #e0e7e4;
    border-radius: 14px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.vj-outlet-card:hover {
    transform: translateY(-2px);
    border-color: #8bc9b8;
    box-shadow: 0 8px 22px rgba(0,80,62,.09);
}

.vj-outlet-card.is-selected {
    border: 2px solid #08785f;
    padding: 6px;
    box-shadow: 0 8px 22px rgba(0,120,95,.10);
}

.vj-outlet-image {
    position: relative;
    height: 92px;
    overflow: hidden;
    border-radius: 9px;
    background: #edf3f1;
}

.vj-outlet-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.vj-outlet-selected {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #08785f;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,.18);
}

.vj-outlet-selected svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vj-outlet-info {
    padding: 9px 5px 5px;
}

.vj-outlet-info strong,
.vj-outlet-info span {
    display: block;
}

.vj-outlet-info strong {
    color: #111b19;
    font-size: 15px;
    line-height: 1.25;
}

.vj-outlet-info span {
    margin-top: 3px;
    color: #707b78;
    font-size: 12px;
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 1200px) {

    .vj-hero-copy {
        width: 67%;
    }

    .vj-hero-copy h1 {
        font-size: clamp(48px, 5.5vw, 70px);
    }

    .vj-hero-benefits {
        gap: 22px;
    }

    .vj-outlet-selector {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .vj-outlet-intro {
        gap: 14px;
    }

    .vj-outlet-pin {
        width: 60px;
        height: 70px;
        flex-basis: 60px;
    }

}

@media (max-width: 980px) {

    .vj-mockup-hero {
        min-height: 600px;
    }

    .vj-hero-content {
        min-height: 600px;
    }

    .vj-hero-photo {
        width: 70%;
        opacity: .68;
    }

    .vj-hero-overlay {
        background:
            linear-gradient(
                90deg,
                #004333 0%,
                rgba(0,67,51,.96) 40%,
                rgba(0,67,51,.65) 70%,
                rgba(0,67,51,.30) 100%
            );
    }

    .vj-hero-copy {
        width: 90%;
    }

    .vj-outlet-selector {
        display: block;
        padding: 22px;
    }

    .vj-outlet-intro {
        margin-bottom: 20px;
    }

}

@media (max-width: 700px) {

    .vj-mockup-hero {
        min-height: 680px;
    }

    .vj-hero-content {
        width: calc(100% - 36px);
        min-height: 680px;
    }

    .vj-hero-photo {
        width: 100%;
        opacity: .35;
    }

    .vj-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0,67,51,.96) 0%,
                rgba(0,67,51,.90) 55%,
                rgba(0,67,51,.78) 100%
            );
    }

    .vj-hero-copy {
        width: 100%;
        padding: 48px 0 70px;
    }

    .vj-hero-copy h1 {
        font-size: clamp(42px, 12vw, 62px);
    }

    .vj-hero-description {
        font-size: 16px;
    }

    .vj-hero-benefits {
        display: grid;
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .vj-hero-actions {
        flex-wrap: wrap;
    }

    .vj-hero-btn {
        min-height: 54px;
    }

    .vj-outlet-selector {
        width: calc(100% - 30px);
        margin-top: -20px;
        padding: 16px;
        border-radius: 16px;
    }

    .vj-outlet-intro {
        padding-left: 2px;
    }

    .vj-outlet-pin {
        width: 52px;
        height: 62px;
        flex-basis: 52px;
    }

    .vj-outlet-intro h2 {
        font-size: 23px;
    }

    .vj-outlet-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vj-outlet-image {
        height: 100px;
    }

}

@media (max-width: 430px) {

    .vj-hero-copy h1 {
        font-size: 40px;
    }

    .vj-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .vj-hero-btn {
        width: 100%;
    }

    .vj-outlet-cards {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   VUNJABEI DESKTOP HERO — FINAL OVERFLOW FIX
   Desktop/tablet only.
   Mobile is intentionally untouched.
   ============================================================ */

@media screen and (min-width: 768px) {

    .vj-mockup-hero {
        position: relative !important;
        height: 500px !important;
        min-height: 500px !important;
        max-height: 500px !important;
        overflow: hidden !important;
        isolation: isolate !important;
    }

    .vj-mockup-hero .vj-hero-photo {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        width: 100% !important;
        height: 100% !important;

        min-width: 100% !important;
        min-height: 100% !important;

        max-width: none !important;
        max-height: none !important;

        display: block !important;
        margin: 0 !important;

        object-fit: cover !important;
        object-position: center center !important;

        z-index: 0 !important;
    }

    .vj-mockup-hero .vj-hero-overlay {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
    }

    .vj-mockup-hero .vj-hero-content {
        position: absolute !important;
        inset: 0 !important;
        z-index: 2 !important;
    }

    /* Prevent any nested image from creating extra hero height */
    .vj-mockup-hero img {
        max-height: 100% !important;
    }
}

/* Large desktop */
@media screen and (min-width: 1200px) {

    .vj-mockup-hero {
        height: 500px !important;
        min-height: 500px !important;
        max-height: 500px !important;
    }
}

/* Tablet / smaller desktop */
@media screen and (min-width: 768px) and (max-width: 1199px) {

    .vj-mockup-hero {
        height: 460px !important;
        min-height: 460px !important;
        max-height: 460px !important;
    }
}


/* ============================================================
   DESKTOP HERO FINAL ALIGNMENT
   Mobile is completely untouched.
   ============================================================ */

@media screen and (min-width: 768px) {

    .vj-mockup-hero {
        position: relative !important;
        height: 450px !important;
        min-height: 450px !important;
        max-height: 450px !important;
        overflow: hidden !important;
        margin-bottom: 0 !important;
    }

    .vj-mockup-hero .vj-hero-photo {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        width: 100% !important;
        height: 100% !important;

        min-width: 100% !important;
        min-height: 100% !important;

        max-width: none !important;
        max-height: none !important;

        object-fit: cover !important;
        object-position: center center !important;

        display: block !important;
        margin: 0 !important;
    }

    .vj-mockup-hero .vj-hero-overlay {
        position: absolute !important;
        inset: 0 !important;
    }

    .vj-mockup-hero .vj-hero-content {
        position: absolute !important;
        inset: 0 !important;
    }

    /* Desktop outlet panel sits cleanly at the bottom edge */
    .vj-mockup-hero .vj-outlet-selector {
        position: absolute !important;
        z-index: 20 !important;
    }
}

/* Large screens */
@media screen and (min-width: 1200px) {
    .vj-mockup-hero {
        height: 450px !important;
        min-height: 450px !important;
        max-height: 450px !important;
    }
}

/* Prevent accidental image expansion */
@media screen and (min-width: 768px) {
    .vj-mockup-hero img {
        max-height: 100% !important;
    }
}


/* ============================================================
   DESKTOP — FORCE THE ACTUAL IMG TO FILL THE HERO
   Mobile untouched.
   ============================================================ */

@media screen and (min-width: 768px) {

    .vj-mockup-hero {
        position: relative !important;
        height: 450px !important;
        min-height: 450px !important;
        max-height: 450px !important;
        overflow: hidden !important;
    }

    /* The wrapper is the hero image layer */
    .vj-mockup-hero .vj-hero-photo {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        z-index: 0 !important;
    }

    /* THIS is the actual image */
    .vj-mockup-hero .vj-hero-photo > img {
        position: absolute !important;
        inset: 0 !important;

        display: block !important;

        width: 100% !important;
        height: 100% !important;

        min-width: 100% !important;
        min-height: 100% !important;

        max-width: none !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;

        object-fit: cover !important;
        object-position: center center !important;
    }

    .vj-mockup-hero .vj-hero-overlay {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
    }

    .vj-mockup-hero .vj-hero-content {
        position: absolute !important;
        inset: 0 !important;
        z-index: 2 !important;
    }
}

