body.act-homepage-preview {
    background: #061a21;
}

.act-homepage-preview .site-header,
.act-homepage-preview footer,
.act-homepage-preview footer.bgcolor-primary {
    position: relative;
    z-index: 3;
    background-color: #f7f7ff !important;
}

.act-homepage-preview .site-header {
    position: fixed;
}

.act-homepage-preview .principal {
    position: relative;
    isolation: isolate;
    background-color: #061a21 !important;
}

.act-preview-background {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    pointer-events: none;
}

.act-preview-background__video,
.act-preview-background__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.act-preview-background__video {
    object-fit: cover;
}

.act-preview-background__overlay {
    background: linear-gradient(180deg, rgba(3, 18, 24, .42), rgba(3, 24, 32, .72));
}

.act-preview-hero,
.act-preview-shell {
    position: relative;
    z-index: 1;
}

.act-preview-hero {
    display: flex;
    min-height: clamp(520px, calc(100svh - 150px), 720px);
    align-items: center;
    justify-content: center;
    padding: 72px 24px;
    box-sizing: border-box;
    text-align: center;
}

.act-preview-hero__content {
    width: min(100%, 1000px);
}

.act-preview-hero__title {
    margin: 0 auto 32px !important;
    color: #fff !important;
    font-size: 58px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-shadow: 0 3px 18px rgba(0, 12, 18, .72);
}

.act-preview-hero__button {
    display: inline-flex !important;
    min-width: 140px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px !important;
    box-sizing: border-box;
    letter-spacing: 0 !important;
}

.act-preview-shell {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 24px;
    width: min(1500px, 100%);
    margin: 0 auto;
    padding: 32px 24px 64px;
    box-sizing: border-box;
}

.act-preview-content {
    min-width: 0;
}

.act-preview-content > * {
    margin-bottom: 24px !important;
}

.act-preview-surface,
.act-preview-about {
    overflow: hidden;
    max-width: 100%;
    background: rgba(247, 247, 255, .84) !important;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(0, 15, 20, .16);
    backdrop-filter: blur(6px);
}

.act-preview-categories {
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(0, 15, 20, .16);
}

.act-preview-about .row {
    min-height: 420px;
}

.act-preview-blog {
    background: rgba(247, 247, 255, .88) !important;
}

.act-promo-rail {
    min-width: 0;
}

.act-promo-rail__inner {
    position: sticky;
    top: calc(var(--act-header-height, 66px) + 18px);
    max-height: calc(100vh - var(--act-header-height, 66px) - 36px);
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
}

.act-promo-rail__heading {
    margin-bottom: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.act-promo-rail__heading span {
    display: inline-block;
    padding-bottom: 7px;
    border-bottom: 3px solid var(--primaryColor, #0ca4bb);
}

.act-promo-product,
.act-promo-empty {
    overflow: hidden;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0, 15, 20, .18);
}

.act-promo-product__image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff;
}

.act-promo-product__image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}

.act-promo-product__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    color: #fff;
    background: #087d91;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.act-promo-product__body,
.act-promo-empty {
    padding: 12px;
}

.act-promo-product h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.35;
}

.act-promo-product h3 a {
    color: #09242c;
    text-decoration: none;
}

.act-promo-product__price {
    min-height: 25px;
    margin-bottom: 9px;
    color: #087d91;
    font-size: 15px;
    font-weight: 700;
}

.act-promo-product__price del {
    color: #66757a;
    font-weight: 400;
}

.act-promo-product__link,
.act-promo-empty a {
    color: #087d91;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.act-promo-empty {
    color: #09242c;
}

.act-promo-empty p {
    margin-top: 0;
}

@media (max-width: 1199px) {
    .act-preview-shell {
        grid-template-columns: minmax(200px, 230px) minmax(0, 1fr);
        gap: 18px;
        padding-inline: 18px;
    }
}

@media (max-width: 991px) {
    .act-preview-shell {
        display: block;
    }

    .act-promo-rail {
        margin-bottom: 24px;
    }

    .act-promo-rail__inner {
        position: relative;
        top: auto;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(210px, 38vw);
        gap: 12px;
        max-height: none;
        padding: 48px 0 8px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
    }

    .act-promo-rail__heading {
        position: absolute;
        top: 0;
        left: 0;
    }

    .act-promo-product,
    .act-promo-empty {
        margin: 0;
        scroll-snap-align: start;
    }
}

@media (max-width: 767px) {
    .act-preview-shell {
        padding: 22px 12px 42px;
    }

    .act-preview-hero {
        min-height: clamp(430px, calc(100svh - 110px), 600px);
        padding: 56px 18px;
    }

    .act-preview-hero__title {
        margin-bottom: 26px !important;
        font-size: 36px !important;
        line-height: 1.25 !important;
    }

    .act-preview-surface,
    .act-preview-about,
    .act-preview-categories {
        border-radius: 4px;
    }

    .act-promo-rail__inner {
        grid-auto-columns: minmax(210px, 78vw);
    }

    .act-preview-about .row {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .act-preview-background__video {
        display: none;
    }
}

/* História e Blog na mesma linha, com destinos próprios. */
.act-preview-editorial {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.act-preview-editorial > section {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
}
.act-preview-editorial > section:only-child {
    grid-column: 1 / -1;
}
.act-preview-editorial h2 {
    margin: 0 0 20px;
    color: #09242c;
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
}
.act-preview-story-card__image,
.act-preview-blog__article {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    background: #087d91;
}
.act-preview-story-card__image img,
.act-preview-blog__article img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.act-preview-blog__articles {
    display: grid;
    gap: 16px;
}
.act-preview-blog__article h3 {
    position: absolute;
    inset: auto 0 0;
    margin: 0;
    padding: 40px 18px 18px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 15, 20, .9));
    font-size: 19px;
    line-height: 1.35;
}
.act-preview-editorial__action {
    margin-top: auto;
    padding-top: 24px;
    text-align: center;
}
.act-preview-editorial a:focus-visible {
    outline: 3px solid #087d91;
    outline-offset: 3px;
}
@media (max-width: 767px) {
    .act-preview-editorial {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .act-preview-editorial > section {
        padding: 20px;
    }
}

/* Produtos em promoção, abaixo dos parceiros. */
.act-preview-promotions {
    padding: 28px 24px;
}
.act-preview-promotions > h2 {
    margin: 0 0 24px;
    text-align: center;
    color: #09242c;
    font-size: 30px;
    line-height: 1.2;
}
.act-preview-promotions .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}
.act-preview-promotions .woocommerce ul.products::before,
.act-preview-promotions .woocommerce ul.products::after {
    display: none;
}
.act-preview-promotions .woocommerce ul.products li.product {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}
.act-preview-promotions .woocommerce ul.products li.product img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    background: #fff;
}
.act-preview-promotions__empty {
    margin: 0;
    text-align: center;
}
@media (max-width: 1199px) {
    .act-preview-promotions .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 479px) {
    .act-preview-promotions {
        padding: 24px 16px;
    }
    .act-preview-promotions .woocommerce ul.products {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Superfícies leves, alinhadas com a identidade da loja. */
.act-preview-partners,
.act-preview-promotions,
.act-promo-rail__inner {
    background: #fff !important;
    border: 1px solid #e6edef;
    border-radius: 8px;
    box-shadow: none;
    backdrop-filter: none;
}
.act-preview-partners {
    padding: 28px 24px;
}
.act-preview-partners h2,
.act-preview-promotions > h2 {
    margin: 0 0 24px !important;
    color: #12333b !important;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0;
}
.act-preview-partners .parceiros__img {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 104px;
    padding: 16px !important;
    background: #fff !important;
    border: 1px solid #edf2f3;
    border-radius: 6px;
    box-shadow: none;
}
.act-preview-partners .parceiros__img img {
    width: 100%;
    height: 72px;
    object-fit: contain;
}
.act-promo-rail__inner {
    padding: 18px;
    scrollbar-color: #cadadd transparent;
    box-sizing: border-box;
}
.act-promo-rail__heading {
    color: #12333b;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}
.act-promo-rail__heading span {
    padding-bottom: 10px;
    border-bottom: 2px solid #0ca4bb;
}
.act-promo-product {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    margin: 0;
    padding: 16px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #edf2f3;
    border-radius: 0;
    box-shadow: none;
}
.act-promo-product:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.act-promo-product__image {
    aspect-ratio: 1;
    border-radius: 4px;
}
.act-promo-product__body {
    padding: 0;
}
.act-promo-product h3 {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
}
.act-promo-product__price {
    color: #12333b;
    font-size: 14px;
    margin-bottom: 5px;
    min-height: 0;
}
.act-promo-product__price .woocommerce-price-suffix {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: #63777d;
}
.act-promo-product__price .amount {
    font-size: 16px;
}
.act-promo-product__link {
    font-size: 12px;
    color: #087d91;
    font-weight: 500;
}
.act-preview-promotions__empty {
    padding: 16px;
    background: #f6f9fa;
    border-radius: 4px;
    color: #63777d;
    font-size: 14px;
}
.act-preview-promotions .woocommerce ul.products li.product {
    padding: 16px;
    border: 1px solid #edf2f3;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}
.act-preview-promotions .woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #12333b;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
}
.act-preview-promotions .woocommerce ul.products li.product .price {
    color: #087d91;
    font-size: 15px;
}
.act-preview-promotions a:focus-visible,
.act-preview-partners a:focus-visible,
.act-promo-rail a:focus-visible {
    outline: 2px solid #087d91;
    outline-offset: 3px;
}
@media (max-width: 991px) {
    .act-promo-rail__inner {
        padding: 56px 18px 18px;
        grid-auto-columns: minmax(240px, 38vw);
    }
    .act-promo-rail__heading {
        left: 18px;
        top: 18px;
    }
    .act-promo-product,
    .act-promo-product:last-child {
        padding: 12px;
        border: 1px solid #edf2f3;
        border-radius: 4px;
    }
}
@media (max-width: 767px) {
    .act-preview-partners,
    .act-preview-promotions {
        padding: 24px 16px;
    }
    .act-promo-rail__inner {
        grid-auto-columns: minmax(240px, 78vw);
    }
    .act-preview-partners h2,
    .act-preview-promotions > h2 {
        font-size: 23px;
    }
}

/* Área uniforme e contraste para o logótipo branco da TMC. */
.act-preview-partners .parceiros__img {
    height: 116px;
    padding: 18px !important;
}
.act-preview-partners .parceiros__img img {
    width: 180px;
    max-width: 100%;
    height: 76px;
    object-fit: contain;
    object-position: center;
}
.act-preview-partners .parceiros__img:has(img[src*="TMC_EU_B2B_"]) {
    background: #12333b !important;
    border-color: #12333b;
}

/* Contraste dos logótipos brancos transparentes existentes. */
.act-preview-partners .parceiros__img:has(img[src*="logopisciber"]),
.act-preview-partners .parceiros__img:has(img[src*="Logo-fundos-pretos"]) {
    background: #12333b !important;
    border-color: #12333b;
}
