/* Original catalogue card treatment, retained without the old search and filter controls. */
.catalogue-page .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.catalogue-page .product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.catalogue-page .product-card-link .product-card {
    height: 100%;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.catalogue-page .product-card-link:hover .product-card,
.catalogue-page .product-card-link:focus-visible .product-card {
    border-color: rgba(199, 255, 77, 0.28);
    box-shadow: 0 28px 88px rgba(0, 0, 0, 0.44);
    transform: translateY(-2px);
}

.catalogue-page .product-card--catalogue {
    position: relative;
    display: grid;
    align-content: start;
    gap: 18px;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(28, 38, 45, 0.98), rgba(14, 20, 25, 0.98));
    box-shadow: var(--shadow);
}

.catalogue-page .product-card--catalogue::after {
    position: absolute;
    right: -10%;
    bottom: -24%;
    width: 180px;
    height: 180px;
    pointer-events: none;
    content: "";
    background: radial-gradient(circle, rgba(199, 255, 77, 0.1), transparent 62%);
}

.catalogue-page .product-card--catalogue > * { position: relative; z-index: 1; }

.catalogue-page .product-card--catalogue > *:not(.product-card__media) {
    margin-inline: 24px;
}

.catalogue-page .product-card--catalogue > *:last-child { margin-bottom: 24px; }

.catalogue-page .product-card__media {
    position: relative;
    display: grid;
    min-height: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    place-items: center;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
}

.catalogue-page .product-card__media img {
    display: block;
    width: 100%;
    min-height: 0;
    height: 100%;
    object-fit: cover;
}

.catalogue-page .product-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    padding: 24px;
    place-items: center;
    color: rgba(199, 255, 77, 0.72);
    font-family: "Bahnschrift", "Aptos Display", "Segoe UI", sans-serif;
    font-size: 1.2rem;
    font-weight: 780;
    line-height: 1.16;
    text-align: center;
    background: linear-gradient(135deg, rgba(199, 255, 77, 0.08), transparent 48%), rgba(255, 255, 255, 0.03);
}

.catalogue-page .product-card__top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.catalogue-page .product-card h2 {
    margin-top: 6px;
    font-family: "Bahnschrift", "Aptos Display", "Segoe UI", sans-serif;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.catalogue-page .product-card > p { color: var(--muted); line-height: 1.72; }

.catalogue-page .status-pill {
    gap: 8px;
    min-height: 0;
    padding: 10px 12px;
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.catalogue-page .status-pill::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    content: "";
    background: #f5f2ea;
    box-shadow: 0 0 0 4px rgba(245, 242, 234, 0.12);
}

.catalogue-page .status-pill--blue::before { background: #68b8ff; box-shadow: 0 0 0 4px rgba(104, 184, 255, 0.12); }
.catalogue-page .status-pill--orange::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(246, 107, 56, 0.12); }

.catalogue-page .product-card__meta,
.catalogue-page .product-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.catalogue-page .product-card__meta span,
.catalogue-page .product-card__meta strong,
.catalogue-page .product-card__tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.84rem;
}

.catalogue-page .product-card__meta strong { color: var(--lime); }
.catalogue-page .sales-pill { color: var(--lime) !important; }

.catalogue-page .spec-list { gap: 12px; }
.catalogue-page .spec-list li { padding-top: 12px; }
.catalogue-page .product-card__view {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(199, 255, 77, 0.22);
    border-radius: 999px;
    color: var(--lime);
    font-size: 0.82rem;
    font-weight: 800;
}

@media (max-width: 640px) {
    .catalogue-page .product-grid { grid-template-columns: 1fr; }
    .catalogue-page .product-card--catalogue > *:not(.product-card__media) { margin-inline: 20px; }
    .catalogue-page .product-card--catalogue > *:last-child { margin-bottom: 20px; }
}
