.product-all-modern-page {
    --pa-primary: #0098af;
    --pa-deep: #006473;
    --pa-red: #ea0000;
    --pa-ink: #17383d;
    --pa-bg: #f5fbfc;
    --pa-line: #d5edef;
    color: var(--pa-ink);
    background: var(--pa-bg);
    overflow: hidden
}

    .product-all-modern-page * {
        box-sizing: border-box
    }

    .product-all-modern-page .container {
        width: min(1200px, calc(100% - 40px));
        margin: auto
    }

.product-all-hero {
    padding: 64px 0 58px;
    color: #fff;
    background: linear-gradient(125deg, #006473, #0098af 70%, #44b9bd)
}

.product-all-eyebrow {
    display: inline-block;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #FFFF01;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase
}

.product-all-hero h1 {
    margin: 17px 0 10px;
    font-size: 42px;
    line-height: 1.05;
    letter-spacing: -.04em;
    font-family: InterSB;
}

.product-all-hero p {
    max-width: 770px;
    margin: 0;
    color: #e3f8fa;
    font-size: 17px;
    line-height: 1.65
}

.product-all-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    color: #d5edef;
    font-size: 13px
}

    .product-all-trust span {
        padding: 7px 11px;
        color: var(--pa-deep);
        background: #e9f8f9;
        border-radius: 999px;
        font-size: 14px;
        font-family: InterSB;
        width: max-content;
    }

    .product-all-trust i {
        margin-right: 6px;
        color: #fff
    }

.product-all-navigation {
    background: #fff;
    border-bottom: 1px solid var(--pa-line)
}

.product-all-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 9px
}

    .product-all-nav-head h2 {
        margin: 0;
        font-size: 19px
    }

.product-category-toggle,
.product-mobile-filter-toggle {
    display: none
}

.product-category-nav > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0 0 19px;
    list-style: none
}

.product-category-nav .product-menu-item {
    position: relative;
    display: flex;
    align-items: center
}

.product-category-nav .product-menu-link {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid var(--pa-line);
    border-radius: 999px;
    color: var(--pa-deep);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s
}

    .product-category-nav .product-menu-link:hover {
        color: #fff;
        background: var(--pa-primary);
        border-color: var(--pa-primary)
    }

.product-menu-toggle {
    width: 27px;
    height: 27px;
    margin-left: -36px;
    margin-right: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--pa-deep);
    background: transparent;
    cursor: pointer
}

.product-menu-submenu {
    position: absolute;
    top: 46px;
    left: 0;
    z-index: 5;
    display: none;
    min-width: 210px;
    margin: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--pa-line);
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 100, 115, .15);
    list-style: none
}

.product-menu-item.is-open .product-menu-submenu,
.product-menu-item:hover .product-menu-submenu {
    display: block
}

.product-menu-submenu a {
    display: block;
    padding: 10px 12px;
    color: var(--pa-ink);
    font-size: 13px;
    text-decoration: none;
    border-radius: 7px
}

    .product-menu-submenu a:hover {
        color: var(--pa-primary);
        background: #edf9fa
    }

.product-all-content {
    padding: 30px 0 85px
}

.product-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 21px
}

    .product-toolbar > div:first-child {
        font-size: 15px
    }

        .product-toolbar > div:first-child strong {
            color: var(--pa-primary);
            font-size: 22px;
            font-family: InterB;
        }

.product-all-trust span i {
    color: var(--brand-accent);
}

.product-toolbar-muted {
    color: #70888c;
    font-family: InterM;
}

.product-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.product-active-filter {
    padding: 7px 11px;
    color: var(--pa-deep);
    background: #e9f8f9;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    font-family: InterSB;
}

.product-sort-label {
    color: #6c8589;
    font-size: 14px;
    font-family: InterSB;
}

.product-sort-select {
    height: 39px;
    padding: 0 29px 0 11px;
    color: var(--pa-ink);
    background: #fff;
    border: 1px solid var(--pa-line);
    border-radius: 8px;
    outline: 0;
    font: inherit;
    font-size: 13px
}

    .product-sort-select:focus,
    .product-clear-filter:focus-visible,
    .product-category-toggle:focus-visible,
    .product-mobile-filter-toggle:focus-visible,
    .product-filter-close:focus-visible {
        outline: 3px solid rgba(0, 152, 175, .25);
        outline-offset: 2px
    }

.product-clear-filter {
    color: var(--pa-red);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none
}

.product-all-layout {
    display: grid;
    grid-template-columns: 256px minmax(0, 1fr);
    gap: 20px;
    align-items: start
}

.product-filter-panel {
    min-width: 0
}

.product-filter-mobile-head {
    display: none
}

.price-side.price-filter {
    padding: 15px;
    background: #fff;
    border: 1px solid var(--pa-line);
    border-radius: 17px;
    box-shadow: 0 9px 24px rgba(0, 100, 115, .06)
}

.price-side h3 {
    margin: 0 0 13px;
    color: var(--pa-ink);
    font-size: 17px;
}

.pro-cate-side-sort {
    padding-bottom: 17px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--pa-line)
}

.price-category-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none
}

    .price-category-list a {
        display: block;
        padding: 7px 8px;
        color: #5b777b;
        border-radius: 7px;
        font-size: 14px;
        text-decoration: none;
        font-family: InterSB;
        line-height: 150%;
        border-top: 1px solid var(--pa-line);
    }

        .price-category-list a:hover {
            color: var(--pa-primary);
            background: #effafb
        }

.price-options {
    display: grid;
    gap: 0;
}

    .price-options a,
    .trademark-item {
        display: flex;
        align-items: center;
        gap: 9px;
        min-height: 38px;
        padding: 6px 8px;
        color: #5b777b;
        border-radius: 8px;
        font-size: 14px;
        font-family: InterSB;
        text-decoration: none;
        transition: .2s;
        border-top: 1px solid var(--pa-line);
    }

        .price-options a:hover,
        .price-options a.is-active,
        .trademark-item:hover,
        .trademark-item.is-active {
            color: var(--pa-deep);
            background: #e9f8f9
        }

        .price-options a.is-active,
        .trademark-item.is-active {
            font-weight: 800;
            box-shadow: inset 3px 0 var(--pa-primary)
        }

.list-trademark-sort {
    margin-top: 23px;
    padding-top: 20px;
    border-top: 1px solid var(--pa-line)
}

.trademark-item {
    margin: 3px 0
}

.trademark-radio {
    width: 15px;
    height: 15px;
    border: 2px solid #9bc4c8;
    border-radius: 50%
}

.trademark-item.is-active .trademark-radio {
    border-color: var(--pa-primary);
    box-shadow: inset 0 0 0 3px #fff;
    background: var(--pa-primary)
}

.product-all-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.product-all-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pa-line);
    border-radius: 17px;
    box-shadow: 0 7px 20px rgba(0, 100, 115, .06);
    transition: box-shadow .25s, transform .25s, border-color .25s
}

.product-all-media {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #fbfeff
}

.product-all-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 8px;
}

    .product-all-image-link img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform .35s ease
    }

.product-discount {
    position: absolute;
    top: 11px;
    left: 11px;
    padding: 5px 8px;
    color: #fff;
    background: var(--pa-red);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800
}

.product-bestseller {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 5px 8px;
    color: #fff;
    background: var(--pa-deep);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800
}

    .product-bestseller i {
        color: #ffdf62
    }

.product-all-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px;
}

.product-all-name {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: InterSB;
}

    .product-all-name a {
        color: var(--pa-ink);
        text-decoration: none;
        display: block;
    }

        .product-all-name a:hover {
            color: var(--pa-primary)
        }

.product-all-sales {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    color: #70888c;
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: none;
}

.product-all-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-height: 29px;
    margin-top: 10px
}

    .product-all-price strong {
        color: var(--pa-red);
        font-size: 16px;
    }

    .product-all-price del {
        color: #8ba0a3;
        font-size: 12px
    }

.product-all-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    color: #6f888b;
    font-size: 13px;
}

.product-stars {
    color: #f3ae22;
    letter-spacing: 1px
}

.product-all-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 14px
}

.product-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    color: var(--pa-deep);
    border: 1px solid var(--pa-line);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none
}

.product-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    flex: 1;
    padding: 0 8px;
    color: #fff;
    background: var(--pa-primary);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer
}

    .product-cart-button:hover {
        background: var(--pa-deep)
    }

.product-all-card.is-out .product-cart-button {
    color: #81999c;
    background: #e5eff0;
    cursor: not-allowed
}

.product-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 35px;
    text-align: center;
    background: #fff;
    border: 1px dashed #a9d7da;
    border-radius: 17px
}

.product-empty-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    color: var(--pa-primary);
    background: #e8f8f9;
    border-radius: 50%;
    font-size: 21px
}

.product-empty strong {
    font-size: 19px;
    font-family: InterSB;
}

.product-empty small {
    margin-top: 8px;
    color: #70888c;
    font-family: InterSB;
    font-size: 15px;
}

.product-empty-actions {
    display: flex;
    gap: 9px;
    margin-top: 19px
}

    .product-empty-actions a {
        padding: 10px 14px;
        color: #fff;
        background: var(--pa-primary);
        border-radius: 8px;
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
        font-family: InterSB;
    }

        .product-empty-actions a + a {
            color: var(--pa-deep);
            background: #e6f5f6
        }

.product-pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 30px
}

.page-link {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    color: var(--pa-deep);
    background: #fff;
    border: 1px solid var(--pa-line);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none
}

    .page-link:hover,
    .page-link.is-current {
        color: #fff;
        background: var(--pa-primary);
        border-color: var(--pa-primary)
    }

@media (hover: hover) {
    .product-all-card:hover {
        transform: translateY(-5px);
        border-color: #9ad8dc;
        box-shadow: 0 17px 35px rgba(0, 100, 115, .13)
    }

        .product-all-card:hover .product-all-image-link img {
            transform: scale(1.045)
        }
}

@media (max-width: 1100px) {
    .product-all-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .product-all-layout {
        grid-template-columns: 240px minmax(0, 1fr)
    }
}

@media (max-width: 991px) {
    .product-all-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .product-all-layout {
        display: block
    }

    .product-mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 42px;
        padding: 0 14px;
        color: #fff;
        background: var(--pa-primary);
        border: 0;
        border-radius: 8px;
        font-weight: 800;
        font-family: InterSB;
    }

    .product-all-content {
        padding-bottom: 25px;
    }

    .product-filter-panel {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1000;
        width: min(340px, 88vw);
        padding: 18px;
        overflow: auto;
        background: var(--pa-bg);
        transform: translateX(-105%);
        transition: transform .25s ease;
        box-shadow: 12px 0 35px rgba(0, 0, 0, .18)
    }

        .product-filter-panel.is-open {
            transform: none
        }

    .product-filter-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 13px
    }

    .product-filter-close {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 50%;
        color: var(--pa-deep);
        background: #e3f4f5;
        font-size: 25px;
        cursor: pointer
    }

    .product-toolbar {
        align-items: flex-start
    }

    .product-all-content .price-side {
        box-shadow: none
    }

    .product-category-nav > ul {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 13px
    }

        .product-category-nav > ul::-webkit-scrollbar {
            display: none
        }
}

@media (max-width: 767px) {
    .product-all-modern-page .container {
        width: calc(100% - 28px)
    }

    .product-all-hero {
        padding: 48px 0 45px
    }

        .product-all-hero h1 {
            font-size: 26px;
        }

        .product-all-hero p {
            font-size: 15px
        }

    .product-all-trust {
        gap: 9px;
        margin-top: 21px;
        font-size: 12px
    }

    .product-all-nav-head {
        padding-top: 15px
    }

        .product-all-nav-head h2 {
            font-size: 17px
        }

    .product-category-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 44px;
        margin-bottom: 8px;
        padding: 0 13px;
        color: var(--pa-deep);
        background: #effafb;
        border: 1px solid var(--pa-line);
        border-radius: 9px;
        font-weight: 800
    }

    .product-category-nav {
        display: none
    }

        .product-category-nav.is-open {
            display: block
        }

    .product-toolbar {
        display: grid;
        gap: 13px;
        margin-bottom: 17px
    }

    .product-toolbar-actions {
        flex-wrap: wrap
    }

    .product-active-filter {
        order: 3
    }

    .product-sort-label {
        margin-left: auto
    }

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

    .product-all-info {
        padding: 11px
    }

    .product-all-name {
        font-size: 14px;
        min-height: 37px
    }

    .product-all-sales {
        font-size: 11px;
        min-height: 32px
    }

    .product-all-price strong {
        font-size: 15px
    }

    .product-all-price {
        gap: 4px
    }

    .product-all-meta {
        font-size: 12px;
    }

    .product-stars {
        font-size: 12px;
        letter-spacing: 0
    }

    .product-all-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px
    }

    .product-detail-link,
    .product-cart-button {
        width: 100%;
        min-height: 40px
    }

    .product-empty {
        min-height: 270px;
        padding: 25px 16px
    }

    .product-empty-actions {
        display: grid;
        width: 100%
    }
}

@media (max-width: 390px) {
    .product-all-modern-page .container {
        width: calc(100% - 4px);
    }

    .product-all-grid {
        gap: 8px
    }

    .product-all-info {
        padding: 9px
    }

    .product-all-name {
        font-size: 13px
    }

    .product-all-price strong {
        font-size: 14px
    }

    .product-all-price del {
        font-size: 10px
    }

    .product-bestseller,
    .product-discount {
        top: 6px;
        padding: 4px 5px;
        font-size: 9px
    }

    .product-all-image-link {
        padding: 10px
    }

    .product-all-actions {
        font-size: 10px
    }

    .page-link {
        min-width: 40px;
        height: 40px
    }
}

@media (prefers-reduced-motion:reduce) {
    .product-all-modern-page * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important
    }
}

/* Collection page - Gunshop inspired layout, backed by the existing catalogue logic. */

.product-category-modern-page {
    --pa-primary: #e6001c;
    --pa-deep: #b90018;
    --pa-red: #e6001c;
    --pa-ink: #3f454d;
    --pa-bg: #f4f6f8;
    --pa-line: #e1e5ea;
    padding-top: 1px;
    background: var(--pa-bg)
}

    .product-category-modern-page .container {
        width: min(1320px, calc(100% - 32px))
    }

.collection-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 45px;
    color: #7a8088;
    font-size: 13px
}

    .collection-breadcrumb a {
        color: #555c64;
        text-decoration: none
    }

        .collection-breadcrumb a:hover {
            color: var(--pa-primary)
        }

    .collection-breadcrumb i {
        font-size: 10px
    }

.collection-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    align-items: center;
    min-height: 250px;
    padding: 34px 60px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(110deg, #e6001c 0%, #f01834 62%, #ff7b8a 100%);
    border-radius: 12px
}

    .collection-hero:before,
    .collection-hero:after {
        position: absolute;
        content: "";
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: 50%
    }

    .collection-hero:before {
        width: 320px;
        height: 320px;
        right: -75px;
        top: -145px
    }

    .collection-hero:after {
        width: 180px;
        height: 180px;
        right: 235px;
        bottom: -125px
    }

.collection-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 760px
}

.collection-hero-kicker {
    font-size: 13px;
    font-family: InterSB;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .88
}

.collection-hero h1 {
    margin: 8px 0 9px;
    color: #fff;
    font-size: clamp(29px, 3vw, 43px);
    line-height: 1.12;
    font-family: InterB
}

.collection-hero p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    opacity: .92;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3
}

.collection-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 20px;
    font-size: 13px;
    font-family: InterSB
}

    .collection-hero-benefits i {
        margin-right: 4px;
        color: #fff
    }

.collection-hero-visual {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    height: 190px
}

    .collection-hero-visual:before {
        position: absolute;
        width: 178px;
        height: 178px;
        content: "";
        background: rgba(255, 255, 255, .95);
        border-radius: 50%;
        box-shadow: 0 15px 40px rgba(120, 0, 14, .18)
    }

    .collection-hero-visual img {
        position: relative;
        z-index: 1;
        width: 128px;
        height: 128px;
        object-fit: contain
    }

.collection-hero-orbit {
    position: absolute;
    width: 214px;
    height: 214px;
    border: 1px solid rgba(255, 255, 255, .43);
    border-radius: 50%
}

.collection-category-section,
.collection-brand-section {
    margin-top: 18px;
    padding: 20px;
    background: #fff;
    border-radius: 12px
}

.collection-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px
}

    .collection-section-head h2,
    .collection-brand-section h2,
    .product-toolbar-title h2 {
        margin: 0;
        color: #343a42;
        font-size: 20px;
        font-family: InterB
    }

    .collection-section-head span {
        color: #8a9097;
        font-size: 13px
    }

.collection-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px
}

.collection-category-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 18px;
    align-items: center;
    min-height: 92px;
    padding: 9px 13px 9px 9px;
    color: #444b53;
    background: #f7f8fa;
    border: 1px solid #eceef1;
    border-radius: 10px;
    text-decoration: none;
    transition: .2s
}

    .collection-category-card:hover,
    .collection-category-card.is-current {
        color: var(--pa-primary);
        border-color: #ffc5cc;
        background: #fff5f6;
        box-shadow: 0 5px 16px rgba(230, 0, 28, .07)
    }

.collection-category-image {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    background: #fff;
    border-radius: 9px
}

    .collection-category-image img {
        width: 50px;
        height: 50px;
        object-fit: contain
    }

.collection-category-copy {
    display: grid;
    gap: 6px;
    padding-left: 12px;
    min-width: 0
}

    .collection-category-copy strong {
        overflow: hidden;
        font-size: 14px;
        font-family: InterSB;
        white-space: nowrap;
        text-overflow: ellipsis
    }

    .collection-category-copy small {
        color: #92979d;
        font-size: 12px
    }

.collection-category-card > i {
    color: #a0a5ab;
    font-size: 12px
}

.collection-brand-section {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-block: 15px
}

    .collection-brand-section h2 {
        flex: 0 0 auto;
        font-size: 17px
    }

.collection-brand-list {
    display: flex;
    gap: 8px;
    min-width: 0;
    padding: 2px 0;
    overflow-x: auto;
    scrollbar-width: none
}

    .collection-brand-list::-webkit-scrollbar {
        display: none
    }

    .collection-brand-list a {
        flex: 0 0 auto;
        padding: 8px 16px;
        color: #555c65;
        background: #fff;
        border: 1px solid #dde1e6;
        border-radius: 999px;
        font-size: 13px;
        font-family: InterSB;
        text-decoration: none
    }

        .collection-brand-list a:hover,
        .collection-brand-list a.is-active {
            color: #fff;
            background: var(--pa-primary);
            border-color: var(--pa-primary)
        }

.product-category-modern-page .product-all-content {
    padding: 25px 0 70px
}

.product-category-modern-page .product-toolbar {
    margin-bottom: 16px;
    padding: 14px 17px;
    background: #fff;
    border-radius: 10px
}

.product-toolbar-title {
    display: flex;
    align-items: baseline;
    gap: 12px
}

    .product-toolbar-title span {
        color: #858b92;
        font-size: 13px
    }

        .product-toolbar-title span strong {
            color: var(--pa-primary);
            font-size: 15px
        }

.product-category-modern-page .product-toolbar-actions {
    margin-left: auto
}

.product-sort-tabs {
    display: flex;
    align-items: center;
    gap: 4px
}

    .product-sort-tabs a {
        padding: 9px 13px;
        color: #626971;
        border-radius: 7px;
        font-size: 13px;
        font-family: InterSB;
        text-decoration: none
    }

        .product-sort-tabs a:hover,
        .product-sort-tabs a.is-active {
            color: var(--pa-primary);
            background: #fff0f2
        }

.product-sort-mobile-label,
.product-category-modern-page .product-sort-select {
    display: none
}

.product-category-modern-page .product-mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    color: #fff;
    background: var(--pa-primary);
    border: 0;
    border-radius: 7px;
    font-family: InterSB;
    cursor: pointer
}

.product-category-modern-page .product-all-layout {
    display: block
}

.product-category-modern-page .product-all-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px
}

.product-category-modern-page .product-all-card {
    border-color: #e6e8eb;
    border-radius: 10px;
    box-shadow: none
}

.product-category-modern-page .product-all-media {
    background: #fff
}

.product-category-modern-page .product-all-info {
    padding: 11px 12px 13px
}

.product-category-modern-page .product-all-name {
    min-height: 40px;
    font-size: 14px;
    line-height: 1.42
}

    .product-category-modern-page .product-all-name a {
        color: #454b53
    }

.product-category-modern-page .product-all-sales {
    margin-top: 8px;
    color: #8a9097;
    font-size: 12px;
}

    .product-category-modern-page .product-all-sales:not(:empty) {
        display: -webkit-box
    }

.product-category-modern-page .product-all-price {
    min-height: 25px;
    margin-top: 8px;
    gap: 7px
}

    .product-category-modern-page .product-all-price strong {
        color: var(--pa-primary);
        font-size: 16px
    }

.product-category-modern-page .product-all-meta {
    padding-top: 8px;
    border-top: 1px solid #f0f1f3;
    color: #888f96;
    font-size: 11px
}

.product-stock {
    color: #2b9b65
}

.product-category-modern-page .product-all-actions {
    gap: 6px;
    padding-top: 10px
}

.product-category-modern-page .product-detail-link {
    min-height: 35px;
    padding-inline: 8px;
    color: #555c64;
    border-color: #e1e4e8;
    font-size: 11px
}

.product-category-modern-page .product-cart-button {
    min-height: 35px;
    background: var(--pa-primary);
    font-size: 11px
}

    .product-category-modern-page .product-cart-button:hover {
        box-shadow: 0 10px 22px rgba(234, 0, 0, .28);
        transform: translateY(-2px) scale(1.02);
    }

.product-category-modern-page .product-discount {
    top: 8px;
    left: 8px;
    border-radius: 4px;
    font-size: 12px
}

.product-category-modern-page .product-bestseller {
    top: 8px;
    right: 8px;
    background: #444b53
}

.product-category-modern-page .product-pagination .page-link:hover,
.product-category-modern-page .product-pagination .page-link.is-current {
    background: var(--pa-primary);
    border-color: var(--pa-primary)
}

.product-category-modern-page .product-filter-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1201;
    width: min(360px, 90vw);
    padding: 18px;
    overflow-y: auto;
    background: #f5f6f8;
    transform: translateX(-105%);
    transition: transform .25s ease;
    box-shadow: 12px 0 35px rgba(0, 0, 0, .18)
}

    .product-category-modern-page .product-filter-panel.is-open {
        transform: none
    }

.product-category-modern-page .product-filter-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px
}

.product-category-modern-page .product-filter-close {
    width: 38px;
    height: 38px;
    color: #fff;
    background: var(--pa-primary);
    border: 0;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer
}

.product-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    visibility: hidden;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    transition: .2s
}

.product-filter-open .product-filter-backdrop {
    visibility: visible;
    opacity: 1
}

.product-filter-open {
    overflow: hidden
}

.product-category-modern-page .price-side.price-filter {
    border-color: #e1e4e8;
    box-shadow: none
}

.product-category-modern-page .pro-cate-side-sort {
    display: block
}

@media (hover:hover) {
    .product-category-modern-page .product-all-card:hover {
        transform: translateY(-3px);
        border-color: #ffbdc5;
        box-shadow: 0 10px 25px rgba(36, 38, 41, .1)
    }
}

@media (max-width:1199px) {
    .product-category-modern-page .product-all-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }
}

@media (max-width:991px) {
    .collection-hero {
        min-height: 220px;
        padding: 28px 38px;
        grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr)
    }

    .collection-hero-visual:before {
        width: 145px;
        height: 145px
    }

    .collection-hero-visual img {
        width: 105px;
        height: 105px
    }

    .collection-hero-orbit {
        width: 177px;
        height: 177px
    }

    .collection-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .product-category-modern-page .product-all-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media (max-width:767px) {
    .product-category-modern-page .container {
        width: calc(100% - 20px)
    }

    .collection-breadcrumb {
        min-height: 39px;
        font-size: 12px
    }

    .collection-hero {
        display: block;
        min-height: 0;
        padding: 24px 20px;
        border-radius: 9px
    }

        .collection-hero h1 {
            font-size: 20px;
        }

        .collection-hero p {
            font-size: 13px;
            -webkit-line-clamp: 2
        }

    .collection-hero-benefits {
        gap: 8px 13px;
        margin-top: 15px;
        font-size: 11px
    }

    .collection-hero-visual {
        position: absolute;
        right: -21px;
        bottom: -27px;
        width: 120px;
        height: 120px;
        opacity: .2
    }

        .collection-hero-visual:before {
            width: 105px;
            height: 105px
        }

        .collection-hero-visual img {
            width: 72px;
            height: 72px
        }

    .collection-hero-orbit {
        width: 125px;
        height: 125px
    }

    .collection-category-section {
        margin-top: 12px;
        padding: 14px 10px
    }

    .collection-section-head {
        margin-bottom: 10px
    }

        .collection-section-head h2,
        .product-toolbar-title h2 {
            font-size: 15px;
        }

        .collection-section-head span {
            display: none
        }

    .collection-category-grid {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none
    }

        .collection-category-grid::-webkit-scrollbar {
            display: none
        }

    .collection-category-card {
        flex: 0 0 74%;
        grid-template-columns: 61px minmax(0, 1fr) 14px;
        min-height: 78px;
        padding: 7px;
        scroll-snap-align: start
    }

    .collection-category-image {
        width: 58px;
        height: 58px
    }

        .collection-category-image img {
            width: 43px;
            height: 43px
        }

    .collection-category-copy {
        padding-left: 9px
    }

    .collection-brand-section {
        display: block;
        margin-top: 10px;
        padding: 13px 10px
    }

        .collection-brand-section h2 {
            margin-bottom: 10px;
            font-size: 16px
        }

    .collection-brand-list a {
        padding: 7px 13px;
        font-size: 12px
    }

    .product-category-modern-page .product-all-content {
        padding-top: 13px
    }

    .product-category-modern-page .product-toolbar {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        padding: 11px 10px;
        gap: 5px;
    }

    .product-toolbar-title {
        display: block
    }

        .product-toolbar-title span {
            display: block;
            margin-top: 3px;
            font-size: 11px
        }

    .product-toolbar > div:first-child strong {
        font-size: 18px;
    }

    .product-category-modern-page .product-toolbar-actions {
        flex-wrap: nowrap;
        gap: 6px;
        margin-left: 4px;
    }

    .product-sort-tabs {
        display: none
    }

    .product-sort-mobile-label {
        display: none
    }

    .product-category-modern-page .product-sort-select {
        display: block;
        width: 104px;
        height: 37px;
        padding-left: 8px;
        padding-right: 22px;
        font-size: 11px
    }

    .product-category-modern-page .product-mobile-filter-toggle {
        min-height: 37px;
        padding: 0 10px;
        font-size: 11px
    }

    .product-category-modern-page .product-clear-filter {
        display: none
    }

    .product-category-modern-page .product-all-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px
    }

    .product-category-modern-page .product-all-info {
        padding: 8px
    }

    .product-category-modern-page .product-all-name {
        min-height: 36px;
        font-size: 12.5px
    }

    .product-category-modern-page .product-all-price {
    }

        .product-category-modern-page .product-all-price strong {
            display: block;
            font-size: 12px;
        }

        .product-category-modern-page .product-all-price del {
            font-size: 10px
        }

    .product-category-modern-page .product-all-meta {
        font-size: 10px
    }

    .product-stock {
    }

    .product-category-modern-page .product-all-actions {
        display: flex
    }

    .product-category-modern-page .product-detail-link {
        display: none
    }

    .product-category-modern-page .product-cart-button {
        min-height: 34px;
        width: 100%;
        font-size: 10px
    }
}

@media (max-width:390px) {
    .product-category-modern-page .container {
        width: calc(100% - 12px)
    }

    .collection-category-card {
        flex-basis: 82%
    }

    .product-category-modern-page .product-toolbar {
        padding-inline: 7px
    }

    .product-category-modern-page .product-sort-select {
        width: 105px;
    }

    .product-category-modern-page .product-mobile-filter-toggle span {
        display: none
    }
}

.product-all-modern-page .product-all-navigation {
    display: none
}

.product-all-modern-page .product-side-category a {
    font-weight: 600
}

.product-all-modern-page .product-side-category.is-active a {
    color: var(--pa-deep);
    background: #e9f8f9;
    box-shadow: inset 3px 0 var(--pa-primary)
}

/* Compatibility for the legacy PriceSort markup while deployments are refreshed. */

.product-all-modern-page .price-side.price-filter ul,
.product-all-modern-page .price-side.price-filter ol {
    margin: 0;
    padding: 0;
    list-style: none
}

.product-all-modern-page .price-side.price-filter li {
    list-style: none
}

.product-all-modern-page .price-side.price-filter .nav-item-pro,
.product-all-modern-page .price-side.price-filter .drop-item-pro,
.product-all-modern-page .price-side.price-filter .drop-item3-pro {
    margin: 3px 0
}

.product-all-modern-page .price-side.price-filter .nav-link-pro,
.product-all-modern-page .price-side.price-filter .drop-link-pro {
    display: block;
    padding: 8px 9px;
    color: #5b777b;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none
}

    .product-all-modern-page .price-side.price-filter .nav-link-pro:hover,
    .product-all-modern-page .price-side.price-filter .drop-link-pro:hover {
        color: var(--pa-primary);
        background: #e9f8f9
    }