/* Faixa superior 5 cards (estilo vitrine tipo marketplace) */
.hp-home-strip {
    margin-top: 1.25rem;
}

.hp-home-strip__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
}

.hp-home-strip__cell {
    min-width: 0;
}

.hp-home-strip__card {
    display: block;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.hp-home-strip__card--banner {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #f9fafb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-home-strip__card--banner:hover {
    border-color: #d1d5db;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.hp-home-strip__card--banner:focus-visible {
    outline: 2px solid var(--cs-btn-primary-bg, #2563eb);
    outline-offset: 2px;
}

.hp-home-strip__banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    transform-origin: center center;
}

.hp-home-strip__card--banner:hover .hp-home-strip__banner-img {
    transform: scale(1.06);
}

.hp-home-strip__card--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    color: #6b7280;
}

.hp-home-strip__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.35rem;
    font-weight: 800;
    color: #9ca3af;
}

.hp-home-strip__empty-msg {
    font-size: 0.82rem;
    font-weight: 600;
    color: #9ca3af;
    padding: 0.5rem;
    text-align: center;
}

/* Blocos de carrossel estilo marketplace */
.hp-showcase {
    margin-top: 1.75rem;
    padding: 1rem 1rem 1.1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.hp-showcase__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.hp-showcase__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}

.hp-showcase__subtitle {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.hp-showcase__see-all {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}

.hp-showcase__see-all:hover {
    text-decoration: underline;
}

.hp-showcase__carousel {
    display: flex;
    align-items: stretch;
    gap: 0.45rem;
}

.hp-showcase__chev {
    flex: 0 0 2.35rem;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.35rem;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.hp-showcase__chev:hover:not(:disabled) {
    background: #f9fafb;
    color: #111827;
    border-color: #d1d5db;
}

.hp-showcase__chev:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.hp-showcase__viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.hp-showcase__track {
    display: flex;
    transition: transform 220ms ease;
    will-change: transform;
}

.hp-showcase__card {
    width: 20%;
    min-width: 20%;
    box-sizing: border-box;
    padding: 0 0.35rem;
}

.hp-showcase__card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #ececf0;
    border-radius: 0.65rem;
    background: #fafafa;
    padding: 0.5rem 0.5rem 0.55rem;
    position: relative;
}

.hp-showcase__badge {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.12rem 0.35rem;
    border-radius: 0.25rem;
    background: #111827;
    color: #ffffff;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    flex: 0 1 auto;
}

.hp-showcase__badge-wrap {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    right: 0.55rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
    flex-wrap: nowrap;
}

.hp-showcase__badge-left {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.25rem;
    flex: 0 1 auto;
    max-width: none;
}

.hp-showcase__catalog-pill {
    border: 1px solid #bbf7d0;
    background: #dcfce7;
    color: #166534;
    border-radius: 0.25rem;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.12rem 0.35rem;
    cursor: pointer;
    line-height: 1.2;
    margin-left: auto;
    flex: 0 0 auto;
    white-space: nowrap;
}

.hp-showcase__catalog-pill:hover {
    filter: brightness(0.97);
}

.hp-showcase__favorite-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b91c1c;
    line-height: 1;
    flex: 0 0 auto;
}

.hp-showcase__favorite-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

.hp-showcase__media {
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    margin-top: 1.35rem;
}

.hp-showcase__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.hp-showcase__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    font-size: 0.72rem;
    color: #9ca3af;
    text-align: center;
    padding: 0.5rem;
}

.hp-showcase__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding-top: 0.45rem;
}

.hp-showcase__pill {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    font-size: 0.62rem;
    font-weight: 800;
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.hp-showcase__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
    min-height: 1rem;
}

.hp-showcase__rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    color: #4b5563;
    margin-bottom: 0;
    margin-left: auto;
}

.hp-showcase__rating-score {
    font-weight: 700;
    color: #111827;
}

.hp-showcase__stars {
    color: #eab308;
    font-size: 0.65rem;
    letter-spacing: -0.06em;
}

.hp-showcase__name {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    font-weight: 600;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.35em * 2);
}

.hp-showcase__name-link {
    color: inherit;
    text-decoration: none;
}

.hp-showcase__name-link:hover {
    text-decoration: underline;
}

.hp-showcase__desc {
    margin: 0.2rem 0 0;
    font-size: 0.68rem;
    line-height: 1.35;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.35em * 3);
}

.hp-showcase__price-row {
    margin-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
}

.hp-showcase__price-old {
    font-size: 0.72rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.hp-showcase__price-main {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
}

.hp-showcase__actions {
    display: flex;
    gap: 0.3rem;
    margin-top: auto;
    padding-top: 0.45rem;
}

.hp-showcase__btn {
    flex: 1 1 50%;
    min-height: 1.85rem;
    font-size: 0.68rem;
    font-weight: 600;
    border-radius: 0.45rem;
    border: 1px solid #e5e7eb;
    padding: 0.2rem 0.35rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    line-height: 1;
}

.hp-showcase__btn-icon {
    width: 0.84rem;
    height: 0.84rem;
    flex: 0 0 0.84rem;
}

.hp-showcase__btn-text {
    display: inline-block;
}

.hp-showcase__btn-text--mobile {
    display: none;
}

@media (max-width: 767px) {
    .hp-showcase__btn-text--desktop {
        display: none;
    }

    .hp-showcase__btn-text--mobile {
        display: inline-block;
    }
}

.hp-showcase__btn--secondary {
    background: #ffffff;
    color: #374151;
}

.hp-showcase__btn--primary {
    background: #2563eb;
    border-color: #1d4ed8;
    color: #ffffff;
}

.hp-showcase__btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 1023px) {
    .hp-home-strip__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hp-showcase__card {
        width: 33.3333%;
        min-width: 33.3333%;
    }
}

@media (max-width: 767px) {
    .hp-home-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-showcase__card {
        width: 50%;
        min-width: 50%;
    }

    .hp-showcase__chev {
        flex-basis: 2rem;
        height: 2rem;
    }

    .hp-showcase__title {
        font-size: 1.1rem;
    }
}

@media (max-width: 479px) {
    .hp-home-strip__grid {
        grid-template-columns: 1fr;
    }
}

.hp-catalog-modal[hidden] {
    display: none !important;
}

.hp-catalog-modal {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-catalog-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.hp-catalog-modal__panel {
    position: relative;
    width: min(92vw, 29rem);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.hp-catalog-modal__title {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
}

.hp-catalog-modal__info-card {
    border: 1px solid #dbeafe;
    background: #eff6ff;
    border-radius: 0.6rem;
    padding: 0.7rem 0.75rem;
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
}

.hp-catalog-modal__info-icon {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 0.05rem;
}

.hp-catalog-modal__text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #1f2937;
}

.hp-catalog-modal__actions {
    margin-top: 0.75rem;
    display: flex;
    justify-content: flex-end;
}

.hp-catalog-modal__close-btn {
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    border-radius: 0.45rem;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1;
    min-height: 1.9rem;
    padding: 0.35rem 0.7rem;
    cursor: pointer;
}

.hp-catalog-modal__close-btn:hover {
    background: #f9fafb;
}
