/* Home sections added after the initial bundle. A separate file avoids stale CDN CSS. */
body.template-home #celebracoes-sazonais,
body.template-home #sua-festa-completa,
body.template-home #itens-em-destaque,
body.template-home #ofertas,
body.template-home #sobre-nos {
    scroll-margin-top: calc(var(--home-fixed-top-height, 142px) + 24px);
}

body.template-home .complete-party-section {
    padding: clamp(48px, 5vw, 72px) 0 clamp(40px, 5vw, 64px);
    border-top: 1px solid #f0f0f0;
    background-color: #f5f5f5;
}

body.template-home .complete-party-section .featured-header {
    margin-bottom: clamp(28px, 3vw, 40px);
    padding: 0 clamp(2px, 0.5vw, 8px);
}

body.template-home .home-category-banner {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
}

body.template-home .home-category-banner__media {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

body.template-home .home-category-banner picture {
    display: block;
    width: 100%;
}

body.template-home .home-category-banner img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    aspect-ratio: 1865 / 196;
    object-fit: contain;
}

body.template-home .home-category-banner__button {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(30px, 3vw, 46px);
    padding: clamp(7px, 0.8vw, 12px) clamp(12px, 1.6vw, 26px);
    border: 2px solid #fff;
    border-radius: 999px;
    background-color: #D9026D;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.template-home .home-category-banner--gender-reveal .home-category-banner__button {
    right: clamp(18px, 7vw, 132px);
    bottom: clamp(8px, 1.3vw, 24px);
}

body.template-home .home-category-banner--photo-session .home-category-banner__button {
    right: clamp(18px, 4vw, 76px);
    bottom: clamp(8px, 1.3vw, 24px);
}

body.template-home .home-category-banner__button:hover,
body.template-home .home-category-banner__button:focus-visible {
    background-color: #b9005c;
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.36);
    color: #fff;
    outline: none;
    transform: translateY(-2px);
}

body.template-home .home-category-banner__button:focus-visible {
    box-shadow: 0 0 0 3px #F2B705, 0 9px 24px rgba(0, 0, 0, 0.36);
}

@media (max-width: 768px) {
    body.template-home .complete-party-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    body.template-home .complete-party-section .featured-header {
        margin-bottom: 24px;
    }

    body.template-home .home-category-banner__button,
    body.template-home .home-category-banner--gender-reveal .home-category-banner__button,
    body.template-home .home-category-banner--photo-session .home-category-banner__button {
        right: clamp(8px, 3vw, 20px);
        bottom: clamp(5px, 1.5vw, 10px);
        min-height: 26px;
        max-width: 42%;
        padding: 5px 10px;
        border-width: 1px;
        font-size: clamp(8px, 1.8vw, 11px);
        white-space: normal;
    }
}

@media (max-width: 640px) {
    body.template-home .home-category-banner img {
        aspect-ratio: 8 / 3;
    }

    body.template-home .home-category-banner__button,
    body.template-home .home-category-banner--gender-reveal .home-category-banner__button,
    body.template-home .home-category-banner--photo-session .home-category-banner__button {
        right: clamp(8px, 3vw, 18px);
        bottom: clamp(8px, 3vw, 16px);
        min-height: 30px;
        max-width: 46%;
        padding: 6px 12px;
        border-width: 1px;
        font-size: clamp(9px, 2.4vw, 12px);
        white-space: normal;
    }
}

@media (max-width: 480px) {
    body.template-home .complete-party-section {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    body.template-home .complete-party-section .featured-header {
        align-items: flex-start;
        padding-right: 2px;
        padding-left: 2px;
    }

    body.template-home .complete-party-section .view-all-link {
        max-width: 48%;
        line-height: 1.3;
    }

    body.template-home .home-category-banner__button,
    body.template-home .home-category-banner--gender-reveal .home-category-banner__button,
    body.template-home .home-category-banner--photo-session .home-category-banner__button {
        right: 8px;
        bottom: 8px;
        min-height: 28px;
        max-width: 48%;
        padding: 5px 10px;
        font-size: 9px;
    }
}
