.home-hero-section {
    padding: 3.5rem 0 2rem;
    background:
        radial-gradient(
            circle at top left,
            color-mix(in srgb, var(--swem-primary, #2b1d18) 9%, transparent),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            var(--swem-bg, #fffaf7) 0%,
            #ffffff 100%
        );
}

.home-hero-card {
    background: color-mix(in srgb, var(--swem-surface, #ffffff) 94%, #ffffff);
    border: 1px solid var(--swem-border, #e8dcd6);
    border-radius: 36px;
    padding: 2.8rem;
    box-shadow: 0 26px 75px rgba(45, 30, 20, 0.12);
}

.home-hero-label,
.section-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    background: var(--swem-primary-soft, #fff1ed);
    color: var(--swem-secondary, #7a3c32);
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.home-hero-card h1 {
    color: var(--swem-text, #2b1d18);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.home-hero-card p {
    color: var(--swem-muted, #7a675f);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 1.5rem;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-main-btn,
.home-outline-btn {
    border-radius: 999px;
    padding: 0.8rem 1.35rem;
    font-weight: 900;
}

.home-main-btn {
    background: var(--swem-primary, #2b1d18);
    border-color: var(--swem-primary, #2b1d18);
    color: var(--swem-on-primary, #ffffff);
}

.home-main-btn:hover {
    background: var(--swem-secondary, #7a3c32);
    border-color: var(--swem-secondary, #7a3c32);
    color: var(--swem-on-primary, #ffffff);
}

.home-outline-btn {
    color: var(--swem-primary, #2b1d18);
    border-color: var(--swem-border, #e8dcd6);
}

.home-outline-btn:hover {
    background: var(--swem-primary, #2b1d18);
    border-color: var(--swem-primary, #2b1d18);
    color: var(--swem-on-primary, #ffffff);
}

/* Banner */
.home-banner-box {
    height: 420px;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at top right,
            color-mix(in srgb, var(--swem-primary, #2b1d18) 18%, transparent),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            var(--swem-primary-soft, #fff1ed),
            var(--swem-bg, #fffaf7)
        );
    border: 1px solid var(--swem-border, #e8dcd6);
}

.home-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-banner-placeholder {
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--swem-text, #2b1d18);
}

.home-banner-placeholder span {
    width: fit-content;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    background: color-mix(in srgb, var(--swem-surface, #ffffff) 80%, transparent);
    color: var(--swem-primary, #2b1d18);
    font-size: 0.8rem;
    font-weight: 900;
    margin-bottom: 0.9rem;
}

.home-banner-placeholder strong {
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 0.4rem;
}

.home-banner-placeholder small {
    color: var(--swem-muted, #7a675f);
    font-weight: 700;
}

/* Seções */
.home-categories-section,
.home-promotions-section,
.home-products-section {
    padding: 2.5rem 0;
    background: var(--swem-surface, #ffffff);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    color: var(--swem-text, #2b1d18);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0;
}

.section-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: var(--swem-primary, #2b1d18);
    font-weight: 900;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.section-more-link:hover {
    color: var(--swem-secondary, #7a3c32);
    transform: translateX(2px);
}

/* Menu de categorias */
.category-menu {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    padding: 0.25rem 0 0.75rem;
    scrollbar-width: thin;
}

.category-menu-item {
    min-width: 170px;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem;
    border-radius: 24px;
    background: var(--swem-bg, #fffaf7);
    border: 1px solid var(--swem-border, #e8dcd6);
    color: var(--swem-text, #2b1d18);
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 14px 35px rgba(45, 30, 20, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.category-menu-item:hover {
    background: var(--swem-primary-soft, #fff1ed);
    color: var(--swem-text, #2b1d18);
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(45, 30, 20, 0.12);
}

.category-menu-item img,
.category-menu-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--swem-primary-soft, #fff1ed);
    color: var(--swem-secondary, #7a3c32);
    border: 1px solid var(--swem-border, #e8dcd6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Blocos por categoria */
.category-products-block {
    padding: 2rem 0;
    border-top: 1px solid var(--swem-border, #e8dcd6);
}

.category-products-block:first-child {
    border-top: none;
    padding-top: 0;
}

/* Cards de produtos */
.home-product-card-link {
    text-decoration: none;
    color: inherit;
}

.home-product-card {
    height: 100%;
    background: color-mix(in srgb, var(--swem-surface, #ffffff) 96%, #ffffff);
    border: 1px solid var(--swem-border, #e8dcd6);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(45, 30, 20, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.home-product-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--swem-primary, #2b1d18) 24%, var(--swem-border, #e8dcd6));
    box-shadow: 0 28px 75px rgba(45, 30, 20, 0.14);
}

.home-product-image-area {
    position: relative;
    padding: 0.75rem;
}

.home-product-image-area img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 22px;
    background: var(--swem-bg, #fffaf7);
    display: block;
}

/* Badge promoção */
.promo-badge {
    position: absolute;
    top: 1.15rem;
    left: 1.15rem;
    z-index: 2;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    background: var(--swem-primary, #2b1d18);
    color: var(--swem-on-primary, #ffffff);
    font-size: 0.72rem;
    font-weight: 900;
}

/* Corpo do produto */
.home-product-body {
    padding: 0 1.2rem 1.3rem;
}

.home-product-category {
    display: inline-flex;
    margin-bottom: 0.65rem;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    background: var(--swem-primary-soft, #fff1ed);
    color: var(--swem-secondary, #7a3c32);
    font-size: 0.72rem;
    font-weight: 900;
}

.home-product-body h3 {
    color: var(--swem-text, #2b1d18);
    font-size: 1.08rem;
    font-weight: 900;
    margin-bottom: 0.45rem;
}

.home-product-body p {
    color: var(--swem-muted, #7a675f);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 0.8rem;
}

/* Tags e especificações */
.home-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.home-product-tags span {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    background: var(--swem-primary-soft, #fff1ed);
    color: var(--swem-secondary, #7a3c32);
    font-size: 0.7rem;
    font-weight: 900;
}

.home-product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.home-product-specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    padding: 0.32rem 0.62rem;
    background: var(--swem-bg, #fffaf7);
    border: 1px solid var(--swem-border, #e8dcd6);
    color: var(--swem-muted, #7a675f);
    font-size: 0.72rem;
    font-weight: 800;
}

/* Preço */
.home-price-area {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.home-price-area strong {
    color: var(--swem-text, #2b1d18);
    font-size: 1.12rem;
    font-weight: 900;
}

.old-price {
    color: var(--swem-muted, #9b8981);
    font-size: 0.85rem;
    text-decoration: line-through;
}

.home-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.75rem;
}

/* Estoque */
.home-stock {
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 900;
    white-space: nowrap;
}

.home-stock.available {
    background: #eef8f0;
    color: #23743a;
}

.home-stock.unavailable {
    background: #fff4ed;
    color: #9b4d22;
}

/* Estado vazio */
.home-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    border-radius: 30px;
    background: var(--swem-bg, #fffaf7);
    border: 1px solid var(--swem-border, #e8dcd6);
}

.home-empty-state i {
    font-size: 2.2rem;
    color: var(--swem-secondary, #7a3c32);
}

.home-empty-state h2 {
    color: var(--swem-text, #2b1d18);
    font-weight: 900;
    margin-top: 1rem;
}

.home-empty-state p {
    color: var(--swem-muted, #7a675f);
    margin: 0;
}

/* Responsivo */
@media (max-width: 991px) {
    .home-hero-card {
        padding: 1.8rem;
        border-radius: 30px;
    }

    .home-banner-box {
        height: 340px;
    }

    .section-heading {
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .home-hero-section {
        padding: 2rem 0 1rem;
    }

    .home-hero-card {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .home-banner-box {
        height: 280px;
        border-radius: 24px;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-main-btn,
    .home-outline-btn {
        width: 100%;
    }

    .section-heading {
        flex-direction: column;
        margin-bottom: 1.2rem;
    }

    .category-menu-item {
        min-width: 150px;
    }

    .home-product-image-area img {
        height: 240px;
    }

    .home-card-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}