/* Catalogue page — filters, product cards, pagination */
.pc-filters-section {
    margin-bottom: 1rem;
    padding: 0 !important;
}

.pc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    align-items: flex-end;
    padding: .65rem .85rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .5rem;
}

.pc-filters__field {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 140px;
}

.pc-filters__field--search {
    flex: 1;
    min-width: 180px;
}

.pc-filters__label {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
}

.pc-filters__select,
.pc-filters__input {
    padding: .45rem .65rem;
    border: 1px solid #cbd5e1;
    border-radius: .375rem;
    font-size: .875rem;
    font-family: inherit;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.pc-filters__select:focus,
.pc-filters__input:focus {
    outline: none;
    border-color: #f2b200;
    box-shadow: 0 0 0 3px rgba(242, 178, 0, .15);
}

.pc-filters__clear {
    font-size: .8rem;
    color: #64748b;
    text-decoration: none;
    align-self: center;
    padding: .45rem 0;
    white-space: nowrap;
}

.pc-filters__clear:hover {
    color: #0a1628;
}

/* Product cards */
.pc-grid {
    gap: 1.25rem !important;
}

.pc-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pc-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(12, 31, 63, .1);
    border-color: #f2b200;
}

.pc-product-card__media {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.25rem 1rem .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.pc-product-card__image {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
    transition: transform .25s ease;
}

.pc-product-card:hover .pc-product-card__image {
    transform: scale(1.04);
}

.pc-product-card__type {
    position: absolute;
    top: .65rem;
    right: .65rem;
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: #0c1f3f;
    color: #fff;
    padding: .2rem .5rem;
    border-radius: 999px;
}

.pc-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem 1.1rem 1.1rem;
    gap: .35rem;
}

.pc-product-card__brand {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #f2b200;
    margin: 0;
}

.pc-product-card__title {
    font-size: .95rem;
    font-weight: 700;
    color: #0c1f3f;
    line-height: 1.35;
    margin: 0 0 .25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-product-card__meta {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    margin-bottom: .5rem;
    flex: 1;
}

.pc-product-card__tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    color: #64748b;
    line-height: 1.3;
}

.pc-product-card__tag i {
    color: #94a3b8;
    font-size: .85rem;
    flex-shrink: 0;
}

.pc-product-card__cta {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    font-weight: 600;
    color: #0c1f3f;
    margin-top: auto;
    padding-top: .65rem;
    border-top: 1px solid #f1f5f9;
    transition: color .15s, gap .15s;
}

.pc-product-card:hover .pc-product-card__cta {
    color: #f2b200;
    gap: .55rem;
}

.pc-product-card__cta i {
    font-size: 1rem;
    transition: transform .15s;
}

.pc-product-card:hover .pc-product-card__cta i {
    transform: translateX(2px);
}

/* Product cards — reset legacy styles */
.pc-product {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.pc-product__hit.pc-product-card {
    border: 1px solid #e2e8f0;
    padding: 0;
}

.pc-categories a.pc-category {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.pc-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pc-pagination nav {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    align-items: center;
}

.pc-pagination a,
.pc-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 .5rem;
    border: 1px solid #cbd5e1;
    border-radius: .375rem;
    font-size: .875rem;
    text-decoration: none;
    color: #0a1628;
    background: #fff;
}

.pc-pagination span[aria-current="page"] span,
.pc-pagination .active > span {
    background: #0a1628;
    color: #fff;
    border-color: #0a1628;
}

.pc-detail-page {
    padding-bottom: 3rem;
}

.pc-detail__back {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: .9rem;
    color: #64748b;
    text-decoration: none;
}

.pc-detail__back:hover {
    color: #0a1628;
}
