.products-page {
    padding-top: 120px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 51, 102, 0.2), transparent 36%),
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.08), transparent 30%),
        linear-gradient(180deg, #040404 0%, #090909 100%);
    min-height: 100vh;
}

.products-shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.products-hero {
    padding: 36px 0 34px;
}

.products-kicker {
    display: inline-flex;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(255, 51, 102, 0.4);
    border-radius: 999px;
    padding: 8px 14px;
    margin-bottom: 16px;
    background: rgba(255, 51, 102, 0.08);
}

#productsPageTitle {
    font-size: clamp(38px, 6vw, 68px);
    letter-spacing: -2px;
    line-height: 1.04;
    margin-bottom: 12px;
}

#productsPageSubtitle {
    color: #d0d0d0;
    max-width: 760px;
    line-height: 1.7;
}

.products-hero-stats {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hero-stat-card {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
}

.hero-stat-value {
    display: block;
    color: white;
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 6px;
}

.hero-stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.products-catalog {
    padding: 12px 0 80px;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
}

.toolbar-copy h2 {
    font-size: clamp(25px, 3.4vw, 40px);
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.toolbar-copy p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 12px;
}

.toolbar-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.filter-field {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    border-radius: 22px;
    padding: 8px 10px 8px 16px;
    border: 1px solid rgba(255, 108, 156, 0.42);
    background: linear-gradient(145deg, rgba(255, 51, 102, 0.14), rgba(12, 12, 16, 0.85));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 22px rgba(0, 0, 0, 0.26);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.filter-field::after {
    content: '▾';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd7e5;
    font-size: 11px;
    pointer-events: none;
}

.filter-field:hover {
    border-color: rgba(255, 119, 166, 0.72);
    transform: translateY(-1px);
}

.filter-field:focus-within {
    border-color: rgba(255, 51, 102, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 3px rgba(255, 51, 102, 0.24), 0 14px 22px rgba(0, 0, 0, 0.3);
}

.filter-field span {
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #ffd4e2;
    font-weight: 600;
}

.filter-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 210px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 10px 34px 10px 14px;
    color: white;
    background: linear-gradient(140deg, rgba(0, 0, 0, 0.58), rgba(33, 33, 40, 0.76));
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.filter-field select:hover {
    border-color: rgba(255, 255, 255, 0.34);
}

.filter-field select:focus {
    outline: none;
    border-color: rgba(255, 51, 102, 0.85);
    box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.18);
}

.filter-field option {
    color: #f2f2f4;
    background: #121217;
}

.products-empty {
    text-align: center;
    border: 1px solid rgba(255, 51, 102, 0.5);
    border-radius: 12px;
    background: rgba(255, 51, 102, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}

.product-card {
    opacity: 0;
    animation: fadeInUp 0.45s ease forwards;
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(155deg, #111116, #070708);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.product-card-link:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 51, 102, 0.5);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card-link:hover .product-image-wrap img {
    transform: scale(1.04);
}

.product-card-body {
    padding: 16px;
}

.product-card-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: white;
    background: rgba(255, 51, 102, 0.9);
    margin-bottom: 10px;
}

.product-card-name {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 7px;
}

.product-card-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

.product-card-price {
    color: var(--accent);
    font-size: 16px;
    font-weight: 700;
}

.product-card-action {
    font-size: 11px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #f4f4f4;
    opacity: 0.85;
}

.products-pagination {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-number,
.page-nav {
    text-decoration: none;
    color: #f3f3f3;
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 12px;
    border-radius: 999px;
    min-width: 40px;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 12px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.page-number:hover,
.page-nav:hover {
    border-color: rgba(255, 51, 102, 0.7);
    transform: translateY(-1px);
}

.page-number.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.page-nav.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.page-dots {
    color: var(--text-muted);
    letter-spacing: 2px;
}

@media (max-width: 980px) {
    .products-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .products-shell {
        width: min(1280px, calc(100% - 28px));
    }

    .products-page {
        padding-top: 92px;
    }

    .products-hero {
        padding-top: 20px;
    }

    .products-hero-stats {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .filter-field {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 8px;
        border-radius: 18px;
        padding: 12px;
    }

    .filter-field::after {
        top: 68%;
        right: 24px;
    }

    .filter-field select {
        min-width: 0;
        width: 100%;
    }
}
