/* =========================================================
   SPACE ANÚNCIO — HOME
   DOBRA 2 — BANNER PRINCIPAL BOSCH
   Referência visual: modelo 03
   ========================================================= */

.space-home-bosch {
    width: 100%;
    height: clamp(180px, 20vw, 272px);
    min-height: 180px;
    max-height: 272px;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0 !important;
    overflow: hidden;
    background: #005079;
    border-radius: 0;
    box-sizing: border-box;
}

.space-home-bosch > .e-con-inner {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    position: relative;
    gap: 0 !important;
    overflow: hidden;
}

/* =========================================================
   ÁREA DE CONTEÚDO
   ========================================================= */

.space-bosch-content {
    flex: 0 0 48%;
    width: 48%;
    min-width: 48%;
    height: 100%;
    margin: 0;
    padding: 18px 8px 16px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 4;
    box-sizing: border-box;
    background: transparent;
}

.space-bosch-content > .elementor-widget {
    margin-left: 48%;
    width: max-content;
    max-width: 100%;
}

/* O protótipo não apresenta um logotipo Bosch separado. O elemento continua
   no Navigator para substituição futura, mas não cria espaço visual vazio. */
.space-bosch-logo {
    display: none;
}

/* =========================================================
   TÍTULO
   ========================================================= */

.space-bosch-title {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 4;
}

.space-bosch-title .elementor-heading-title {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 800;
    line-height: .94;
    letter-spacing: -.7px;
    text-transform: uppercase;
}

.space-bosch-title .elementor-heading-title span {
    display: block;
    margin-top: 2px;
    color: #e60000;
    font-size: 1.18em;
    line-height: .88;
    font-weight: 900;
}

/* =========================================================
   OFERTA
   ========================================================= */

.space-bosch-offer {
    margin: 9px 0 0;
    padding: 0;
    position: relative;
    z-index: 4;
}

.space-bosch-offer .elementor-heading-title {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-size: clamp(13px, 1.35vw, 19px);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.space-bosch-offer .elementor-heading-title span {
    display: inline-block;
    padding: 4px 7px;
    background: #ffffff;
    color: #111827;
    font-weight: 900;
    line-height: 1;
}

/* =========================================================
   FRETE
   ========================================================= */

.space-bosch-shipping {
    margin: 7px 0 0;
    padding: 0;
    position: relative;
    z-index: 4;
}

.space-bosch-shipping .elementor-heading-title {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: clamp(12px, 1.15vw, 17px);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

/* =========================================================
   BOTÃO
   ========================================================= */

.space-bosch-button {
    margin: 9px 0 0;
    padding: 0;
    position: relative;
    z-index: 4;
}

.space-bosch-button .elementor-button {
    min-width: 116px;
    min-height: 25px;
    margin: 0;
    padding: 5px 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 2px;
    background: #e63228;
    color: #ffffff;
    font-size: clamp(8px, .8vw, 11px);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: none;
}

.space-bosch-button .elementor-button:hover,
.space-bosch-button .elementor-button:focus {
    background: #d9271d;
    color: #ffffff;
}

.space-bosch-button .elementor-button-icon {
    margin: 0;
    font-size: 10px;
}

/* =========================================================
   ÁREA DOS PRODUTOS
   ========================================================= */

.space-bosch-products {
    flex: 1 1 auto;
    width: 52%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 10% 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    z-index: 2;
    box-sizing: border-box;
}

.space-bosch-products .elementor-widget-image,
.space-bosch-product-image {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.space-bosch-products img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

/* =========================================================
   SETAS
   ========================================================= */

.space-bosch-prev,
.space-bosch-next {
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    color: #ffffff;
    z-index: 20;
    cursor: pointer;
}

.space-bosch-prev {
    left: 18px;
}

.space-bosch-next {
    right: 18px;
}

.space-bosch-prev i,
.space-bosch-next i {
    margin: 0;
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
}

.space-bosch-prev:hover,
.space-bosch-next:hover {
    background: rgba(255, 255, 255, .38);
    color: #ffffff;
    transform: translateY(-50%);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
    .space-home-bosch {
        height: clamp(170px, 22vw, 225px);
        max-height: 225px;
    }

    .space-bosch-content {
        flex-basis: 49%;
        width: 49%;
        min-width: 49%;
        padding-left: 0;
    }

    .space-bosch-content > .elementor-widget {
        margin-left: 38%;
    }

    .space-bosch-products {
        width: 51%;
        padding-right: 7%;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
    .space-home-bosch {
        height: 210px;
        min-height: 210px;
        max-height: 210px;
        border-radius: 0;
    }

    .space-home-bosch > .e-con-inner {
        flex-direction: row;
    }

    .space-bosch-content {
        flex-basis: 55%;
        width: 55%;
        min-width: 55%;
        padding: 12px 4px 12px 0;
    }

    .space-bosch-content > .elementor-widget {
        margin-left: 18%;
    }

    .space-bosch-products {
        width: 45%;
        padding-right: 8%;
    }

    .space-bosch-prev,
    .space-bosch-next {
        width: 22px;
        height: 22px;
    }

    .space-bosch-prev {
        left: 8px;
    }

    .space-bosch-next {
        right: 8px;
    }
}
