/* =========================================
   SPACE ANÚNCIO — HOME
   DOBRA 4 — EM DESTAQUE
   Ajuste visual conforme ao protótipo
   ========================================= */

.space-home-featured {
    width: 100%;
    padding: 8px 24px 18px;
    background: #ffffff;
    box-sizing: border-box;
}

.space-home-featured > .e-con-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* CABEÇALHO */
.space-featured-header {
    width: 100%;
    min-height: 34px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    margin-bottom: 9px;
}

/* ÍCONE */
.space-featured-header > .elementor-widget-icon {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
}

.space-featured-header > .elementor-widget-icon .elementor-icon {
    color: #f4b400;
    font-size: 15px;
}

/* TÍTULO */
.space-featured-title {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
}

.space-featured-title .elementor-heading-title {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.1px;
}

/* SUBTÍTULO */
.space-featured-subtitle {
    flex: 1 1 auto;
    width: auto;
    margin: 0;
}

.space-featured-subtitle .elementor-widget-container {
    margin: 0;
    padding: 0;
    color: #7b8491;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}

/* VER TODOS */
.space-featured-viewall {
    flex: 0 0 auto;
    width: auto;
    margin: 0 0 0 auto;
}

.space-featured-viewall .elementor-button {
    min-height: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: #1769e0 !important;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
}

.space-featured-viewall .elementor-button:hover {
    background: transparent !important;
    color: #1259c2 !important;
    text-decoration: underline;
    box-shadow: none;
}

/* PRODUTOS */
.space-featured-products {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

/* CARD */
.space-featured-product {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    transition: transform .2s ease;
}

.space-featured-product:hover {
    transform: translateY(-2px);
}

/* IMAGEM */
.space-featured-product img {
    width: 100%;
    height: 142px;
    display: block;
    object-fit: contain;
    background: #ffffff;
}

/* NOME */
.space-featured-product .elementor-heading-title {
    margin: 7px 5px 3px;
    color: #26364d;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* PREÇO */
.space-featured-product .elementor-widget-text-editor,
.space-featured-product .elementor-widget-heading:last-child .elementor-heading-title {
    margin: 0 5px 5px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
}

/* =========================================
   TABLET
   ========================================= */
@media (max-width: 1024px) {
    .space-home-featured {
        padding: 8px 18px 16px;
    }

    .space-featured-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .space-featured-product img {
        height: 150px;
    }

    .space-featured-subtitle .elementor-widget-container {
        font-size: 8px;
    }
}

/* =========================================
   MOBILE
   ========================================= */
@media (max-width: 767px) {
    .space-home-featured {
        padding: 8px 12px 14px;
    }

    .space-featured-header {
        gap: 5px;
        margin-bottom: 8px;
    }

    .space-featured-header > .elementor-widget-icon .elementor-icon {
        font-size: 13px;
    }

    .space-featured-title .elementor-heading-title {
        font-size: 14px;
    }

    .space-featured-subtitle {
        display: none;
    }

    .space-featured-viewall .elementor-button {
        font-size: 9px;
    }

    .space-featured-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .space-featured-product img {
        height: 145px;
    }
}
