/* =========================================================
   IPX Collection Page
   Wide Hero Collection Design
   ========================================================= */

:root {
    --ipx-max: 1520px;
    --ipx-max-wide: 1660px;
    --ipx-gutter: 28px;
    --ipx-gutter-wide: 36px;
    --ipx-accent: #00879b;
    --ipx-accent-dark: #003c46;
    --ipx-accent-mid: #007f91;
    --ipx-text: #303841;
    --ipx-muted: #59636d;
    --ipx-border: #e1e6e9;
    --ipx-bg: #f6f7f8;
    --ipx-card-bg: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #424242;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

.pl-wrap,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container {
    max-width: var(--ipx-max) !important;
}

.pl-wrap {
    width: 100%;
    margin: 0 auto;
    padding-left: var(--ipx-gutter);
    padding-right: var(--ipx-gutter);
}

/* =========================================================
   Collection Page
   ========================================================= */

.cf-collection-page {
    width: 100%;
    overflow: hidden;
    background: #f6f7f8;
}

/* =========================================================
   Collection Hero
   Reference-style wide image header
   ========================================================= */

.cf-collection-hero-wrap {
    position: relative;
    overflow: visible;
    min-height: 650px;
    padding: 0 var(--ipx-gutter);
    background: #0b4f59;
}

    .cf-collection-hero-wrap::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: var(--collection-bg-image);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        filter: saturate(0.96) contrast(1.02);
        z-index: 1;
    }

    .cf-collection-hero-wrap::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(0, 72, 82, 0.88) 0%, rgba(0, 101, 113, 0.72) 32%, rgba(0, 99, 112, 0.42) 58%, rgba(0, 62, 72, 0.20) 100% ), linear-gradient( 180deg, rgba(0, 40, 48, 0.18) 0%, rgba(0, 62, 72, 0.18) 52%, rgba(246, 247, 248, 0.88) 100% );
        z-index: 2;
        pointer-events: none;
    }

.cf-collection-hero {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--ipx-max);
    min-height: 650px;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 60px;
}

.cf-collection-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 800;
}

    .cf-collection-breadcrumb a {
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    }

    .cf-collection-breadcrumb span {
        color: rgba(255, 255, 255, 0.58);
    }

    .cf-collection-breadcrumb strong {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 0 14px;
        background: rgba(0, 135, 155, 0.88);
        color: #ffffff;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.13em;
        text-transform: uppercase;
    }

.cf-collection-hero__content {
    position: relative;
    width: min(100%, 760px);
}

.cf-collection-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 15px;
    margin-bottom: 22px;
    color: #e9fcff;
    background: rgba(0, 135, 155, 0.42);
    border: 1px solid rgba(104, 215, 230, 0.40);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

    .cf-collection-hero__eyebrow i {
        color: #7ee4f0;
        font-size: 12px;
    }

.cf-collection-hero__title {
    max-width: 820px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(54px, 4.9vw, 86px);
    line-height: 1.02;
    font-weight: 300;
    letter-spacing: -0.055em;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.cf-collection-hero__desc {
    max-width: 760px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 19px;
    line-height: 1.78;
    font-weight: 400;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.cf-collection-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.cf-collection-hero__primary,
.cf-collection-hero__secondary {
    min-height: 52px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111820;
    background: #ffffff;
    border: 1px solid #ffffff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

    .cf-collection-hero__primary:hover {
        color: #ffffff;
        background: var(--ipx-accent-dark);
        border-color: var(--ipx-accent-dark);
        transform: translateY(-2px);
    }

.cf-collection-hero__secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

    .cf-collection-hero__secondary:hover {
        color: #ffffff;
        background: rgba(0, 135, 155, 0.72);
        border-color: rgba(126, 228, 240, 0.70);
        transform: translateY(-2px);
    }

.cf-collection-hero__meta {
    display: none;
}

/* =========================================================
   Quick Info Bar
   ========================================================= */

.cf-collection-quickbar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -72px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #ffffff;
    border: 1px solid rgba(31, 35, 40, 0.08);
    box-shadow: 0 22px 56px rgba(20, 40, 48, 0.10);
}

.cf-collection-quick {
    min-height: 132px;
    padding: 28px 28px 24px;
    border-right: 1px solid #e5eaed;
    background: #ffffff;
}

    .cf-collection-quick:last-child {
        border-right: none;
    }

.cf-collection-quick__number {
    margin-bottom: 20px;
    color: var(--ipx-accent-mid);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.cf-collection-quick__label {
    margin-bottom: 9px;
    color: #1d2a32;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 300;
    letter-spacing: -0.03em;
}

.cf-collection-quick__value {
    overflow: hidden;
    color: #5f6b72;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Hide old right-side image layout */

.cf-collection-hero__visual,
.cf-collection-hero__image-panel,
.cf-collection-hero__image-frame,
.cf-collection-hero__image-caption {
    display: none !important;
}

/* =========================================================
   Results Header
   ========================================================= */

.cf-results-wrap {
    padding-top: 48px;
    padding-bottom: 48px;
}

.pl-wrap.cf-results-wrap {
    max-width: var(--ipx-max);
    width: 100%;
    margin: 0 auto;
    padding-left: var(--ipx-gutter);
    padding-right: var(--ipx-gutter);
}

.cf-results-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid #dde5e8;
}

.cf-results-head__eyebrow {
    margin-bottom: 7px;
    color: var(--ipx-accent-mid);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cf-results-head__title {
    margin: 0;
    color: #243139;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -0.035em;
}

.cf-results-head__count {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    background: #ffffff;
    border: 1px solid #dbe4e8;
    color: #294047;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

    .cf-results-head__count i {
        color: var(--ipx-accent-mid);
    }

/* =========================================================
   Product Grid
   ========================================================= */

.cf-card-grid.row {
    --bs-gutter-x: 28px;
    --bs-gutter-y: 34px;
}

.pl-wrap .row,
.cf-results-wrap .row {
    row-gap: 28px;
}

/* =========================================================
   Product Card
   ========================================================= */

.cf-card.product-card,
.product-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f7f8f9;
    border: 1px solid var(--ipx-border);
    border-radius: 0;
    box-shadow: none;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease;
}

    .cf-card.product-card::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 3px;
        height: 0;
        background: linear-gradient(180deg, #0097a9, #003c46);
        transition: height .28s ease;
    }

    .cf-card.product-card:hover,
    .product-card:hover {
        transform: translateY(-6px);
        background: #ffffff;
        border-color: rgba(0, 137, 161, .42);
        box-shadow: 0 22px 50px rgba(15, 30, 38, .12);
    }

        .cf-card.product-card:hover::after {
            height: 100%;
        }

/* Image Area */

.cf-card__media {
    position: relative;
    display: block;
    height: 235px;
    padding: 28px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 62%, rgba(0, 0, 0, .12), transparent 33%), linear-gradient(135deg, #f7f8f9 0%, #eef2f4 100%);
    text-decoration: none;
}

.cf-card__media-bg {
    display: none !important;
}

.cf-card__img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 196px;
    object-fit: contain;
    filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .20));
    transform: scale(.96);
    transition: transform .35s ease, filter .35s ease;
}

.cf-card.product-card:hover .cf-card__img {
    transform: scale(1.04) translateY(-4px);
    filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .24));
}

/* Technical Corner Marks */

.cf-card__corner {
    position: absolute;
    z-index: 3;
    width: 17px;
    height: 17px;
    border-color: rgba(0, 137, 161, .72);
    opacity: .65;
    transition: opacity .25s ease, width .25s ease, height .25s ease;
}

.cf-card__corner--tl {
    top: 17px;
    left: 17px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.cf-card__corner--tr {
    top: 17px;
    right: 17px;
    border-top: 2px solid;
    border-right: 2px solid;
}

.cf-card__corner--bl {
    bottom: 17px;
    left: 17px;
    border-bottom: 2px solid;
    border-left: 2px solid;
}

.cf-card__corner--br {
    right: 17px;
    bottom: 17px;
    border-right: 2px solid;
    border-bottom: 2px solid;
}

.cf-card.product-card:hover .cf-card__corner {
    width: 23px;
    height: 23px;
    opacity: 1;
}

/* Body */

.cf-card__body {
    position: relative;
    z-index: 4;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    margin: 10px;
    padding: 12px 10px 12px;
    background: #ffffff;
    border-top: 1px solid #e6ecef;
}

.cf-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.cf-card__series {
    color: #008ca0;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cf-card__title {
    margin: 0 0 16px;
    color: #17232a;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -.02em;
}

    .cf-card__title a {
        color: inherit;
        text-decoration: none;
        transition: color .2s ease;
    }

        .cf-card__title a:hover {
            color: var(--ipx-accent-mid);
        }

/* Specs */

.cf-card__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 3px;
    margin: 0;
    padding: 14px 0 0;
    list-style: none;
    border-top: 1px solid #e6ecef;
}

    .cf-card__specs li {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #26333a;
        font-size: 12px;
        line-height: 1.25;
        font-weight: 600;
    }

.cf-card__spec-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4f6;
    border: 1px solid #dce7eb;
    color: var(--ipx-accent-mid);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

    .cf-card__spec-icon i {
        font-size: 11px;
        line-height: 1;
    }

.cf-card__spec-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #2c3940;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cf-card.product-card:hover .cf-card__spec-icon {
    background: #e6f8fa;
    border-color: rgba(0, 137, 161, .34);
    transform: translateY(-1px);
}

/* Footer / Button */

.cf-card__footer {
    position: relative;
    z-index: 5;
    margin-top: auto !important;
    padding: 18px 0 0 !important;
    display: block !important;
    background: #ffffff;
    border-top: none;
}

    .cf-card__footer::before {
        content: "";
        display: block;
        height: 1px;
        margin-bottom: 18px;
        background: linear-gradient( 90deg, rgba(0, 135, 155, 0) 0%, rgba(0, 135, 155, 0.22) 18%, rgba(31, 35, 40, 0.10) 52%, rgba(0, 135, 155, 0) 100% );
    }

.cf-card__button,
.cf-card__detail {
    position: relative;
    width: 100%;
    min-height: 46px;
    height: 46px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    overflow: hidden;
    color: #07323a;
    background: linear-gradient(90deg, rgba(0, 135, 155, 0.07), rgba(255, 255, 255, 0.95)), #f5f8f9;
    border: 1px solid #dbe7ea;
    box-shadow: inset 3px 0 0 rgba(0, 135, 155, 0.75);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.075em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

    .cf-card__button::before,
    .cf-card__detail::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, var(--ipx-accent-dark) 0%, var(--ipx-accent-mid) 100%);
        transform: translateX(-102%);
        transition: transform 0.28s ease;
        z-index: 0;
    }

    .cf-card__button > *,
    .cf-card__detail > * {
        position: relative;
        z-index: 2;
        color: inherit !important;
    }

    .cf-card__button span,
    .cf-card__detail span {
        white-space: nowrap;
        transform: translateX(0);
        transition: transform 0.22s ease;
    }

    .cf-card__button:hover,
    .cf-card__detail:hover {
        color: #ffffff;
        border-color: var(--ipx-accent-dark);
        box-shadow: inset 3px 0 0 #00b6c8;
    }

        .cf-card__button:hover::before,
        .cf-card__detail:hover::before {
            transform: translateX(0);
        }

        .cf-card__button:hover span,
        .cf-card__detail:hover span {
            transform: translateX(4px);
        }

/* =========================================================
   Pagination
   ========================================================= */

.cf-pagination-wrap {
    padding-top: 42px;
}

.cf-pagination .pagination,
.pagination {
    gap: 10px;
}

    .cf-page-link,
    .pagination .page-link {
        min-width: 42px;
        width: 52px;
        height: 52px;
        border-radius: 999px !important;
        border: 1px solid #dde2e5;
        background: #fff;
        color: #43839b;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        box-shadow: none !important;
    }

.page-item.active .cf-page-link {
    background: #fff;
    border-color: #57abc1;
    color: #057e94;
}

.page-item.disabled .cf-page-link {
    opacity: .45;
}

/* =========================================================
   Empty State
   ========================================================= */

.cf-empty {
    padding: 70px 24px;
    background: #ffffff;
    border: 1px solid #dfe7ea;
    text-align: center;
}

.cf-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf7f9;
    border: 1px solid #d4e8ed;
    color: var(--ipx-accent-mid);
    font-size: 26px;
}

.cf-empty__title {
    margin: 0 0 8px;
    color: #1f2e35;
    font-size: 22px;
    font-weight: 800;
}

.cf-empty__desc {
    margin: 0;
    color: #6a767d;
    font-size: 14px;
}

/* =========================================================
   Loading
   ========================================================= */

.pf-loading {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

    .pf-loading.is-show {
        display: flex;
    }

.pf-loading__box {
    min-width: 220px;
    padding: 24px 28px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
    text-align: center;
    border: 1px solid #dce5e8;
}

.pf-loading__spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.10);
    border-top-color: #00879b;
    animation: pfLoadingSpin 0.75s linear infinite;
}

.pf-loading__text {
    color: #111;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

@keyframes pfLoadingSpin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (min-width: 1400px) {
    .col-xxl-3,
    .col-xl-3,
    .col-lg-3 {
        flex: 0 0 auto;
        width: 20%;
    }
}

@media (min-width: 1600px) {
    :root {
        --ipx-max: var(--ipx-max-wide);
        --ipx-gutter: var(--ipx-gutter-wide);
    }

    .pl-wrap,
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container {
        max-width: var(--ipx-max-wide) !important;
    }
}

@media (max-width: 1199.98px) {
    .cf-collection-hero-wrap {
        min-height: 590px;
    }

    .cf-collection-hero {
        min-height: 590px;
        padding-top: 92px;
        padding-bottom: 104px;
    }

    .cf-collection-hero__title {
        font-size: clamp(44px, 5.4vw, 66px);
    }

    .cf-collection-quickbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        bottom: -134px;
    }

    .cf-results-wrap {
        padding-top: 182px;
    }

    .cf-card__media {
        height: 220px;
    }

    .cf-card__specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .cf-collection-hero-wrap {
        min-height: auto;
        padding-left: 18px;
        padding-right: 18px;
    }

        .cf-collection-hero-wrap::after {
            background: linear-gradient( 90deg, rgba(0, 72, 82, 0.90) 0%, rgba(0, 72, 82, 0.74) 54%, rgba(0, 72, 82, 0.30) 100% ), linear-gradient( 180deg, rgba(0, 40, 48, 0.18) 0%, rgba(246, 247, 248, 0.86) 100% );
        }

    .cf-collection-hero {
        min-height: 0;
        padding-top: 70px;
        padding-bottom: 152px;
    }

    .cf-collection-hero__content {
        width: 100%;
    }

    .cf-collection-hero__desc {
        max-width: 680px;
    }

    .cf-collection-quickbar {
        left: 18px;
        right: 18px;
    }

    .pl-wrap,
    .pl-wrap.cf-results-wrap {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cf-results-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .cf-collection-hero-wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    .cf-collection-hero {
        padding-top: 42px;
        padding-bottom: 260px;
    }

    .cf-collection-breadcrumb {
        gap: 8px;
        margin-bottom: 22px;
        font-size: 12px;
    }

        .cf-collection-breadcrumb strong {
            width: 100%;
            justify-content: center;
        }

    .cf-collection-hero__title {
        font-size: 42px;
        line-height: 1.02;
    }

    .cf-collection-hero__desc {
        font-size: 16px;
        line-height: 1.62;
    }

    .cf-collection-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cf-collection-hero__primary,
    .cf-collection-hero__secondary {
        width: 100%;
    }

    .cf-collection-quickbar {
        left: 14px;
        right: 14px;
        bottom: -236px;
        grid-template-columns: 1fr;
    }

    .cf-collection-quick {
        min-height: 88px;
        padding: 18px;
        border-right: none;
        border-bottom: 1px solid #e5eaed;
    }

        .cf-collection-quick:last-child {
            border-bottom: none;
        }

    .cf-collection-quick__number {
        margin-bottom: 8px;
    }

    .cf-results-wrap {
        padding-top: 276px;
    }

    .cf-results-head__title {
        font-size: 25px;
    }

    .cf-card__media {
        height: 230px;
        padding: 24px;
    }

    .cf-card__body {
        padding: 18px 18px 14px;
    }

    .cf-card__title {
        font-size: 15px;
    }
}

@media (max-width: 575.98px) {
    .pl-wrap,
    .pl-wrap.cf-results-wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    .cf-collection-hero__title {
        font-size: 36px;
    }

    .cf-collection-hero__eyebrow {
        width: 100%;
        justify-content: center;
    }

    .cf-page-link,
    .pagination .page-link {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 14px;
    }
}

.cf-collection-hero__meta--public {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

    .cf-collection-hero__meta--public span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 36px;
        padding: 8px 14px;
        border: 1px solid rgba(15, 23, 42, .14);
        background: #fff;
        color: #0f172a;
        font-size: 14px;
        font-weight: 800;
    }