.cvp-page {
    width: min(var(--amplada-publica), calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 44px;
}

.cvp-hero,
.cvp-empty,
.cvp-detail,
.cvp-filters,
.cvp-card {
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 45, 70, .06);
}

.cvp-hero,
.cvp-empty {
    padding: 24px;
    margin-bottom: 18px;
}

.cvp-kicker {
    margin: 0 0 6px;
    color: #c21d2b;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cvp-hero h1 {
    margin: 0 0 8px;
    color: #173b70;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cvp-hero p,
.cvp-empty p {
    margin: 0;
    color: #5d6f81;
}

.cvp-filters {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto auto;
    gap: 12px;
    align-items: end;
    padding: 16px;
    margin-bottom: 18px;
}

.cvp-filters label {
    display: grid;
    gap: 6px;
    color: #173b70;
    font-weight: 800;
}

.cvp-filters input,
.cvp-filters select {
    min-height: 42px;
    border: 1px solid #cbd8e5;
    border-radius: 8px;
    padding: 8px 10px;
    font: inherit;
}

.cvp-checkbox {
    grid-template-columns: auto 1fr !important;
    align-items: center;
    gap: 8px;
    min-height: 42px;
}

.cvp-checkbox input {
    min-height: auto;
}

.cvp-filters button,
.cvp-contact-options a {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    padding: 9px 15px;
    background: #173b70;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.cvp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 16px;
}

.cvp-card {
    overflow: hidden;
}

.cvp-card-photo {
    position: relative;
    height: 180px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #eef3f8;
    color: #173b70;
    font-size: 3rem;
    text-decoration: none;
}

.cvp-card-photo img,
.cvp-detail-main-photo img,
.cvp-detail-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cvp-sold {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 999px;
    padding: 5px 9px;
    background: #c21d2b;
    color: #fff;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cvp-card-body {
    padding: 14px;
}

.cvp-card-top,
.cvp-contact-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.cvp-pill,
.cvp-state {
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .78rem;
    font-weight: 800;
}

.cvp-pill {
    background: #e8f0fb;
    color: #173b70;
}

.cvp-state {
    background: #f4f6f8;
    color: #576b7e;
}

.cvp-card h2 {
    margin: 10px 0 8px;
    font-size: 1.08rem;
    line-height: 1.25;
}

.cvp-card h2 a,
.cvp-back a {
    color: #173b70;
    text-decoration: none;
}

.cvp-price {
    margin: 0 0 8px;
    color: #c21d2b;
    font-size: 1.2rem;
    font-weight: 900;
}

.cvp-price-big {
    font-size: 1.8rem;
}

.cvp-seller {
    margin: 0;
    color: #66788a;
    font-size: .92rem;
}

.cvp-pagination {
    margin-top: 22px;
}

.cvp-back {
    margin: 0 0 14px;
}

.cvp-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 22px;
    padding: 18px;
}

.cvp-detail-main-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: #eef3f8;
    color: #173b70;
    font-size: 4rem;
}

.cvp-detail-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cvp-detail-thumb {
    width: 88px;
    height: 66px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #e1e9f2;
    background: #eef3f8;
}

.cvp-detail-content h1 {
    margin: 10px 0 12px;
    color: #173b70;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.cvp-description {
    margin-top: 18px;
    color: #31485c;
    line-height: 1.65;
}

.cvp-contact {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e1e9f2;
}

.cvp-contact h2 {
    margin: 0 0 8px;
    color: #173b70;
}

.cvp-contact-options span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 9px 15px;
    background: #f4f6f8;
    color: #576b7e;
    font-weight: 800;
}

@media (max-width: 860px) {
    .cvp-filters,
    .cvp-detail {
        grid-template-columns: 1fr;
    }
}

