:root {
    --product-accent: #0e8eb0;
    --product-accent-dark: #0a6f89;
    --product-accent-soft: #edf9fc;
    --product-text: #14212b;
    --product-muted: #64748b;
    --product-border: #e5edf3;
    --product-bg: #f5f8fb;
    --product-card-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --product-card-shadow-hover: 0 26px 60px rgba(15, 23, 42, 0.16);
}

.products-hero {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 90px 0 85px;
    color: #fff;
}

.products-hero__content {
    max-width: 760px;
}

.products-hero__eyebrow,
.products-toolbar__eyebrow,
.product-card__meta,
.products-filter-panel__eyebrow {
    display: inline-block;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
}

.products-hero__eyebrow {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    margin-bottom: 18px;
}

.products-hero h1 {
    font-size: 46px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 18px;
}

.products-hero p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
    max-width: 680px;
    margin-bottom: 24px;
}

.products-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

    .products-hero__crumbs a,
    .products-hero__crumbs span {
        color: #fff;
    }

        .products-hero__crumbs a:hover {
            color: #fff;
            text-decoration: underline;
        }

.products-page {
    background: linear-gradient(180deg, #ffffff 0%, var(--product-bg) 100%);
    padding: 60px 0 80px;
}

.products-main {
    background: #fff;
    border: 1px solid var(--product-border);
    border-radius: 22px;
    box-shadow: var(--product-card-shadow);
    padding: 30px;
}

.products-main--full {
    width: 100%;
}

.products-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--product-border);
}

.products-toolbar__eyebrow,
.product-card__meta,
.products-filter-panel__eyebrow {
    color: var(--product-accent);
}

.products-toolbar h2 {
    color: var(--product-text);
    margin-bottom: 10px;
}

.products-toolbar p {
    color: var(--product-muted);
    line-height: 1.7;
    margin: 0;
}

.products-grid-row {
    row-gap: 24px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--product-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--product-card-shadow-hover);
        border-color: rgba(14,142,176,.18);
    }

.product-card__image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(180deg, #f9fbfd, #eef5f8);
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 18px;
    transition: transform .35s ease;
}

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

.product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(20, 33, 43, 0.88);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(20,33,43,.08), rgba(20,33,43,.50));
    opacity: 0;
    transition: opacity .25s ease;
}

.product-card:hover .product-card__overlay {
    opacity: 1;
}

.product-card__quickview {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: var(--product-text);
    font-weight: 700;
}

.product-card__body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__brand {
    color: var(--product-muted);
    font-size: 14px;
    margin: 4px 0 12px;
    min-height: 21px;
}

.product-card__title {
    margin: 0 0 14px;
    min-height: 56px;
    font-size: 19px;
    line-height: 1.45;
}

    .product-card__title a {
        color: var(--product-text);
    }

        .product-card__title a:hover {
            color: var(--product-accent);
            text-decoration: none;
        }

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 18px;
    color: #d6dce4;
    font-size: 14px;
}

.checked {
    color: #f59e0b !important;
}

.product-card__footer {
    margin-top: auto;
}

.product-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    background: var(--product-accent);
    border: 1px solid var(--product-accent);
    color: #fff;
    font-weight: 700;
    transition: all .2s ease;
}

    .product-card__btn:hover {
        background: var(--product-accent-dark);
        border-color: var(--product-accent-dark);
        color: #fff;
        text-decoration: none;
    }

.products-filter-fab {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 10040;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 14px 18px;
    background: var(--product-accent);
    color: #fff;
    box-shadow: 0 18px 40px rgba(14, 142, 176, 0.35);
    font-weight: 800;
    letter-spacing: .3px;
    transition: transform .2s ease, background .2s ease;
}

    .products-filter-fab:hover {
        background: var(--product-accent-dark);
        transform: translateY(-2px);
    }

    .products-filter-fab i {
        font-size: 16px;
    }

.products-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    z-index: 10030;
}

    .products-filter-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
    }

.products-filter-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, calc(100vw - 24px));
    height: 100vh;
    background: #fff;
    box-shadow: -20px 0 50px rgba(15, 23, 42, 0.16);
    transform: translateX(100%);
    transition: transform .28s ease;
    z-index: 10035;
    display: flex;
    flex-direction: column;
}

    .products-filter-panel.is-open {
        transform: translateX(0);
    }

.products-filter-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 22px 18px;
    border-bottom: 1px solid var(--product-border);
}

    .products-filter-panel__header h3 {
        margin: 6px 0 0;
        color: var(--product-text);
    }

.products-filter-close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--product-border);
    background: #fff;
    color: var(--product-text);
}

.products-filter-panel__body {
    padding: 20px 22px 24px;
    overflow-y: auto;
}

.products-filter-panel__text {
    color: var(--product-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}

.products-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .products-category-list li + li {
        margin-top: 10px;
    }

.products-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--product-border);
    border-radius: 14px;
    background: #fff;
    color: var(--product-text);
    font-weight: 700;
    transition: all .2s ease;
}

    .products-category-link:hover,
    .products-category-link--all {
        background: var(--product-accent-soft);
        border-color: rgba(14,142,176,.22);
        color: var(--product-accent);
        text-decoration: none;
    }

.products-empty-image {
    display: block;
    max-width: 260px;
}

body.products-filter-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .products-hero {
        padding: 70px 0;
    }

        .products-hero h1 {
            font-size: 38px;
        }

    .products-main {
        padding: 24px;
    }

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

@media (max-width: 575.98px) {
    .products-hero h1 {
        font-size: 31px;
    }

    .products-hero p {
        font-size: 15px;
    }

    .products-main,
    .product-card,
    .products-filter-panel {
        border-radius: 18px;
    }

    .products-page {
        padding: 40px 0 70px;
    }

    .product-card__body {
        padding: 18px;
    }

    .product-card__title {
        min-height: auto;
        font-size: 17px;
    }

    .products-filter-fab {
        right: 16px;
        bottom: 18px;
        padding: 13px 16px;
    }

    .products-filter-panel {
        width: calc(100vw - 12px);
        top: 6px;
        right: 6px;
        height: calc(100vh - 12px);
    }
}
