.pv-shop-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 2rem 0 1.25rem;
}

.pv-shop-eyebrow {
    margin: 0 0 0.4rem;
    color: var(--pv-blue);
    font: 700 0.75rem/1.4 var(--pv-font);
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.pv-shop-intro h1 {
    margin: 0;
    color: var(--pv-ink);
    font: 750 clamp(2rem, 3vw, 2.5rem)/1.1 var(--pv-font);
    letter-spacing: -0.04em;
}

.pv-shop-description {
    margin: 0.55rem 0 0;
    color: var(--pv-muted);
    font: 400 1rem/1.55 var(--pv-font);
}

.pv-shop-count {
    flex: none;
    margin: 0 0 0.2rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--pv-border);
    border-radius: 999px;
    background: var(--pv-surface);
    color: var(--pv-muted);
    font: 500 0.875rem/1.3 var(--pv-font);
}

.pv-shop-count strong {
    color: var(--pv-ink);
    font-weight: 700;
}

.pv-shop-filters {
    margin: 0 0 2rem;
    border: 1px solid var(--pv-border);
    border-radius: 12px;
    background: var(--pv-surface);
    box-shadow: var(--pv-shadow);
}

.pv-filter-form {
    margin: 0;
    padding: 1.25rem;
}

.pv-filter-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pv-filter-heading h2 {
    margin: 0;
    color: var(--pv-ink);
    font: 700 1.125rem/1.35 var(--pv-font);
    letter-spacing: -0.015em;
}

.pv-filter-heading p {
    margin: 0.2rem 0 0;
    color: var(--pv-muted);
    font: 400 0.875rem/1.45 var(--pv-font);
}

.pv-filter-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.pv-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.pv-field--search {
    grid-column: span 2;
}

.pv-field > span:first-child,
.pv-price-field legend {
    padding: 0;
    color: var(--pv-ink-soft);
    font: 600 0.8125rem/1.35 var(--pv-font);
}

.pv-field input,
.pv-field select {
    width: 100%;
    min-width: 0;
    height: 42px;
    margin: 0;
    padding: 0 0.75rem;
    border: 1px solid #cbd2dd;
    border-radius: 6px;
    background-color: var(--pv-surface);
    color: var(--pv-ink);
    font: 400 0.875rem var(--pv-font);
}

.pv-field input::placeholder {
    color: #7b8492;
    opacity: 1;
}

.pv-field select {
    padding-right: 2rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%235b6577' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
}

.pv-field input:focus,
.pv-field select:focus {
    outline: none;
    border-color: var(--pv-blue);
    box-shadow: 0 0 0 3px rgba(22, 104, 227, 0.18);
}

.pv-price-field {
    min-width: 0;
}

.pv-price-field legend {
    margin-bottom: 0.4rem;
}

.pv-price-inputs {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.pv-price-inputs label {
    position: relative;
    display: block;
    min-width: 0;
    flex: 1;
}

.pv-price-inputs label > span[aria-hidden="true"] {
    position: absolute;
    top: 50%;
    left: 0.7rem;
    z-index: 1;
    transform: translateY(-50%);
    color: var(--pv-muted);
    font: 400 0.875rem var(--pv-font);
}

.pv-price-inputs input {
    padding-left: 1.4rem;
}

.pv-price-separator {
    color: var(--pv-muted);
    font: 400 0.8125rem var(--pv-font);
}

.pv-filter-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--pv-border);
}

.pv-filter-actions button {
    min-height: 40px;
    padding: 0 1.1rem;
    border: 1px solid var(--pv-blue);
    border-radius: 6px;
    background: var(--pv-blue);
    color: #fff;
    font: 650 0.875rem var(--pv-font);
    cursor: pointer;
}

.pv-filter-actions button:hover {
    border-color: var(--pv-blue-hover);
    background: var(--pv-blue-hover);
}

.pv-filter-actions a {
    color: var(--pv-muted);
    font: 600 0.875rem var(--pv-font);
    text-decoration: none;
}

.pv-filter-actions a:hover {
    color: var(--pv-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pv-filter-form :focus-visible {
    outline: 3px solid rgba(22, 104, 227, 0.3);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .pv-filter-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pv-field--search {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .pv-shop-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .pv-shop-count {
        padding: 0.4rem 0.75rem;
    }

    .pv-filter-form {
        padding: 1rem;
    }

    .pv-filter-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.85rem;
    }

    .pv-field--search {
        grid-column: auto;
    }

    .pv-filter-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 0.75rem;
    }

    .pv-filter-actions button {
        width: 100%;
    }

    .pv-filter-actions a {
        align-self: center;
    }
}
