/* Final home layout polish based on the supplied marketplace prototype. */
.paa-elementor-home {
    --paa-home-ink: #16314f;
    --paa-home-muted: #718096;
    --paa-home-blue: #0875e8;
    --paa-home-pale: #f2f8fc;
    --paa-home-line: #e4ebf1;
    background: #fff;
    overflow: clip;
}

.paa-elementor-home > .elementor {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.paa-elementor-home .space-home-header > .e-con-inner,
.paa-elementor-home .space-home-categories > .e-con-inner,
.paa-elementor-home .space-home-featured > .e-con-inner,
.paa-elementor-home .space-home-fashion > .e-con-inner,
.paa-elementor-home .space-home-trending > .e-con-inner,
.paa-elementor-home .space-home-omo-wap > .e-con-inner,
.paa-elementor-home .space-home-nearby > .e-con-inner,
.paa-elementor-home .space-home-bosch-secondary > .e-con-inner,
.paa-elementor-home .space-home-premium > .e-con-inner,
.paa-elementor-home .space-home-promotional > .e-con-inner,
.paa-elementor-home .space-home-products-secondary > .e-con-inner,
.paa-elementor-home .space-home-advertising > .e-con-inner,
.paa-elementor-home .space-home-footer > .e-con-inner {
    max-width: 1280px;
}

.paa-elementor-home .space-home-header {
    min-height: 64px;
    padding-block: 8px;
    border-bottom: 2px solid #f2c900;
    box-shadow: 0 2px 8px rgba(20, 46, 70, .08);
}

.paa-elementor-home .space-home-categories {
    padding-block: 12px 8px;
    background: var(--paa-home-pale);
}

.paa-elementor-home .space-category-item {
    gap: 5px;
    padding: 5px 3px;
}

.paa-elementor-home .space-category-item .elementor-icon,
.paa-elementor-home .space-category-item i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(20, 46, 70, .08);
}

.paa-elementor-home .space-home-featured,
.paa-elementor-home .space-home-nearby,
.paa-elementor-home .space-home-premium,
.paa-elementor-home .space-home-trending {
    padding-block: 8px 20px;
}

.paa-elementor-home .space-featured-header,
.paa-elementor-home .space-trending-header,
.paa-elementor-home .space-nearby-header,
.paa-elementor-home .space-premium-header {
    min-height: 34px;
    margin-bottom: 9px;
    padding: 5px 10px;
    border-radius: 4px;
    background: #f3f9fc;
}

.paa-elementor-home .space-trending-products {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
    gap: 10px;
}

.paa-elementor-home .space-trending-product {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--paa-home-line);
    border-radius: 4px;
    background: #fff;
    transition: box-shadow .18s ease, transform .18s ease;
}

.paa-elementor-home .space-trending-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(20, 46, 70, .1);
}

.paa-elementor-home .space-trending-product-image,
.paa-elementor-home .space-trending-product-image .elementor-widget-container {
    width: 100%;
    height: 142px;
    overflow: hidden;
    background: #f5f7f8;
}

.paa-elementor-home .space-trending-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.paa-elementor-home .space-trending-product .elementor-heading-title,
.paa-elementor-home .space-trending-product .elementor-widget-text-editor {
    margin: 6px 7px;
    color: var(--paa-home-ink);
    font-size: 11px;
    line-height: 1.35;
}

.paa-elementor-home .space-trending-product .elementor-heading-title {
    min-height: 30px;
    font-weight: 600;
}

.paa-elementor-home .space-trending-product .elementor-widget-text-editor {
    color: #e15c43;
    font-weight: 700;
}

.paa-elementor-home .space-home-omo-wap {
    padding-top: 8px;
    padding-bottom: 18px;
}

.paa-elementor-home .space-home-bosch-secondary {
    padding-top: 6px;
}

.paa-elementor-home .space-home-premium {
    border-top: 1px solid var(--paa-home-line);
    background: #fbfdfe;
}

.paa-elementor-home .space-home-footer {
    border-top: 2px solid #f2c900;
}

@media (max-width: 1024px) {
    .paa-elementor-home .space-trending-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .paa-elementor-home .space-home-header {
        padding: 10px 14px;
    }

    .paa-elementor-home .space-home-categories {
        padding-block: 8px;
    }

    .paa-elementor-home .space-trending-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .paa-elementor-home .space-trending-product-image,
    .paa-elementor-home .space-trending-product-image .elementor-widget-container {
        height: 140px;
    }

    .paa-elementor-home .space-featured-header,
    .paa-elementor-home .space-trending-header,
    .paa-elementor-home .space-nearby-header,
    .paa-elementor-home .space-premium-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 420px) {
    .paa-elementor-home .space-trending-product-image,
    .paa-elementor-home .space-trending-product-image .elementor-widget-container {
        height: 120px;
    }
}
