.product-catalog-page {
    --catalog-bg: #0e110e;
    --catalog-panel: rgba(255, 255, 255, 0.035);
    --catalog-panel-strong: rgba(255, 255, 255, 0.06);
    --catalog-text: rgba(255, 255, 255, 0.96);
    --catalog-muted: rgba(255, 255, 255, 0.66);
    --catalog-faint: rgba(255, 255, 255, 0.42);
    --catalog-line: rgba(255, 255, 255, 0.1);
    --catalog-accent: #aaff00;
    --catalog-accent-soft: rgba(170, 255, 0, 0.1);
}

.product-catalog-shell {
    position: relative;
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
    padding: 120px 0 140px;
}

.product-catalog-shell::before {
    position: absolute;
    z-index: -1;
    top: 30px;
    right: 8%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(170, 255, 0, 0.07);
    filter: blur(110px);
    content: "";
    pointer-events: none;
}

.product-catalog-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 72px;
    margin-bottom: 58px;
}

.product-catalog-heading-copy {
    max-width: 820px;
}

.product-catalog-heading-copy > span {
    display: block;
    margin-bottom: 18px;
    color: var(--catalog-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.product-catalog-heading h1 {
    max-width: 820px;
    margin: 0;
    color: var(--catalog-text);
    font-size: clamp(46px, 6vw, 86px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.product-catalog-heading p {
    max-width: 680px;
    margin: 28px 0 0;
    color: var(--catalog-muted);
    font-size: 18px;
    line-height: 1.65;
}

.product-catalog-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 1px;
    overflow: hidden;
    min-width: 270px;
    border: 1px solid var(--catalog-line);
    border-radius: 18px;
    background: var(--catalog-line);
}

.product-catalog-metrics div {
    display: grid;
    gap: 4px;
    padding: 22px;
    background: rgba(14, 17, 14, 0.94);
}

.product-catalog-metrics strong {
    color: var(--catalog-text);
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
}

.product-catalog-metrics span {
    color: var(--catalog-faint);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(210px, 280px) auto auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--catalog-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(20px);
}

.product-catalog-search,
.product-catalog-category {
    display: flex;
    align-items: center;
    height: 52px;
    border: 1px solid var(--catalog-line);
    border-radius: 12px;
    color: var(--catalog-faint);
    background: rgba(0, 0, 0, 0.2);
}

.product-catalog-search {
    gap: 12px;
    padding: 0 16px;
}

.product-catalog-search:focus-within,
.product-catalog-category:focus-within {
    border-color: rgba(170, 255, 0, 0.48);
    box-shadow: 0 0 0 3px rgba(170, 255, 0, 0.06);
}

.product-catalog-search input,
.product-catalog-category select {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    color: var(--catalog-text);
    outline: 0;
    background: transparent;
}

.product-catalog-search input::placeholder {
    color: var(--catalog-faint);
}

.product-catalog-category {
    position: relative;
    padding-left: 14px;
}

.product-catalog-category select {
    padding: 0 42px 0 0;
    appearance: none;
    cursor: pointer;
}

.product-catalog-category select option {
    color: #fff;
    background: #171a17;
}

.product-catalog-category svg {
    position: absolute;
    right: 15px;
    pointer-events: none;
}

.product-catalog-apply,
.product-catalog-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 52px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.product-catalog-apply {
    border: 1px solid var(--catalog-accent);
    color: #111;
    background: var(--catalog-accent);
    cursor: pointer;
}

.product-catalog-apply:hover {
    color: #111;
    background: #bcff3d;
}

.product-catalog-clear {
    border: 1px solid var(--catalog-line);
    color: var(--catalog-muted);
}

.product-catalog-clear:hover {
    color: var(--catalog-text);
    border-color: rgba(255, 255, 255, 0.24);
}

.product-catalog-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 66px;
    padding: 0 4px;
    color: var(--catalog-faint);
    font-size: 12px;
}

.product-catalog-result-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-catalog-result-summary > strong {
    padding: 5px 10px;
    border: 1px solid rgba(170, 255, 0, 0.22);
    border-radius: 999px;
    color: var(--catalog-accent);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--catalog-accent-soft);
}

.product-catalog-layout-control,
.product-catalog-layout-control > div {
    display: flex;
    align-items: center;
}

.product-catalog-layout-control {
    gap: 10px;
}

.product-catalog-layout-control > span {
    color: var(--catalog-faint);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.product-catalog-layout-control > div {
    gap: 5px;
    padding: 4px;
    border: 1px solid var(--catalog-line);
    border-radius: 11px;
    background: rgba(0, 0, 0, 0.2);
}

.product-catalog-layout-control button {
    display: inline-flex;
    min-width: 52px;
    height: 34px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--catalog-faint);
    background: transparent;
    cursor: pointer;
}

.product-catalog-layout-control button:hover {
    color: var(--catalog-text);
    background: rgba(255, 255, 255, 0.04);
}

.product-catalog-layout-control button[aria-pressed="true"] {
    color: var(--catalog-accent);
    border-color: rgba(170, 255, 0, 0.24);
    background: var(--catalog-accent-soft);
}

.product-catalog-layout-control button > strong {
    font-size: 10px;
    font-weight: 800;
}

.product-catalog-layout-preview {
    display: grid;
    grid-template-columns: repeat(var(--layout-columns), 4px);
    gap: 2px;
}

.product-catalog-layout-preview i {
    width: 4px;
    height: 11px;
    border: 1px solid currentColor;
    border-radius: 1px;
}

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

.product-catalog-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--catalog-line);
    border-radius: 24px;
    background: var(--catalog-panel);
    transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.product-catalog-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--catalog-accent), transparent);
    opacity: 0;
    content: "";
    transition: opacity 0.35s ease;
}

.product-catalog-card:hover {
    border-color: rgba(170, 255, 0, 0.26);
    background: var(--catalog-panel-strong);
    transform: translateY(-7px);
}

.product-catalog-card:hover::after {
    opacity: 1;
}

.product-catalog-visual {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #181b18;
}

.product-catalog-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-catalog-card:hover .product-catalog-visual > img {
    transform: scale(1.045);
}

.product-catalog-visual-empty {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 25%, rgba(170, 255, 0, 0.18), transparent 32%),
        linear-gradient(135deg, #181b18, #101310);
}

.product-catalog-visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 8, 0.04) 40%, rgba(8, 10, 8, 0.82) 100%);
}

.product-catalog-featured {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 11px;
    border: 1px solid rgba(170, 255, 0, 0.4);
    border-radius: 999px;
    color: #111;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--catalog-accent);
}

.product-catalog-logo {
    position: absolute;
    bottom: 18px;
    left: 18px;
    display: grid;
    overflow: hidden;
    width: 52px;
    height: 52px;
    padding: 8px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(12, 15, 12, 0.82);
    backdrop-filter: blur(16px);
}

.product-catalog-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-catalog-card-content {
    display: flex;
    min-height: 330px;
    padding: 30px;
    flex-direction: column;
}

.product-catalog-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.product-catalog-card-topline a,
.product-catalog-card-topline span {
    color: var(--catalog-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.product-catalog-card-topline span {
    color: var(--catalog-faint);
}

.product-catalog-card h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.07;
}

.product-catalog-card h2 a {
    color: var(--catalog-text);
}

.product-catalog-card h2 a:hover {
    color: var(--catalog-accent);
}

.product-catalog-card-content > p {
    margin: 18px 0 24px;
    color: var(--catalog-muted);
    font-size: 15px;
    line-height: 1.65;
}

.product-catalog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 22px;
}

.product-catalog-tags span {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 0 9px;
    border: 1px solid rgba(170, 255, 0, 0.16);
    border-radius: 999px;
    color: rgba(211, 255, 139, 0.78);
    background: rgba(170, 255, 0, 0.055);
    font-size: 9px;
    font-weight: 650;
}

.product-catalog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--catalog-line);
}

.product-catalog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--catalog-faint);
    font-size: 11px;
}

.product-catalog-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    color: var(--catalog-text);
    font-size: 12px;
    font-weight: 700;
}

.product-catalog-card-link svg {
    color: var(--catalog-accent);
    transition: transform 0.25s ease;
}

.product-catalog-card-link:hover {
    color: var(--catalog-accent);
}

.product-catalog-card-link:hover svg {
    transform: translateX(4px);
}

.product-catalog-empty {
    display: grid;
    grid-column: 1 / -1;
    min-height: 340px;
    padding: 48px;
    place-items: center;
    align-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    text-align: center;
    background: var(--catalog-panel);
}

.product-catalog-empty > span {
    color: var(--catalog-accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.product-catalog-empty h2 {
    margin: 14px 0 8px;
    color: var(--catalog-text);
    font-size: 30px;
}

.product-catalog-empty p {
    margin: 0 0 22px;
    color: var(--catalog-muted);
}

.product-catalog-empty a {
    color: var(--catalog-accent);
    font-weight: 700;
}

.product-catalog-pagination {
    margin-top: 56px;
}

@media (min-width: 1051px) {
    .product-catalog-grid[data-columns="3"],
    .product-catalog-grid[data-columns="4"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .product-catalog-grid[data-columns="3"] .product-catalog-card-content,
    .product-catalog-grid[data-columns="4"] .product-catalog-card-content {
        min-height: 320px;
        padding: 24px;
    }

    .product-catalog-grid[data-columns="3"] .product-catalog-card h2,
    .product-catalog-grid[data-columns="4"] .product-catalog-card h2 {
        font-size: clamp(25px, 2.4vw, 34px);
    }

    .product-catalog-grid[data-columns="3"] .product-catalog-card-content > p,
    .product-catalog-grid[data-columns="4"] .product-catalog-card-content > p {
        font-size: 13px;
    }
}

@media (min-width: 1281px) {
    .product-catalog-grid[data-columns="4"] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .product-catalog-grid[data-columns="4"] .product-catalog-card-content {
        padding: 21px;
    }

    .product-catalog-grid[data-columns="4"] .product-catalog-card h2 {
        font-size: 27px;
    }
}

@media (max-width: 1050px) {
    .product-catalog-heading {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .product-catalog-metrics {
        width: min(100%, 360px);
    }

    .product-catalog-toolbar {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 260px) auto;
    }

    .product-catalog-clear {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .product-catalog-shell {
        width: min(100% - 36px, 700px);
        padding: 90px 0 110px;
    }

    .product-catalog-grid,
    .product-catalog-toolbar {
        grid-template-columns: 1fr;
    }

    .product-catalog-clear {
        grid-column: auto;
    }

    .product-catalog-result-bar {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 2px;
    }

    .product-catalog-layout-control {
        display: none;
    }
}

@media (max-width: 520px) {
    .product-catalog-shell {
        width: min(100% - 24px, 480px);
    }

    .product-catalog-heading h1 {
        font-size: 43px;
    }

    .product-catalog-heading p {
        font-size: 16px;
    }

    .product-catalog-metrics {
        width: 100%;
    }

    .product-catalog-metrics div,
    .product-catalog-card-content {
        padding: 22px;
    }

    .product-catalog-card {
        border-radius: 18px;
    }

    .product-catalog-card-content {
        min-height: 300px;
    }
}
