.product-list-content {
    min-height: 60vh;
    background: var(--background);
}

.product-list-header {
    position: relative;
    overflow: hidden;
    padding: 46px 0 40px;
    background:
        radial-gradient(circle at 88% 22%, rgba(51, 189, 213, 0.19), transparent 26%),
        linear-gradient(135deg, #eaf8fc 0%, #f8fdff 55%, #eef9fc 100%);
    border-bottom: 1px solid var(--border);
}

.catalog-head-inner {
    position: relative;
    z-index: 1;
}

.catalog-head-title {
    max-width: 760px;
    margin: 0;
    color: var(--navy-strong);
}

.product-list-catalog {
    padding: 34px 0 72px;
}

.catalog-toolbar {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.catalog-count {
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: var(--text-muted);
}

.catalog-count-value {
    color: var(--navy);
    font-size: 22px;
    font-weight: 900;
}

.catalog-count-label {
    font-size: 14px;
    font-weight: 650;
}

.catalog-sorting {
    display: grid;
    gap: 7px;
}

.catalog-sorting-label {
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.catalog-sorting-control {
    position: relative;
}

.catalog-sorting-select {
    appearance: none;
    padding-right: 44px;
    background: #fff;
}

.catalog-sorting-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 18px;
    height: 18px;
    color: var(--brand);
    transform: translateY(-50%);
    pointer-events: none;
}

.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.product-list-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-small);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-list-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-medium);
}

.card-image-link {
    display: block;
}

.card-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(145deg, #f7fdff, #eaf7fb);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.product-list-card:hover .card-image {
    transform: scale(1.025);
}

.card-image.placeholder {
    object-fit: contain;
    padding: 16%;
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--navy-strong);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.card-heading {
    margin-bottom: 16px;
}

.card-title {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.3;
}

.card-title a:hover {
    color: var(--brand);
}

.card-price {
    color: var(--navy-strong);
    font-size: 20px;
    font-weight: 900;
}

.card-price del {
    margin-right: 7px;
    color: var(--text-subtle);
    font-size: 15px;
    font-weight: 600;
}

.card-price ins {
    text-decoration: none;
}

.card-button {
    width: 100%;
    margin-top: auto;
    min-height: 50px;
}

.catalog-pagination {
    margin-top: 34px;
}

.catalog-pagination .page-numbers {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.catalog-pagination .page-numbers li {
    margin: 0;
}

.catalog-pagination a.page-numbers,
.catalog-pagination span.page-numbers {
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
}

.catalog-pagination a.page-numbers:hover,
.catalog-pagination span.page-numbers.current {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-active);
}

.catalog-pagination svg {
    width: 18px;
    height: 18px;
}

.catalog-empty {
    grid-column: 1 / -1;
    padding: 42px 22px;
    border: 1px dashed var(--border-strong);
    border-radius: 24px;
    background: var(--surface-blue);
    text-align: center;
}

.catalog-empty-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 22px;
    background: #fff;
    color: var(--brand);
    box-shadow: var(--shadow-small);
}

.catalog-empty-title {
    margin-bottom: 8px;
    font-size: 26px;
}

.catalog-empty-text {
    max-width: 440px;
    margin: 0 auto 20px;
    color: var(--text-muted);
    font-size: 15px;
}

@media (min-width: 768px) {
    .product-list-header {
        padding: 64px 0 54px;
    }

    .product-list-catalog {
        padding: 44px 0 90px;
    }

    .catalog-toolbar {
        grid-template-columns: 1fr auto;
        align-items: end;
        margin-bottom: 30px;
    }

    .catalog-sorting {
        grid-template-columns: auto 240px;
        align-items: center;
        gap: 10px;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .card-content {
        padding: 20px;
    }
}

@media (min-width: 1280px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
    }

    .product-list-header {
        padding: 78px 0 66px;
    }
}
