.products-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(228, 171, 36, .22), transparent 24%),
        radial-gradient(circle at 80% 22%, rgba(64, 108, 156, .28), transparent 24%),
        linear-gradient(135deg, #111216 0%, #172130 45%, #20324e 100%);
    padding: 90px 0 70px;
}

.products-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .06), rgba(0, 0, 0, .18));
    pointer-events: none;
}

.products-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ep-gold);
}

.products-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.9rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 1rem;
}

.products-hero p {
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    max-width: 760px;
    margin-bottom: 0;
}

.filter-panel,
.product-card,
.top-toolbar {
    background: #fff;
    border: 1px solid var(--ep-border);
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .05);
}

.filter-panel {
    padding: 1.5rem;
    position: sticky;
    top: 24px;
}

.filter-title {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.form-control,
.form-select {
    min-height: 48px;
    border-radius: 14px;
    box-shadow: none !important;
}

.btn-gold {
    background: linear-gradient(135deg, var(--ep-gold), var(--ep-gold-2));
    border: 0;
    color: #fff;
    font-weight: 700;
    padding: .9rem 1.2rem;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(228, 171, 36, .24);
}

.btn-gold:hover {
    color: #fff;
    filter: brightness(.98);
}

.btn-soft {
    background: #f6f7fb;
    border: 1px solid var(--ep-border);
    color: #2d3440;
    font-weight: 600;
    border-radius: 14px;
    padding: .85rem 1rem;
}

.section-soft {
    background: var(--ep-soft);
}

.section-gap {
    padding: 72px 0;
}

.top-toolbar {
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}

.result-count {
    color: var(--ep-muted);
    font-weight: 600;
}

.product-card {
    padding: 1.15rem;
    transition: .3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ep-shadow);
}

.product-thumb {
    height: 220px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 28% 25%, rgba(255, 255, 255, .68), transparent 26%),
        linear-gradient(135deg, rgba(228, 171, 36, .95), rgba(64, 108, 156, .72));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3.1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.product-thumb::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .22);
    right: 12px;
    bottom: -24px;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .9rem;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .7rem;
    border-radius: 999px;
    background: #f7f8fb;
    border: 1px solid var(--ep-border);
    font-size: .82rem;
    color: #46505f;
    font-weight: 600;
}

.product-title {
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: .55rem;
}

.product-copy {
    color: var(--ep-muted);
    font-size: .94rem;
    line-height: 1.7;
    min-height: 72px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.detail-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, .08);
    padding: .7rem 0;
    font-size: .92rem;
}

.detail-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.detail-list span:first-child {
    color: var(--ep-muted);
    font-weight: 600;
}

.detail-list span:last-child {
    text-align: right;
    font-weight: 700;
    color: #243041;
}

.price {
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--ep-blue);
}

.price small {
    color: var(--ep-muted);
    font-size: .86rem;
    font-weight: 600;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ep-border);
    font-size: .88rem;
    font-weight: 600;
    color: #4b5563;
}

.pagination .page-link {
    border: 1px solid var(--ep-border);
    color: #2d3440;
    border-radius: 12px !important;
    margin: 0 .2rem;
    min-width: 42px;
    text-align: center;
    font-weight: 700;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--ep-gold), var(--ep-gold-2));
    border-color: transparent;
    color: #fff;
}

@media (max-width: 991.98px) {
    .filter-panel {
        position: static;
    }
}