/* =========================================================
   THINK ABOUT BOOKS
   CATEGORY MERCHANDISING - PHASE 1
   ========================================================= */


/* ---------------------------------------------------------
   BENEFITS
   --------------------------------------------------------- */

body.tax-product_cat .tab-cat-benefits {
    position: relative;

    z-index: 10;

    width: 100%;

    margin:
        -34px 0 0;

    padding:
        0 0 34px;
}


body.tax-product_cat
.tab-cat-benefits__rail {
    width: 76%;
    max-width: 1280px;

    min-height: 92px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    align-items: center;

    background: #fff;

    border:
        1px solid #e1ebef;

    border-radius: 14px;

    box-shadow:
        0 14px 36px
        rgba(7,27,61,.10);

    box-sizing: border-box;
}


body.tax-product_cat
.tab-cat-benefit {
    min-height: 58px;

    padding:
        10px 26px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    border-right:
        1px solid #e3ebef;

    box-sizing: border-box;
}


body.tax-product_cat
.tab-cat-benefit:last-child {
    border-right: 0;
}


body.tax-product_cat
.tab-cat-benefit__icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        2px solid #1687a3;

    border-radius: 50%;

    color: #086b85;

    font-size: 19px;
    font-weight: 700;

    line-height: 1;
}


body.tax-product_cat
.tab-cat-benefit strong,
body.tax-product_cat
.tab-cat-benefit span {
    display: block;
}


body.tax-product_cat
.tab-cat-benefit strong {
    margin-bottom: 4px;

    color: #071b3d;

    font-size: 14px;
    line-height: 1.2;

    font-weight: 700;
}


body.tax-product_cat
.tab-cat-benefit span {
    color: #607086;

    font-size: 11px;
    line-height: 1.25;
}


/* ---------------------------------------------------------
   CATEGORY BROWSER
   --------------------------------------------------------- */

body.tax-product_cat
.tab-cat-browser {
    width: 100%;

    padding:
        20px 0 54px;

    background: #fff;
}


body.tax-product_cat
.tab-cat-browser__rail {
    width: 88%;
    max-width: 1600px;

    margin: 0 auto;
}


body.tax-product_cat
.tab-cat-browser__intro {
    margin:
        0 auto 30px;

    text-align: center;
}


body.tax-product_cat
.tab-cat-browser__eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #1687a3;

    font-size: 12px;
    line-height: 1.2;

    font-weight: 800;

    letter-spacing: .07em;
}


body.tax-product_cat
.tab-cat-browser__intro h2 {
    margin:
        0 0 8px !important;

    padding: 0 !important;

    color: #071b3d !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 34px !important;

    line-height: 1.15 !important;

    font-weight: 700 !important;
}


body.tax-product_cat
.tab-cat-browser__intro p {
    margin: 0;

    color: #607086;

    font-size: 15px;
}


body.tax-product_cat
.tab-cat-browser__grid {
    display: grid;

    grid-template-columns:
        repeat(
            7,
            minmax(0, 1fr)
        );

    gap: 18px;
}


body.tax-product_cat
.tab-cat-browser-card {
    position: relative;

    overflow: hidden;

    display: block;

    min-width: 0;

    background: #fff;

    border:
        1px solid #e2ebef;

    border-radius: 12px;

    color: inherit;

    text-decoration: none !important;

    box-shadow:
        0 8px 24px
        rgba(7,27,61,.055);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}


body.tax-product_cat
.tab-cat-browser-card:hover {
    transform:
        translateY(-4px);

    border-color:
        #bcdde5;

    box-shadow:
        0 14px 34px
        rgba(7,27,61,.11);
}


body.tax-product_cat
.tab-cat-browser-card__image {
    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background:
        #f3f9fb;
}


body.tax-product_cat
.tab-cat-browser-card__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


body.tax-product_cat
.tab-cat-browser-card__placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #f3f9fb,
            #dceff3
        );

    color: #1687a3;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;
    font-style: italic;
}


body.tax-product_cat
.tab-cat-browser-card__body {
    min-height: 112px;

    padding:
        15px 12px;

    text-align: center;

    box-sizing: border-box;
}


body.tax-product_cat
.tab-cat-browser-card__body strong,
body.tax-product_cat
.tab-cat-browser-card__body span,
body.tax-product_cat
.tab-cat-browser-card__body small {
    display: block;
}


body.tax-product_cat
.tab-cat-browser-card__body strong {
    margin-bottom: 5px;

    color: #071b3d;

    font-size: 14px;
    line-height: 1.3;
}


body.tax-product_cat
.tab-cat-browser-card__body span {
    margin-bottom: 10px;

    color: #607086;

    font-size: 12px;
}


body.tax-product_cat
.tab-cat-browser-card__body small {
    color: #086b85;

    font-size: 11px;

    font-weight: 700;
}


/* ---------------------------------------------------------
   Give existing Woo archive a cleaner separation until
   Phase 2 replaces its visual treatment.
   --------------------------------------------------------- */

body.tax-product_cat
.tab-cat-browser
+ * {
    margin-top: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1199px) {

    body.tax-product_cat
    .tab-cat-benefits__rail {
        width:
            calc(
                100% - 40px
            );
    }


    body.tax-product_cat
    .tab-cat-benefit {
        padding:
            10px 14px;
    }


    body.tax-product_cat
    .tab-cat-browser__rail {
        width:
            calc(
                100% - 40px
            );
    }


    body.tax-product_cat
    .tab-cat-browser__grid {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:767px) {

    body.tax-product_cat
    .tab-cat-benefits {
        margin-top: -18px;

        padding-bottom: 24px;
    }


    body.tax-product_cat
    .tab-cat-benefits__rail {
        width:
            calc(
                100% - 28px
            );

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        border-radius: 12px;
    }


    body.tax-product_cat
    .tab-cat-benefit {
        min-height: 78px;

        padding:
            12px;

        justify-content:
            flex-start;

        border-bottom:
            1px solid #e3ebef;
    }


    body.tax-product_cat
    .tab-cat-benefit:nth-child(2) {
        border-right: 0;
    }


    body.tax-product_cat
    .tab-cat-benefit:nth-child(3),
    body.tax-product_cat
    .tab-cat-benefit:nth-child(4) {
        border-bottom: 0;
    }


    body.tax-product_cat
    .tab-cat-benefit__icon {
        width: 36px;
        height: 36px;

        flex-basis: 36px;

        font-size: 16px;
    }


    body.tax-product_cat
    .tab-cat-browser {
        padding:
            12px 0 36px;
    }


    body.tax-product_cat
    .tab-cat-browser__rail {
        width:
            calc(
                100% - 28px
            );
    }


    body.tax-product_cat
    .tab-cat-browser__intro h2 {
        font-size:
            28px !important;
    }


    body.tax-product_cat
    .tab-cat-browser__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 12px;
    }

}



/* =========================================================
   TAB CATEGORY FINAL BUILD
   PART 1 — FLOATING BENEFITS
   ========================================================= */

body.tax-product_cat .tab-cat-benefits {
    position: relative !important;
    z-index: 30 !important;
    width: 100% !important;
    margin: -34px 0 0 !important;
    padding: 0 !important;
}

body.tax-product_cat .tab-cat-benefits__inner,
body.tax-product_cat .tab-cat-benefits__rail {
    width: min(1120px, calc(100% - 48px)) !important;
    min-height: 96px !important;
    margin: 0 auto !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;

    background: #fff !important;
    border: 1px solid #dce9ee !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 38px rgba(7,27,61,.12) !important;
    overflow: hidden !important;
}

body.tax-product_cat .tab-cat-benefit {
    min-width: 0 !important;
    min-height: 96px !important;
    padding: 18px 22px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;

    border-right: 1px solid #e4ecef !important;
    border-bottom: 0 !important;
    box-sizing: border-box !important;
}

body.tax-product_cat .tab-cat-benefit:last-child {
    border-right: 0 !important;
}

body.tax-product_cat .tab-cat-benefit__icon {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #1687a3 !important;
    border: 2px solid #1687a3 !important;
    border-radius: 50% !important;

    font-size: 18px !important;
    font-weight: 700 !important;
}

body.tax-product_cat .tab-cat-benefit__copy {
    display: block !important;
    min-width: 0 !important;
}

body.tax-product_cat .tab-cat-benefit strong {
    display: block !important;
    margin: 0 0 4px !important;
    color: #071b3d !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

body.tax-product_cat .tab-cat-benefit small {
    display: block !important;
    color: #607086 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
}



/* =========================================================
   TAB CATEGORY FINAL BUILD
   PART 2 — BROWSE CATEGORIES
   ========================================================= */

body.tax-product_cat .tab-cat-browser {
    width: 100% !important;
    margin: 0 !important;
    padding: 64px 0 48px !important;
    background: #fff !important;
}

body.tax-product_cat .tab-cat-browser__inner,
body.tax-product_cat .tab-cat-browser__rail {
    width: min(1420px, calc(100% - 60px)) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}


/* SECTION HEADING */

body.tax-product_cat .tab-cat-section-heading,
body.tax-product_cat .tab-cat-browser__intro {
    width: 100% !important;
    margin: 0 auto 32px !important;
    padding: 0 !important;
    text-align: center !important;
}

body.tax-product_cat .tab-cat-section-heading > span,
body.tax-product_cat .tab-cat-browser__eyebrow {
    display: block !important;
    margin: 0 0 8px !important;

    color: #1687a3 !important;

    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .07em !important;
}

body.tax-product_cat .tab-cat-section-heading h2,
body.tax-product_cat .tab-cat-browser__intro h2 {
    margin: 0 !important;
    padding: 0 !important;

    color: #071b3d !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 38px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
}

body.tax-product_cat .tab-cat-section-heading p,
body.tax-product_cat .tab-cat-browser__intro p {
    margin: 9px 0 0 !important;

    color: #607086 !important;

    font-size: 15px !important;
    line-height: 1.5 !important;
}


/* SEVEN-CARD DISCOVERY GRID */

body.tax-product_cat .tab-cat-browser__grid {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 18px !important;

    align-items: stretch !important;
}


/* CATEGORY CARD */

body.tax-product_cat .tab-cat-browser-card {
    position: relative !important;

    display: block !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    color: inherit !important;
    text-decoration: none !important;

    background: #fff !important;

    border: 1px solid #dce9ee !important;
    border-radius: 12px !important;

    box-shadow: 0 7px 22px rgba(7,27,61,.06) !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease !important;
}

body.tax-product_cat .tab-cat-browser-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 34px rgba(7,27,61,.12) !important;
}


/* 300 × 300 CATEGORY VISUAL AREA */

body.tax-product_cat .tab-cat-browser-card__image {
    display: block !important;

    width: 100% !important;
    aspect-ratio: 1 / 1 !important;

    overflow: hidden !important;

    background: #f3f9fb !important;
}

body.tax-product_cat .tab-cat-browser-card__image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;
}

body.tax-product_cat .tab-cat-browser-card__fallback {
    width: 100% !important;
    height: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #1687a3 !important;

    background:
        linear-gradient(
            135deg,
            #f3f9fb,
            #dceff3
        ) !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 24px !important;
    font-style: italic !important;
}


/* CIRCULAR CATEGORY BADGE */

body.tax-product_cat .tab-cat-browser-card__badge {
    position: relative !important;
    z-index: 3 !important;

    width: 48px !important;
    height: 48px !important;

    margin: -24px auto 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #fff !important;
    background: #086b85 !important;

    border: 4px solid #fff !important;
    border-radius: 50% !important;

    box-sizing: border-box !important;

    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}


/* CARD COPY */

body.tax-product_cat .tab-cat-browser-card__copy {
    display: block !important;

    min-height: 104px !important;

    padding: 10px 10px 15px !important;

    text-align: center !important;

    box-sizing: border-box !important;
}

body.tax-product_cat .tab-cat-browser-card__copy strong,
body.tax-product_cat .tab-cat-browser-card__copy span,
body.tax-product_cat .tab-cat-browser-card__copy small {
    display: block !important;
}

body.tax-product_cat .tab-cat-browser-card__copy strong {
    color: #071b3d !important;

    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

body.tax-product_cat .tab-cat-browser-card__copy span {
    margin: 4px 0 9px !important;

    color: #607086 !important;

    font-size: 12px !important;
    line-height: 1.3 !important;
}

body.tax-product_cat .tab-cat-browser-card__copy small {
    color: #086b85 !important;

    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}


/* VIEW ALL */

body.tax-product_cat .tab-cat-browser__action {
    width: 100% !important;

    margin: 30px 0 0 !important;

    text-align: center !important;
}

body.tax-product_cat .tab-cat-browser__action a {
    min-height: 42px !important;

    padding: 0 24px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #086b85 !important;
    background: #fff !important;

    border: 1px solid #1687a3 !important;
    border-radius: 7px !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;

    text-decoration: none !important;
}

body.tax-product_cat .tab-cat-browser__action a:hover {
    color: #fff !important;
    background: #086b85 !important;
}


/* TABLET */

@media (max-width: 1199px) {

    body.tax-product_cat .tab-cat-browser__inner,
    body.tax-product_cat .tab-cat-browser__rail {
        width: calc(100% - 40px) !important;
    }

    body.tax-product_cat .tab-cat-browser__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}


/* MOBILE */

@media (max-width: 767px) {

    body.tax-product_cat .tab-cat-browser {
        padding: 46px 0 34px !important;
    }

    body.tax-product_cat .tab-cat-browser__inner,
    body.tax-product_cat .tab-cat-browser__rail {
        width: calc(100% - 28px) !important;
    }

    body.tax-product_cat .tab-cat-section-heading h2,
    body.tax-product_cat .tab-cat-browser__intro h2 {
        font-size: 29px !important;
    }

    body.tax-product_cat .tab-cat-browser__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}



/* =========================================================
   TAB CATEGORY FINAL BUILD
   PART 3B — NATIVE XSTORE CATALOG GEOMETRY
   Bootstrap push/pull structure intentionally preserved.
   ========================================================= */


/* Wider archive container only */

body.tax-product_cat
.container.sidebar-mobile-off_canvas.content-page {
    width: calc(100% - 60px) !important;
    max-width: 1420px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-top: 34px !important;
    padding-bottom: 50px !important;
}


/*
 * Preserve XStore:
 *
 * main-products-loop
 * col-md-9
 * col-md-push-3
 *
 * sidebar
 * col-md-3
 * col-md-pull-9
 *
 * We only refine gutters.
 */

@media (min-width: 993px) {

    body.tax-product_cat
    .sidebar-position-left
    > .row {
        margin-left: -14px !important;
        margin-right: -14px !important;
    }


    body.tax-product_cat
    .main-products-loop.col-md-9 {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }


    body.tax-product_cat
    .sidebar-enabled.col-md-3 {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

}


/* =========================================================
   SIDEBAR PRESENTATION
   ========================================================= */

body.tax-product_cat
.sidebar-enabled
.sidebar-widget {
    margin: 0 0 18px !important;

    padding: 20px !important;

    background: #fff !important;

    border: 1px solid #dce9ee !important;
    border-radius: 10px !important;

    box-shadow: none !important;
}


/* Widget headings */

body.tax-product_cat
.sidebar-enabled
.sidebar-widget
.widget-title {
    margin: 0 0 15px !important;

    padding: 0 0 11px !important;

    color: #071b3d !important;

    border-bottom: 1px solid #e5edf0 !important;

    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;

    text-transform: uppercase !important;
}


/* Search fields */

body.tax-product_cat
.sidebar-enabled
input[type="text"],

body.tax-product_cat
.sidebar-enabled
input[type="search"] {
    width: 100% !important;

    min-height: 40px !important;

    box-sizing: border-box !important;

    color: #42566a !important;
    background: #fff !important;

    border: 1px solid #d8e4e9 !important;
    border-radius: 7px !important;

    font-size: 12px !important;
}


/* Widget lists */

body.tax-product_cat
.sidebar-enabled
.sidebar-widget ul {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


body.tax-product_cat
.sidebar-enabled
.sidebar-widget li {
    margin: 0 0 9px !important;

    color: #607086 !important;

    font-size: 12px !important;
    line-height: 1.4 !important;
}


body.tax-product_cat
.sidebar-enabled
.sidebar-widget li:last-child {
    margin-bottom: 0 !important;
}


body.tax-product_cat
.sidebar-enabled
.sidebar-widget a {
    color: #42566a !important;
    text-decoration: none !important;
}


body.tax-product_cat
.sidebar-enabled
.sidebar-widget a:hover {
    color: #1687a3 !important;
}


/* Price slider */

body.tax-product_cat
.sidebar-enabled
.widget_price_filter
.price_slider {
    margin-top: 15px !important;
    margin-bottom: 17px !important;
}


/* =========================================================
   PRODUCT-SIDE TOOLBAR SPACING
   No product-card modifications yet.
   ========================================================= */

body.tax-product_cat
.main-products-loop
.filter-wrap {
    margin-bottom: 20px !important;
}


/* Tablet */

@media (min-width: 768px) and (max-width: 1199px) {

    body.tax-product_cat
    .container.sidebar-mobile-off_canvas.content-page {
        width: calc(100% - 40px) !important;
    }

}


/* Mobile: leave XStore off-canvas behavior intact */

@media (max-width: 767px) {

    body.tax-product_cat
    .container.sidebar-mobile-off_canvas.content-page {
        width: calc(100% - 28px) !important;

        padding-top: 24px !important;
        padding-bottom: 38px !important;
    }

}



/* =========================================================
   TAB CATEGORY FINAL BUILD
   PART 4 — PRODUCT GRID + 300x300 IMAGE VIEWPORT
   XStore product functionality remains untouched.
   ========================================================= */


/* ---------------------------------------------------------
   FOUR-COLUMN DESKTOP GRID
   Preserve XStore row + product elements.
   --------------------------------------------------------- */

@media (min-width: 993px) {

    body.tax-product_cat
    .products.products-loop.products-grid {
        display: flex !important;
        flex-wrap: wrap !important;

        margin-left: -10px !important;
        margin-right: -10px !important;
    }


    body.tax-product_cat
    .products.products-loop.products-grid
    > .product {
        width: 25% !important;
        max-width: 25% !important;
        flex: 0 0 25% !important;

        padding-left: 10px !important;
        padding-right: 10px !important;

        margin-bottom: 30px !important;

        box-sizing: border-box !important;
    }

}


/* ---------------------------------------------------------
   PRODUCT IMAGE AREA
   Square visual viewport.
   --------------------------------------------------------- */

body.tax-product_cat
.content-product
.product-content-image {
    position: relative !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;

    min-height: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;

    box-sizing: border-box !important;

    background: #f7fafb !important;

    border-radius: 8px !important;
}


/* Some XStore versions wrap the image in another link/container */

body.tax-product_cat
.content-product
.product-content-image > a {
    width: 100% !important;
    height: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* ---------------------------------------------------------
   BOOK COVER
   Never distort portrait covers.
   --------------------------------------------------------- */

body.tax-product_cat
.content-product
.product-content-image img {
    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    display: block !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 auto !important;

    border-radius: 0 !important;
}


/* Remove inherited XStore image stretching */

body.tax-product_cat
.products-grid
.content-product
.product-content-image img {
    min-width: 0 !important;
}


/* ---------------------------------------------------------
   PRODUCT COLUMN SAFETY
   Prevent long titles/content from widening cards.
   --------------------------------------------------------- */

body.tax-product_cat
.products.products-loop.products-grid
.content-product {
    width: 100% !important;
    min-width: 0 !important;

    box-sizing: border-box !important;
}


body.tax-product_cat
.products.products-loop.products-grid
.content-product
.product-details {
    min-width: 0 !important;
}


/* ---------------------------------------------------------
   TABLET
   Two products per row.
   --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 992px) {

    body.tax-product_cat
    .products.products-loop.products-grid
    > .product {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }

}


/* ---------------------------------------------------------
   MOBILE
   Preserve two-column XStore behavior.
   --------------------------------------------------------- */

@media (max-width: 767px) {

    body.tax-product_cat
    .products.products-loop.products-grid
    > .product {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }

}



/* =========================================================
   TAB CATEGORY FINAL BUILD
   PART 4A — FILTER BRAND COLORS
   ========================================================= */

body.tax-product_cat
.sidebar-enabled {
    --tab-filter-navy: #071b3d;
    --tab-filter-teal: #1687a3;
    --tab-filter-dark-teal: #086b85;
    --tab-filter-border: #dce9ee;
    --tab-filter-text: #607086;
}


/* Price slider track */

body.tax-product_cat
.widget_price_filter
.ui-slider-horizontal {
    height: 4px !important;

    background: #dce9ee !important;

    border: 0 !important;
    border-radius: 999px !important;
}


/* Selected price range */

body.tax-product_cat
.widget_price_filter
.ui-slider-range {
    background: var(--tab-filter-teal) !important;
}


/* Price handles */

body.tax-product_cat
.widget_price_filter
.ui-slider-handle {
    width: 14px !important;
    height: 14px !important;

    top: -5px !important;

    margin-left: -7px !important;

    background: var(--tab-filter-teal) !important;

    border: 2px solid #fff !important;
    border-radius: 50% !important;

    box-shadow:
        0 0 0 1px
        var(--tab-filter-teal) !important;
}


/* Price text */

body.tax-product_cat
.widget_price_filter
.price_label,

body.tax-product_cat
.widget_price_filter
.price_slider_amount {
    color: var(--tab-filter-navy) !important;
}


/* Filter checkboxes */

body.tax-product_cat
.sidebar-enabled
input[type="checkbox"] {
    accent-color: var(--tab-filter-teal) !important;
}


/* Active/filter links */

body.tax-product_cat
.sidebar-enabled
.sidebar-widget a:hover,

body.tax-product_cat
.sidebar-enabled
.sidebar-widget .current-cat > a {
    color: var(--tab-filter-teal) !important;
}



/* =========================================================
   TAB CATEGORY FINAL BUILD
   PART 4B — LOWER BENEFITS PANEL
   ========================================================= */

body.tax-product_cat
.tab-cat-lower-benefits {
    width: 100% !important;

    margin: 42px 0 18px !important;
    padding: 0 !important;

    clear: both !important;
}


body.tax-product_cat
.tab-cat-lower-benefits__inner {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background:
        linear-gradient(
            90deg,
            #f5fafc 0%,
            #eef7f9 50%,
            #f5fafc 100%
        ) !important;

    border: 1px solid #dce9ee !important;
    border-radius: 12px !important;
}


body.tax-product_cat
.tab-cat-lower-benefit {
    min-height: 150px !important;

    padding: 22px 24px !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;

    border-right: 1px solid #dce9ee !important;

    box-sizing: border-box !important;
}


body.tax-product_cat
.tab-cat-lower-benefit:last-child {
    border-right: 0 !important;
}


body.tax-product_cat
.tab-cat-lower-benefit__icon {
    width: 52px !important;
    height: 52px !important;

    margin: 0 0 10px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #086b85 !important;

    border: 2px solid #1687a3 !important;
    border-radius: 50% !important;

    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}


body.tax-product_cat
.tab-cat-lower-benefit strong {
    display: block !important;

    margin: 0 0 6px !important;

    color: #071b3d !important;

    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}


body.tax-product_cat
.tab-cat-lower-benefit p {
    max-width: 210px !important;

    margin: 0 auto !important;

    color: #607086 !important;

    font-size: 11px !important;
    line-height: 1.5 !important;
}


@media (max-width: 767px) {

    body.tax-product_cat
    .tab-cat-lower-benefits__inner {
        grid-template-columns:
            repeat(2, minmax(0,1fr)) !important;
    }


    body.tax-product_cat
    .tab-cat-lower-benefit {
        min-height: 140px !important;
        padding: 18px 14px !important;
    }


    body.tax-product_cat
    .tab-cat-lower-benefit:nth-child(2) {
        border-right: 0 !important;
    }


    body.tax-product_cat
    .tab-cat-lower-benefit:nth-child(1),
    body.tax-product_cat
    .tab-cat-lower-benefit:nth-child(2) {
        border-bottom: 1px solid #dce9ee !important;
    }

}



/* =========================================================
   TAB CATEGORY FINAL BUILD
   PAGINATION — THINK ABOUT BOOKS PALETTE
   ========================================================= */

body.tax-product_cat
.etheme-pagination {
    margin-top: 34px !important;
    margin-bottom: 12px !important;

    text-align: center !important;
}


/* ALL PAGINATION ITEMS */

body.tax-product_cat
.etheme-pagination
.page-numbers {
    min-width: 42px !important;
    height: 42px !important;

    margin: 0 4px !important;
    padding: 0 12px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    color: #071b3d !important;
    background: #fff !important;

    border: 1px solid #d5e2e7 !important;
    border-radius: 6px !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 500 !important;

    text-decoration: none !important;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease !important;
}


/* CURRENT PAGE */

body.tax-product_cat
.etheme-pagination
.page-numbers.current {
    color: #fff !important;

    background: #1687a3 !important;

    border-color: #1687a3 !important;

    font-weight: 700 !important;
}


/* HOVER */

body.tax-product_cat
.etheme-pagination
a.page-numbers:hover {
    color: #fff !important;

    background: #086b85 !important;

    border-color: #086b85 !important;
}


/* PREVIOUS / NEXT */

body.tax-product_cat
.etheme-pagination
.page-numbers.prev,

body.tax-product_cat
.etheme-pagination
.page-numbers.next {
    color: #1687a3 !important;

    background: #fff !important;

    border-color: #d5e2e7 !important;
}


body.tax-product_cat
.etheme-pagination
.page-numbers.prev:hover,

body.tax-product_cat
.etheme-pagination
.page-numbers.next:hover {
    color: #fff !important;

    background: #1687a3 !important;

    border-color: #1687a3 !important;
}


/* DOTS */

body.tax-product_cat
.etheme-pagination
.page-numbers.dots {
    min-width: 30px !important;

    padding-left: 4px !important;
    padding-right: 4px !important;

    color: #607086 !important;

    background: transparent !important;

    border-color: transparent !important;
}


/* MOBILE */

@media (max-width: 767px) {

    body.tax-product_cat
    .etheme-pagination
    .page-numbers {
        min-width: 38px !important;
        height: 38px !important;

        margin: 0 2px !important;
        padding: 0 9px !important;
    }

}



/* =========================================================
   TAB PAGINATION — DEFINITIVE XSTORE OVERRIDE
   ========================================================= */

body.tax-product_cat .after-shop-loop {
    --et_active-color: #1687a3 !important;
    --et_main-color: #071b3d !important;
}


/* CURRENT PAGE — XSTORE + WOOCOMMERCE */

body.tax-product_cat
.after-shop-loop
.etheme-pagination
.current,

body.tax-product_cat
.after-shop-loop
.woocommerce-pagination
.current,

body.tax-product_cat
.after-shop-loop
.woocommerce-pagination
.page-numbers.current,

body.tax-product_cat
.after-shop-loop
span.current {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    background-color: #1687a3 !important;
    background: #1687a3 !important;

    border-color: #1687a3 !important;

    box-shadow: none !important;
}


/* INACTIVE PAGE BUTTONS */

body.tax-product_cat
.after-shop-loop
.etheme-pagination a,

body.tax-product_cat
.after-shop-loop
.woocommerce-pagination a.page-numbers {
    color: #071b3d !important;
    -webkit-text-fill-color: #071b3d !important;

    background-color: #ffffff !important;
    background: #ffffff !important;

    border-color: #d5e2e7 !important;
}


/* HOVER */

body.tax-product_cat
.after-shop-loop
.etheme-pagination a:hover,

body.tax-product_cat
.after-shop-loop
.woocommerce-pagination a.page-numbers:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    background-color: #086b85 !important;
    background: #086b85 !important;

    border-color: #086b85 !important;
}


/* NEXT / PREVIOUS */

body.tax-product_cat
.after-shop-loop
a.next,

body.tax-product_cat
.after-shop-loop
a.prev {
    color: #1687a3 !important;
    -webkit-text-fill-color: #1687a3 !important;

    background: #ffffff !important;

    border-color: #d5e2e7 !important;
}


body.tax-product_cat
.after-shop-loop
a.next:hover,

body.tax-product_cat
.after-shop-loop
a.prev:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    background: #1687a3 !important;

    border-color: #1687a3 !important;
}


/* DOTS */

body.tax-product_cat
.after-shop-loop
.dots {
    color: #607086 !important;
    -webkit-text-fill-color: #607086 !important;

    background: transparent !important;

    border-color: transparent !important;
}

