.wc-bi-marketplace-wrap {
    background: #f6f8fb;
    margin: 20px 0 0 -20px;
    padding: 24px 20px 32px;
}

.wc-bi-marketplace-shell {
    max-width: 1180px;
}

.wc-bi-marketplace-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: center;
    min-height: 136px;
    margin-bottom: 16px;
}

.wc-bi-marketplace-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: #eaf2ff;
    color: #2563eb;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 10px;
}

.wc-bi-marketplace-copy h1 {
    margin: 0 0 8px;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.08;
    font-weight: 900;
    color: #071634;
    letter-spacing: -0.04em;
}

.wc-bi-marketplace-copy p {
    margin: 0;
    max-width: 680px;
    color: #43516a;
    font-size: 15px;
    line-height: 1.55;
}

.wc-bi-marketplace-art {
    width: 360px;
    height: 140px;
    background: url("https://cp.diletec.com.br/media/public/banners/topo-new-ecommerce-min.png") center right / contain no-repeat;
    opacity: .92;
}

.wc-bi-marketplace-filter-card {
    border: 1px solid #dfe7f2;
    background: rgba(255,255,255,.92);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15,23,42,.06);
    margin-bottom: 18px;
}

.wc-bi-marketplace-toolbar {
    display: grid;
    grid-template-columns: minmax(280px,1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
}

.wc-bi-marketplace-search input {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 42px;
    border: 1px solid #dfe7f2;
    border-radius: 999px;
    background: #fff url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2394a3b8' d='M9.5 3a6.5 6.5 0 1 1 0 13 6.5 6.5 0 0 1 0-13m0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9m8.71 11.29 2.5 2.5-1.42 1.42-2.5-2.5z'/%3E%3C/svg%3E") no-repeat 15px center;
}

.wc-bi-marketplace-link.button {
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.wc-bi-marketplace-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px 12px;
    border-top: 1px solid #eef2f7;
    background: linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}

.wc-bi-chip {
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid #e5edf7;
    border-radius: 999px;
    background: #fff;
    color: #26364f;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
}

.wc-bi-chip.is-active {
    background: linear-gradient(135deg,#2563eb,#0f5bd7);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 7px 14px rgba(37,99,235,.20);
}

.wc-bi-marketplace-section-head {
    margin-bottom: 14px;
}

.wc-bi-marketplace-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-bi-marketplace-section-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg,#f97316,#ef4444);
    box-shadow: 0 8px 14px rgba(37,99,235,.22);
    font-size: 14px;
}

.wc-bi-marketplace-section-head h2 {
    margin: 0;
    color: #071634;
    font-size: clamp(21px,2vw,27px);
    font-weight: 900;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.wc-bi-marketplace-section-head h2 small {
    margin-left: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #718096;
    text-transform: none;
}

.wc-bi-marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
    gap: 16px;
}

.wc-bi-marketplace-card {
    display: flex;
    flex-direction: column;
    min-height: 366px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .18s ease, transform .18s ease;
}

.wc-bi-marketplace-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15,23,42,.08);
}

.wc-bi-marketplace-card-top {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
    padding: 12px 12px 0;
}

.wc-bi-marketplace-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.wc-bi-marketplace-star {
    color: #ff6b00;
    font-size: 10px;
}

.wc-bi-marketplace-card-icons {
    display: flex;
    gap: 10px;
    color: #6b7a86;
    font-size: 16px;
}

.wc-bi-marketplace-media {
    display: block;
    height: 150px;
    margin: 0 12px 12px;
    padding: 10px 8px;
    border-radius: 12px;
    background: #f8fafc;
    overflow: hidden;
}

.wc-bi-marketplace-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.wc-bi-marketplace-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #2563eb;
    font-size: 28px;
    font-weight: 900;
}

.wc-bi-marketplace-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 12px 12px;
}

.wc-bi-marketplace-label {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 6px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #eef5ff;
    color: #2262d8;
    font-size: 10px;
    font-weight: 900;
}

.wc-bi-marketplace-body h3 {
    min-height: 38px;
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.24;
    font-weight: 700;
}

.wc-bi-marketplace-body h3 a {
    color: #354052;
    text-decoration: none;
}

.wc-bi-marketplace-body p {
    min-height: 34px;
    margin: 0 0 8px;
    color: #526174;
    font-size: 12.5px;
    line-height: 1.34;
    flex: 1;
}

.wc-bi-marketplace-old-price {
    display: block;
    color: #9aa4b2;
    font-size: 12px;
    line-height: 1.1;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.wc-bi-marketplace-price {
    font-size: 18px;
    line-height: 1.1;
    font-weight: 950;
    color: #3d4653;
}

.wc-bi-marketplace-cycle {
    margin-top: 2px;
    color: #486581;
    font-size: 11px;
    font-weight: 800;
}

.wc-bi-marketplace-installments {
    margin-top: 4px;
    color: #728094;
    font-size: 11.5px;
    line-height: 1.25;
}

.wc-bi-marketplace-actions .button {
    width: 100%;
    min-height: 40px;
    margin-top: 10px;
    margin-bottom: 2px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 0;
    box-shadow: none;
    text-decoration: none;
    background: linear-gradient(135deg,#1e2a68,#2563eb);
    color: #fff;
    font-weight: 800;
}

.wc-bi-marketplace-actions .button:hover,
.wc-bi-marketplace-actions .button:focus {
    background: linear-gradient(135deg,#17214f,#1d4ed8);
    color: #fff;
    box-shadow: none;
}

.wc-bi-marketplace-message {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #dfe7f2;
}

.wc-bi-marketplace-message.is-error {
    border-color: #fecaca;
    background: #fff5f5;
    color: #991b1b;
}

@media (max-width: 991px) {
    .wc-bi-marketplace-hero {
        grid-template-columns: 1fr;
    }

    .wc-bi-marketplace-art {
        width: 100%;
        max-width: 360px;
    }

    .wc-bi-marketplace-toolbar {
        grid-template-columns: 1fr;
    }
}
