.mebh-hero {
    position: relative;
    display: flex;
    width: 100%;
    max-width: none;
    min-height: var(--mebh-min-height, 80vh);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    color: #111;
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --mebh-overlay: rgba(0, 0, 0, 0.35);
    --mebh-content-bg: #ffffff;
    --mebh-visual-inset-left: 38%;
    --mebh-product-max-height: 62vh;
    --mebh-stack-gap: 32px;
    --mebh-stack-image-max-width: 100%;
    --mebh-content-max-width: 100%;
}

.elementor-widget-mes_b2b_hero {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
}

.elementor-widget-mes_b2b_hero > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.mebh-hero--stack {
    min-height: auto;
    background-color: var(--mebh-content-bg, #ffffff);
}

.mebh-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.mebh-content-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: var(--mebh-content-max-width, 100%);
    margin: 0;
    margin-inline: auto;
    text-align: center;
}

.mebh-hero--stack .mebh-body {
    align-items: center;
    max-width: var(--mebh-content-max-width, 100%);
    margin-inline: auto;
}

.mebh-hero--stack .mebh-label-row {
    justify-content: center;
}

.mebh-hero--stack .mebh-actions {
    justify-content: center;
}

.mebh-hero--stack .mebh-meta {
    justify-content: center;
    margin-top: 0;
    padding-top: clamp(24px, 4vh, 40px);
}

.mebh-visual-bottom {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: var(--mebh-stack-gap, 32px);
    background-color: var(--mebh-content-bg, #ffffff);
}

.mebh-hero--stack .mebh-product {
    display: block;
    width: 100%;
    max-width: var(--mebh-stack-image-max-width, 100%);
    height: auto;
    object-fit: contain;
    object-position: center center;
}

.mebh-hero--transparent {
    background-color: var(--mebh-content-bg, #ffffff);
}

.mebh-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    min-height: inherit;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.mebh-content-float {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--mebh-content-max-width, 100%);
    margin-inline: auto;
    padding: clamp(40px, 6vh, 72px) 0 clamp(20px, 3vh, 32px);
    background-color: var(--mebh-content-bg, #ffffff);
}

.mebh-hero--transparent .mebh-content-float .mebh-meta {
    padding-top: clamp(24px, 4vh, 40px);
}

.mebh-visual-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: var(--mebh-visual-inset-left, 38%);
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: clamp(12px, 2vh, 24px) 0 clamp(24px, 4vh, 40px);
    pointer-events: none;
}

.mebh-hero--transparent .mebh-product {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: var(--mebh-product-max-height, 62vh);
    object-fit: contain;
    object-position: center bottom;
}

.mebh-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
}

.elementor-widget-mes_b2b_hero .mebh-hero--photo .mebh-bg {
    background-size: cover;
    background-position: center center;
}

.mebh-overlay {
    position: absolute;
    inset: 0;
}

.mebh-hero--photo .mebh-overlay {
    background: var(--mebh-overlay, rgba(0, 0, 0, 0.35));
}

.mebh-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: var(--mebh-content-max-width, 100%);
    min-height: inherit;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.mebh-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: var(--mebh-content-max-width, 100%);
}

.elementor-widget-mes_b2b_hero .mebh-body[style*="align-items: center"] .mebh-title,
.elementor-widget-mes_b2b_hero .mebh-body[style*="align-items: center"] .mebh-desc,
.elementor-widget-mes_b2b_hero .mebh-body[style*="align-items: center"] .mebh-label-row,
.elementor-widget-mes_b2b_hero .mebh-body[style*="align-items: center"] .mebh-actions {
    align-self: center;
    text-align: center;
}

.elementor-widget-mes_b2b_hero .mebh-body[style*="align-items: center"] .mebh-label-row {
    justify-content: center;
}

.elementor-widget-mes_b2b_hero .mebh-body[style*="align-items: center"] .mebh-actions {
    justify-content: center;
}

.elementor-widget-mes_b2b_hero .mebh-body[style*="align-items: flex-end"] .mebh-title,
.elementor-widget-mes_b2b_hero .mebh-body[style*="align-items: flex-end"] .mebh-desc,
.elementor-widget-mes_b2b_hero .mebh-body[style*="align-items: flex-end"] .mebh-label-row,
.elementor-widget-mes_b2b_hero .mebh-body[style*="align-items: flex-end"] .mebh-actions {
    align-self: flex-end;
    text-align: right;
}

.mebh-label-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.mebh-accent {
    display: block;
    flex-shrink: 0;
    width: 40px;
    height: 1px;
    background: #111;
}

.mebh-label {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #111;
}

.mebh-title {
    width: 100%;
    margin: 0 0 24px;
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #111;
}

.mebh-title p {
    margin: 0;
}

.mebh-title > :first-child {
    margin-top: 0;
}

.mebh-title > :last-child {
    margin-bottom: 0;
}

.mebh-desc {
    margin: 0 0 32px;
    font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
    font-weight: 400;
    line-height: 1.65;
    color: #666;
}

.mebh-desc > :first-child {
    margin-top: 0;
}

.mebh-desc > :last-child {
    margin-bottom: 0;
}

.mebh-desc p {
    margin: 0 0 12px;
}

.mebh-desc p:last-child {
    margin-bottom: 0;
}

.mebh-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.mebh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.mebh-btn-primary {
    background: #111;
    border-color: #111;
    color: #fff;
}

.mebh-btn-primary:hover {
    opacity: 0.88;
    color: #fff;
}

.mebh-btn-outline {
    color: #111;
    background: transparent;
    border-color: #111;
}

.mebh-btn-outline:hover {
    color: #fff;
    background: #111;
}

.mebh-btn-text {
    padding-inline: 0;
    color: #111;
    border-color: transparent;
}

.mebh-btn-text:hover {
    opacity: 0.65;
}

.mebh-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.mebh-btn-icon svg {
    width: 1em;
    height: 1em;
}

.mebh-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-top: auto;
    padding-top: clamp(32px, 6vh, 64px);
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #999;
}

.mebh-hero--photo .mebh-label,
.mebh-hero--photo .mebh-title,
.mebh-hero--photo .mebh-desc,
.mebh-hero--photo .mebh-btn-outline,
.mebh-hero--photo .mebh-btn-text,
.mebh-hero--photo .mebh-meta {
    color: #fff;
}

.mebh-hero--photo .mebh-accent {
    background: #fff;
}

.mebh-hero--photo .mebh-btn-outline {
    border-color: #fff;
}

.mebh-hero--photo .mebh-btn-outline:hover {
    color: #111;
    background: #fff;
}

.mebh-hero--photo .mebh-btn-primary {
    color: #111;
    background: #fff;
    border-color: #fff;
}

.mebh-hero--photo .mebh-btn-primary:hover {
    color: #111;
    opacity: 0.9;
}

.mebh-hero--photo .mebh-desc {
    color: rgba(255, 255, 255, 0.82);
}

.mebh-hero--photo .mebh-meta {
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1023px) {
    .mebh-hero {
        min-height: var(--mebh-min-height, 72vh);
    }

    .mebh-hero--stack {
        min-height: auto;
    }

    .mebh-stack {
        padding: 0;
    }

    .mebh-content-top {
        max-width: 100%;
    }

    .mebh-visual-bottom {
        margin-top: 24px;
    }

    .mebh-stage {
        max-width: none;
        padding: 0;
    }

    .mebh-content-float {
        max-width: 100%;
        padding: 40px 0 24px;
    }

    .mebh-visual-wrap {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        order: 2;
        padding: 0 0 40px;
    }

    .mebh-hero--transparent .mebh-product {
        max-height: min(var(--mebh-product-max-height, 62vh), 40vh);
    }

    .mebh-inner {
        padding: 0;
    }

    .mebh-title {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }

    .mebh-desc {
        margin-bottom: 28px;
        font-size: 0.9375rem;
    }

    .mebh-meta {
        padding-top: 32px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .mebh-hero {
        min-height: var(--mebh-min-height, auto);
    }

    .mebh-stack {
        padding: 0;
    }

    .mebh-visual-bottom {
        margin-top: 20px;
    }

    .mebh-content-float {
        padding: 32px 0 20px;
    }

    .mebh-visual-wrap {
        padding: 0 0 32px;
    }

    .mebh-hero--transparent .mebh-product {
        max-height: 34vh;
    }

    .mebh-inner {
        padding: 0;
    }

    .mebh-label-row {
        margin-bottom: 20px;
    }

    .mebh-accent {
        width: 32px;
    }

    .mebh-title {
        margin-bottom: 20px;
        font-size: clamp(1.625rem, 8vw, 2.25rem);
    }

    .mebh-body {
        max-width: var(--mebh-content-max-width, 100%);
    }

    .mebh-actions {
        width: 100%;
    }

    .mebh-btn {
        width: 100%;
    }

    .mebh-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}
