/* Footer store reviews — referência: fundo azul-marinho, cards azul mais claro (não branco), texto branco */

.sap-footer-reviews {
    --sap-fr-bg-deep: #071d42;
    --sap-fr-bg: #0c2a58;
    --sap-fr-card: #153e75;
    --sap-fr-card-2: #1a4580;
    --sap-fr-card-border: rgba(255, 255, 255, 0.12);
    --sap-fr-star: #f5b301;
    --sap-fr-verified: #4ade80;
    --sap-fr-pill-border: rgba(186, 211, 244, 0.55);
    background: linear-gradient(180deg, var(--sap-fr-bg-deep) 0%, var(--sap-fr-bg) 42%, #0e3268 100%);
    color: #fff;
    padding: 2.5rem 0 2rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    isolation: isolate;
}

.sap-footer-reviews * {
    box-sizing: border-box;
}

.sap-footer-reviews__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0.75rem;
}

@media (min-width: 900px) {
    .sap-footer-reviews__inner {
        padding: 0 0.5rem;
    }
}

.sap-footer-reviews__title {
    margin: 0 0 1.5rem;
    text-align: center;
}

.sap-footer-reviews__title-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--sap-fr-pill-border);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(8, 28, 58, 0.45);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.sap-footer-reviews__title-star {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--sap-fr-star);
}

.sap-fr-scroller-outer {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    flex: 1 1 0%;
    min-width: 0;
}

.sap-fr-carousel {
    width: 100%;
}

.sap-fr-strip {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
}

.sap-fr-strip--fit .sap-fr-nav {
    display: none;
}

.sap-fr-nav {
    flex-shrink: 0;
    align-self: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(8, 28, 58, 0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    z-index: 2;
}

.sap-fr-nav:hover,
.sap-fr-nav:focus-visible {
    background: rgba(21, 62, 117, 0.95);
    border-color: rgba(255, 255, 255, 0.45);
    outline: none;
}

.sap-fr-nav:active {
    transform: scale(0.96);
}

.sap-fr-nav svg {
    display: block;
}

@media (max-width: 599px) {
    .sap-fr-nav {
        width: 36px;
        height: 36px;
    }

    .sap-fr-nav svg {
        width: 18px;
        height: 18px;
    }
}

.sap-fr-scroller {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.2rem 0 0.55rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sap-fr-scroller::-webkit-scrollbar {
    display: none;
}

.sap-fr-scroller--fit {
    justify-content: center;
    overflow-x: hidden;
    scroll-snap-type: none;
}

.sap-fr-scroller--fit .sap-fr-card {
    scroll-snap-align: none;
}

.sap-fr-card {
    flex: 0 0 min(230px, 86vw);
    scroll-snap-align: start;
    background: linear-gradient(160deg, var(--sap-fr-card-2) 0%, var(--sap-fr-card) 55%, #123566 100%);
    color: #fff;
    border: 1px solid var(--sap-fr-card-border);
    border-radius: 12px;
    padding: 0.7rem 0.85rem 0.75rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;
    min-height: 148px;
}

@media (min-width: 600px) and (max-width: 899px) {
    .sap-fr-card {
        flex: 0 0 calc((100% - 24px) / 3);
        max-width: calc((100% - 24px) / 3);
        min-height: 152px;
    }
}

@media (min-width: 900px) and (max-width: 1199.98px) {
    .sap-fr-card {
        flex: 0 0 calc((100% - 48px) / 5);
        max-width: calc((100% - 48px) / 5);
        min-width: 0;
        min-height: 155px;
    }
}

@media (min-width: 1200px) {
    .sap-fr-card {
        flex: 0 0 calc((100% - 36px) / 4);
        max-width: calc((100% - 36px) / 4);
        min-width: 0;
        min-height: 158px;
    }
}

.sap-fr-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.sap-fr-card__stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.sap-fr-card__stars .sap-fr-star {
    width: 15px;
    height: 15px;
    color: var(--sap-fr-star);
}

.sap-fr-card__stars .sap-fr-star--empty {
    opacity: 0.38;
    color: rgba(255, 255, 255, 0.55);
}

.sap-fr-card__stars svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sap-fr-card__quote {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    line-height: 1;
    color: rgba(186, 211, 244, 0.22);
    font-weight: 700;
    user-select: none;
    margin-top: -0.1rem;
}

.sap-fr-card__text {
    margin: 0;
    padding: 0 0 0.45rem;
    font-size: 0.84rem;
    line-height: 1.42;
    color: #fff;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 4.26em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* Foot: verified was sharing one row with the name; ~89px badge + 40px avatar left ~49px
   for the name (DevTools on lc). Stack badge on its own row so the name uses full width. */
.sap-fr-card__foot {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0.28rem;
    align-items: center;
    margin-top: auto;
    padding-top: 0.32rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sap-fr-card__who {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    width: 100%;
}

.sap-fr-card__who-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.sap-fr-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.22);
}

.sap-fr-card__name {
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.3;
    margin: 0;
    color: #fff;
    word-break: normal;
    overflow-wrap: normal;
    white-space: normal;
    hyphens: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.sap-fr-card__verified {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    justify-self: end;
    color: var(--sap-fr-verified);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sap-fr-card__verified-icon {
    display: flex;
    color: var(--sap-fr-verified);
}

.sap-fr-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sap-fr-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    width: 100%;
}

.sap-fr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.sap-fr-dot:hover,
.sap-fr-dot:focus-visible {
    background: rgba(255, 255, 255, 0.45);
    outline: none;
}

.sap-fr-dot.is-active {
    width: 26px;
    height: 7px;
    border-radius: 4px;
    background: #fff;
    transform: none;
}

@media (max-width: 599px) {
    .sap-footer-reviews {
        padding: 1.5rem 0 1.35rem;
    }

    .sap-footer-reviews__inner {
        padding: 0 0.65rem;
    }

    .sap-fr-scroller {
        gap: 10px;
        scroll-padding-inline: 10px;
    }

    .sap-fr-card {
        flex: 0 0 min(272px, 91vw);
        min-height: 138px;
        padding: 0.6rem 0.75rem 0.65rem;
    }

    .sap-fr-card__quote {
        font-size: 1.4rem;
    }

    .sap-fr-card__text {
        font-size: 0.8rem;
        line-height: 1.38;
        max-height: 3.86em;
        -webkit-line-clamp: 3;
    }

    .sap-fr-card__avatar {
        width: 34px;
        height: 34px;
        font-size: 0.78rem;
    }

    .sap-fr-card__name {
        font-size: 0.78rem;
    }
}
