:root {
    --supplements-color: #97C53E;
    --products-color: #52C4F1;
    --agile-color: #19A5DE;
    --form-color: #0870B0;
}

p {
    font-size: 1.25em;
    line-height: 1.5em;
}

.link {
    color: #05628b;
    text-decoration: none;
    border-bottom: 1px solid rgba(5, 98, 139, 0.5);
    display: inline;
}

.container:not(.gtranslate-icon) {
    height: 100%;
    width: 100%;
    max-width: 1240px;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.inner-container {
    max-width: 1100px;
    margin: auto;
}

.container.menu-container {
    max-width: 1280px;
    padding-right: 20px;
    padding-left: 20px;
}

.border-btn {
    display: block;
    background: transparent;
    border: 2px solid #FFF;
    color: white;
    width: fit-content;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    line-height: 1.375em;
    letter-spacing: .03125em;
    position: relative;
    border-radius: 4px;
    box-sizing: border-box;
    z-index: 0;
    text-align: center;
    padding: 8px 16px;
    font-size: 17px;
    font-weight: 700;
}

.border-btn:before {
    content: "";
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 0;
    height: 100%;
    border-radius: 4px;
    z-index: -1;
    background: #fd934a;
}

.border-btn:hover:before {
    width: 100%;
}


.teal-background {
    background-color: #2fa59f;
    padding-top: 56px;
    padding-bottom: 0;
    border-bottom: 5px solid #ebebeb;
}

/*Hero Section*/
.hero-container {
    margin-bottom: 30px;
}

section.mp-hero {
    background-image: linear-gradient(272deg, #77B336 0%, #22878E 25%, #094F6F 79.06%);
    padding-bottom: 0;
}

.container.mp-cat-section {
    margin-bottom: -100px;

}

.mp-hero .mp-hero__heading {
    text-align: center;
    font-size: 3em;
    line-height: 1.3em;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: white !important;
}

.mp-hero .mp-hero__heading span {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    color: #add261;
    font-size: 1em;
}

.heading br {
    display: none;
}

.mp-hero__sub {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 10px auto 0;
}

.subheading {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: auto;
    color: white;
    margin-bottom: 30px;
    column-gap: 15px;
    row-gap: 10px;
    flex-wrap: wrap;
}

.subheading p {
    padding: 0;
    margin: 6px 0 6px 0;
    font-size: 1.25em;
    color: #fff;
}

/* Circle Menu */

.slice-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.slice-content p {
    font-size: 12px;
    line-height: 16px;
}

.slice-content a.btn {
    display: block;
    padding: 6px 10px;
    font-size: 0.9em;
    line-height: 1em;
    font-weight: 700;
    width: fit-content;
    color: white;
    background-color: #5D5C5C;
    border-radius: 4px;
    text-decoration: none;
    margin: 10px auto 0;
}


.container-menu-marketplace {
    padding-left: 0;
    padding-right: 0;
}

.menu-marketplace path.hover {
    fill: #fff;
}

svg .slice circle {
    transition: all 0.5s ease;
}

.slice .hover {
    transition: fill 0.5s ease;
}

.slice:hover,
.slice.selected {
    cursor: pointer;
}

.center.sector {
    cursor: pointer;
}

.slice-content {
    transition: color 0.25s ease;
}

.slice-content .btn {
    transition: background-color 0.25s ease, color 0.25s ease;
}


.slice-content.hovered,
.slice-content.hovered h3,
.slice-content.hovered p,
.slice-content.selected,
.slice-content.selected h3,
.slice-content.selected p {
    color: #fff !important;
}



.slice-supplements.hovered .btn,
.slice-supplements.selected .btn {
    background: #fff;
    color: var(--supplements-color);
}

.slice-products.hovered .btn,
.slice-products.selected .btn {
    background: #fff;
    color: var(--products-color);
}

.slice-agile.hovered .btn,
.slice-agile.selected .btn {
    background: #fff;
    color: var(--agile-color);
}

.slice-form.hovered .btn,
.slice-form.selected .btn {
    background: #fff;
    color: var(--form-color)
}

.icon-hover {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.icon-default {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.slice:hover .icon-hover,
.slice.selected .icon-hover {
    opacity: 1;
}

.slice:hover .icon-default,
.slice.selected .icon-default {
    opacity: 0;
}

.center.slice {
    transition: all 0.5s ease;
}

.center.slice:hover {
    fill: #add261;
}

#sliceAgile:hover path.hover,
#sliceAgile:hover circle,
#sliceAgile.selected path.hover,
#sliceAgile.selected circle,
#sliceAgileMobile.selected path.hover,
#sliceAgileMobile.selected circle {
    fill: var(--agile-color);
}

#sliceProducts:hover path.hover,
#sliceProducts:hover circle,
#sliceProducts.selected path.hover,
#sliceProducts.selected circle,
#sliceProductsMobile.selected path.hover,
#sliceProductsMobile.selected circle {
    fill: var(--products-color);
}

#sliceSupplements:hover path.hover,
#sliceSupplements:hover circle,
#sliceSupplements.selected path.hover,
#sliceSupplements.selected circle,
#sliceSupplementsMobile.selected path.hover,
#sliceSupplementsMobile.selected circle {
    fill: var(--supplements-color);
}

#sliceForm:hover path.hover,
#sliceForm:hover circle,
#sliceForm.selected path.hover,
#sliceForm.selected circle,
#sliceFormMobile.selected path.hover,
#sliceFormMobile.selected circle {
    fill: var(--form-color);
}

#halfSphere {
    position: relative;
    margin: auto;
    max-width: 914px;
    width: 100%;
}

path {
    pointer-events: all;
}

.menu-marketplace {
    width: 100%;
    height: 100%;
    display: block;
}


.slice-content {
    position: absolute;
    width: 180px;
    pointer-events: none;
    text-align: center;
}

.slice-supplements {
    left: 9%;
    top: 67%;
}

.slice-products {
    left: 37%;
    top: 26%;
    transform: translateX(-50%);
}

.slice-products br,
.slice-agile br {
    display: none;
}

.slice-agile {
    right: 37%;
    top: 26%;
    transform: translateX(50%);
}

.slice-form {
    right: 9%;
    top: 67%;
}

.menu-marketplace-mobile {
    display: none;
}


/*Container */
.split-content {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.split-content.weight-mgmt {
    align-items: center;
    gap: 10%;
}

.split-content.visit-chiro {
    gap: 10%;
}

.split-content.visit-chiro div.info-div {
    width: 50%;
}

.split-content.visit-chiro div.info-div h2 {
    text-align: left;
    margin-top: 20px;
}

.split-content.visit-chiro div.appt-form-div {
    width: 40%;
}

.split-content.weight-mgmt .info-div>p {
    margin: 20px 0;
}

.split-content.weight-mgmt a {
    margin-left: 0;
    margin-top: 10px !important;
}

.split-content.weight-mgmt div.img-div {
    width: 35%;
}

.split-content.weight-mgmt div.info-div {
    text-align: left;
    width: 55%;
}

.split-content.weight-mgmt div.img-div img {
    width: 98%;
    max-width: 400px;
}

/* Products Section */
.product-section {
    background-color: #FFFFFF;
    padding: 10em 0 4em 0;
}

.category-page.product-section {
    padding-top: 2em;
}


.footer-form-section {
    padding: 4em 0 4em 0;
}

.section--w-bgi-dots {
    background-image: url(/wp-content/themes/chiroone/assets/images/large-dots.png);
    background-repeat: repeat-x;
    background-size: 2%;
    background-position: 0px 6px;
}

.product-section h3 {
    font-family: "Nunito Sans", sans-serif;
    font-size: 28px;
}

.products {
    display: block;
    text-align: center;
    position: relative;
}

.products .products-div {
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    padding: 0;
    transition: opacity .5s;
}

.products-div {
    scroll-margin-top: 100px;
}

.products .products-div .products-heading-container {
    margin-bottom: 40px;
}

.products-div h2 {
    font-size: 2.3em;
    text-align: center;
    margin: 0 auto 25px;
    font-weight: 800;
    letter-spacing: 0;
    max-width: 800px;
    display: block;
}

.products-div h2 span.written {
    font-family: 'Marydale';
    font-size: 1.05em;
    font-weight: 900;
    line-height: 1.25em;
    color: #add261;
}

.products-div>p,
.products-heading-container p {
    max-width: 860px;
    margin: auto;
}

.subcopy {
    margin: 0 0 34px 0;
}

.product {
    width: calc(50% - 10px);
    border-radius: 6px;
    margin-bottom: 35px !important;
    position: relative;
    box-sizing: border-box;
    border: 1px solid #e2e2e2;
    margin: 0;
}

.product h3 {
    color: #464646;
    font-size: 20px;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: normal;
}

.product.spm h3 {
    background-color: var(--cat-color);
}

span.product-label {
    position: absolute;
    padding: 6px 9px 5px;
    border-radius: 0px 0 0 5px;
    top: 0;
    right: 0;
    font-size: 14px;
    line-height: 1em;
    font-weight: 600;
    text-box-trim: trim-both;
    display: block;
    z-index: 1;
    background: var(--cat-color);
    color: #fff;
}

.brand-label {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.product-brand {
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1em;
    font-weight: 600;
    text-box-trim: trim-both;
    margin: 10px;
    display: inline-block;
    background-color: #fff;
    color: var(--cat-color);
    border: 1.5px solid var(--cat-color);
}

.product-img {
    width: 100%;
    text-align: center;
    padding: 5px;
    position: relative;
}

.product-img>div {
    background-color: #f6f6f6;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.product-img img {
    display: block;
    width: 100%;
}

.product .card-bottom {
    width: 100%;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    text-align: left;
    border-top: 2px solid var(--cat-color);
    padding: 20px 16px 16px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    color: #464646;
}

.product .card-bottom p {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    color: #464646;
}

.product .card-bottom p.product-subheading {
    color:
        color-mix(in srgb, var(--cat-color) 70%, black);
    margin-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #dcdcdc;
}

.product .card-bottom p.disclaimer {

    font-weight: 400;
    font-size: 11px;
    line-height: 1.6;
    color: #464646;
}

.product .card-bottom li {
    font-weight: 400;
    font-size: 17px;
    margin-left: 20px;
    line-height: 1.6;
    color: #464646;
    list-style: none;
    position: relative;
    display: flex;
    margin-bottom: 2px;
    align-items: center;
}

.product .card-bottom p.no-link {
    font-weight: 800;
    display: block;
    padding-bottom: 10px;
}

.product .card-bottom li:before {
    content: "";
    background-image: url(/wp-content/themes/chiroone/assets/images/marketplace-shapes/checkmark.png);
    width: 15px;
    height: 18px;
    background-size: contain;
    display: flex;
    position: absolute;
    left: -20px;
    background-repeat: no-repeat;
    background-position: center;
}

.orange-btn {
    display: block;
    padding: 8px 14px;
    margin: 20px auto;
    font-size: 1.1em;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    width: fit-content;
    color: white;
    text-decoration: none;
    background-color: #fc9149;
    position: relative;
    z-index: 0;

}

.orange-btn:before {
    background: #0F6389;
    content: "";
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 0;
    height: 100%;
    border-radius: 4px;
    z-index: -1;
}

.orange-btn:hover:before {
    width: 100%;
}

.teal-btn:before {
    background: #fd934a;
    content: "";
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 0;
    height: 100%;
    border-radius: 4px;
    z-index: -1;
}

.teal-btn:hover:before {
    width: 100%;
}

.teal-btn {
    padding: 12px 18px;
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
    background: #2fa59f;
    border: 0;
    color: #fff;
    border-radius: 4px;
    position: relative;
    z-index: 0;
}

#productType0 {
    display: flex;
    opacity: 1;

}

.bullet-list {
    width: 100% !important;
}

.bullet-list div {
    display: flex;
    width: 100% !important;
    margin: 0 0 6px 0;
}

.bullet-list div img {
    width: 24px;
    height: 25px;
    margin-right: 12px;
    position: relative;
    top: 5px;
}

.bullet-list div p {
    margin-top: 0;
    margin-bottom: 4px;
    margin-top: 0px;
}

.visit-chiro div.info-div {
    text-align: left;
}

.visit-chiro h3 {
    line-height: 32px;
    font-family: "marydale";
    font-weight: 700;
    margin-bottom: 15px;
}

.visit-chiro div.info-div .bullet-list {
    margin: 0;
}

.visit-chiro div.info-div .disclaimer {
    margin-left: 36px;
    font-size: 14px;
    margin-top: 0;
}

.visit-chiro img {
    width: 100%;
    max-width: 410px;
}

/* Footer Form */
.blue-section {
    background-color: #106389;
}

.marketplace-footer-form {
    display: flex;
    gap: 10%;
    flex-wrap: wrap;
}

.visit-form-info {
    width: 48%;
    padding-top: 20px;
}

.visit-form-info h2,
.visit-form-info p,
.visit-form-info h2 span {
    color: white;
}

.visit-form-info h2 {
    font-size: 2.3em;
    text-align: left;
    margin: 0 auto 16px;
    font-weight: 800;
    letter-spacing: 0;
    max-width: 800px;
    display: block;
}

.visit-form-info h2 span.written {
    font-family: 'Marydale';
    font-size: 1.05em;
    font-weight: 900;
    line-height: 1.25em;
}

.visit-chiro-form {
    width: 42%;
    border-radius: 16px;
    background-color: white;
    padding: 24px;
}

.products-div {
    transition: opacity 0.3s ease;
}

.products-div.active {
    display: flex;
    opacity: 1;
}

.slice.selected .hover {
    -webkit-filter: brightness(0.9);
    filter: brightness(0.9);
}

.products-list {
    width: 100%;
    gap: 20px;
    display: flex;
    justify-content: center;
}

.products-list .btn {
    display: block;
    margin-top: 20px;
    cursor: pointer;
}

.back-to-top-btn {
    border: 2px solid #2fa59f;
    background-color: transparent;
    color: #2fa59f;
    transition: all 0.5s ease;
}

#productStateIntro h3.section-title {
    text-align: left;
    font-weight: 700;
    letter-spacing: normal;
    margin-bottom: 5px;
}

#productStateIntro p {
    text-align: left;
}

div#productStateIntro {
    margin-bottom: 20px;
}

.back-to-top-btn:before {
    border-radius: 0;
}

.back-to-top-btn:hover {
    color: #fff;
    border-color: #fd934a;
}

.products-grid {
    display: flex;
    max-width: 1100px;
    width: 100%;
    gap: 20px;
    margin: auto;
    flex-wrap: wrap;
    overflow: hidden;
    transition: all 1s ease;
    transition-timing-function: cubic-bezier(.25, .8, .25, 1);
}

.products-grid.expanded {
    opacity: 1;
}

.products-grid .product.extra {
    display: none;
    height: 0px !important;
    transition: all 0.5s ease;
    overflow: hidden;
}

.products-grid.expanded .product.extra {
    display: block;
    height: auto !important;
}

.marketplace-main {
    width: 100%;
}

/*Marketplace Form*/

.marketplace-form input:not([type="checkbox"]),
.gform_wrapper .marketplace-form .gfield textarea {
    font-family: "Nunito Sans", sans-serif;
    padding: 8px;
    border: 1px solid #CCC;
    width: 96%;
    font-size: 1.25em;
    line-height: 1.3em;
    margin-bottom: 12px;
    border-radius: 3px;
    width: 100%;
}

.marketplace-form label {
    display: none !important;
}

.marketplace-form div.gfield {
    margin-top: 0;
    margin-bottom: 10px;
}

.marketplace-form .gform-footer {
    margin-top: 0;
    text-align: left;
}

.marketplace-form .gform-footer .button {
    font-family: "Nunito Sans", sans-serif;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 1.25em;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    color: white;
    background: #fc9149;
    width: auto;
}

.marketplace-form_wrapper .gform_submission_error {
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: 0;
}

.marketplace-form .subscription-checkbox {
    margin-top: 0 !important;
}

.marketplace-form .subscription-checkbox.gfield label {
    display: inline-block !important;
    font-family: "Nunito Sans";
    font-weight: 400;
    font-size: 0.85em;
    line-height: 1.25em;
    background: none;
    position: relative;
    text-transform: none;
    margin: -40px 0 0 40px;
}

.marketplace-form .subscription-checkbox legend {
    font-family: "Nunito Sans";
    font-weight: 400;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #737373;
}

.marketplace-form .subscription-checkbox input {
    width: 30px !important;
    height: 30px !important;
    border: 1px solid #a8a8a8;
    border-radius: 5px;
    padding: 0;
    margin-top: 0;
    margin-left: 0;
    background: #fff;
}

.marketplace-form .subscription-checkbox input[type=checkbox]:checked:after {
    content: ' ';
    display: block;
    width: 19px;
    height: 9px;
    position: absolute;
    border: 4px solid #add261;
    border-top: none;
    border-right: none;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-left: 5px;
    margin-top: 7px;
}

.marketplace-layout {
    display: flex;
    gap: 40px;
    padding: 32px 0;
    align-items: flex-start;
    width: 100%;
}

.marketplace-sidebar {
    flex: 0 0 300px;
    width: 300px;
    top: 130px;
}

.sidebar-filter-wrap {
    background: #f4f4f4;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 20px 18px;
}

.sidebar-filter__header {
    display: block;
    align-items: center;
    margin-bottom: 18px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 15px;
}

h3.sidebar-filter__title {
    text-align: left;
    margin: 0 0 0px;
    font-weight: 700;
    letter-spacing: 0;
    font-size: 22px;
    line-height: 1.2em;
    display: block;
    color: #464646;
}

p.filter-subheading {
    font-family: "Nunito Sans";
    font-weight: 400;
    line-height: 1.2em;
    color: #464646;
    font-size: 16px;
    margin-top: 10px;
    text-align: left;
}

.sidebar-filter__reset {
    background: none;
    border: none;
    font-size: 14px;
    color: #fc9149;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 0;
    visibility: hidden;
    /* shown via JS when a filter is active */
    transition: color 0.2s ease;
}

.sidebar-filter__reset:hover {
    color: #0870B0
}

/* ─── Purpose groups ─────────────────────────── */
.purpose-group {
    margin-bottom: 20px;
}

.purpose-group:last-child {
    margin-bottom: 0;
}

h3.purpose-group__label {
    font-family: "Nunito Sans", sans-serif;
    text-align: left;
    margin: 0 0 10px;
    font-weight: 700;
    letter-spacing: 0;
    font-size: 20px;
    line-height: 1.2em;
    display: block;
    color: #464646;
}

.purpose-group__options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ─── Purpose option (radio row) ─────────────── */
.purpose-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: none;
    padding: 5px 4px;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.purpose-option:hover {
    background: var(--mp-gray);
}

/* The dot (radio indicator) */
.purpose-option__dot {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 2px;
    border: 1px solid #e2e2e2;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease;
    position: relative;
}

/* Inner filled dot when active */
.purpose-option__dot::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 2px;
    background: #97C53E;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Active state */
.purpose-option--active .purpose-option__dot {
    border-color: #97C53E;
}

.purpose-option--active .purpose-option__dot::after {
    opacity: 1;
}

.purpose-option__label {
    font-family: 'Nunito Sans';
    font-size: 16px;
    color: #4c4c4c;
    line-height: 1.3;
    transition: color 0.2s ease;
    font-weight: 400;
}


@media (max-width: 1200px) {
    h1.heading {
        font-size: 2.3em;
        line-height: 1.2em;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 992px) {
    h1.heading {
        font-size: 2.1em;
        letter-spacing: 0.1px;
    }
}

@media (max-width: 576px) {
    h1.heading {
        font-size: 2em;
        letter-spacing: 0;
    }

    .products-div h2,
    .visit-form-info h2 {
        font-size: 1.8em;
        line-height: 1.3em;
    }

    .products-div h2 {
        margin-bottom: 15px;
    }

    .products-div h2 span.written,
    .visit-form-info h2 span.written {
        line-height: 1em;
    }

    .product-section h3 {
        font-size: 22px;
    }
}

@media (max-width: 730px) {
    .slice-products br {
        display: block;
    }

    .menu-marketplace-desktop {
        display: none;
    }

    .menu-marketplace-mobile {
        display: block;
    }

    .slice-supplements {
        left: 32%;
        top: 30%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
    }

    .slice-products {
        left: auto;
        bottom: auto;
        right: 32%;
        top: 30%;
        transform: translate(50%, -50%);
    }

    .slice-agile {
        left: auto;
        top: auto;
        right: 32%;
        bottom: 30%;
        transform: translate(50%, 50%);
    }

    .slice-form {
        left: 31%;
        bottom: 30%;
        top: auto;
        right: auto;
        transform: translate(-50%, 50%);
    }

    .container-menu-marketplace {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 20px !important;
    }

    .subheading {
        margin-bottom: 10px;
    }
}


@media (max-width:510px) {

    .slice-content {
        width: 40%;
    }

    .slice-products br {
        /* display: none; */
    }

    .slice-content p {
        display: none;
    }

    .slice-content h3 {
        font-size: clamp(14px, 2.7vw, 15px);
        line-height: 1.2em;
    }


    .slice-content a.btn {
        line-height: 1.2em;
    }

    .slice-supplements {
        left: 29.5%;
        top: 30%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
    }

    .slice-products {
        left: auto;
        bottom: auto;
        right: 32%;
        top: 30%;
        transform: translate(50%, -50%);
    }

    .slice-agile {
        left: auto;
        top: auto;
        right: 31%;
        bottom: 30%;
        transform: translate(50%, 50%);
    }

    .slice-agile br {
        display: block;
    }

    .slice-form {
        left: 29.5%;
        bottom: 30%;
        top: auto;
        right: auto;
        transform: translate(-50%, 50%);
    }
}

@media (max-width: 998px) {
    p {
        font-size: 1.2em;
    }

    .product h3 {
        font-size: 18px;
    }
}

/* Tablet */

@media (max-width: 769px) {

    .product {
        width: 98%;
        margin: 0 auto 24px auto !important;
    }

    .split-content.weight-mgmt div.img-div,
    .split-content.weight-mgmt div.info-div,
    .split-content.visit-chiro div.info-div,
    .split-content.visit-chiro div.appt-form-div {
        width: 100%;
    }

    .products-div h2,
    .products-heading-container p,
    .products-div>p {
        text-align: left;
        width: 100%;
    }

    .img-div {
        text-align: left;
    }

    p {
        font-size: 1.15em;
    }

    .visit-form-info {
        width: 100%;
        padding-top: 0;
        margin: auto;
    }

    .split-content.visit-chiro div.appt-form-div {
        min-height: 300px;
        margin-top: 20px;
    }

    .visit-chiro-form {
        width: 100%;
        margin: auto;
        min-height: 300px;
        margin-top: 20px;
    }

    .split-content.weight-mgmt .img-div {
        margin-bottom: 30px;
    }

    .section--w-bgi-dots {
        background-size: 5%;
    }
}

@media (max-width:500px) {
    .product-section {
        padding-top: 160px;
    }
}

/* Phone */

@media (max-width: 480px) {

    .container {
        padding: 0 25px;
    }

    .footer-form-section {
        padding-top: 2.5em;
        padding-bottom: 2.5em;
    }

    .product-section {
        padding-bottom: 2.5em;
    }

    .category-page.product-section {
        padding-top: 4em;
    }

    p {
        font-size: 1.15em;
    }

    .slice-content a.btn {
        padding: 5px 7px 5.5px;
        font-size: 12px;
        line-height: 1em;
    }

    .products .products-div .products-heading-container {
        margin-bottom: 20px;
    }

    .visit-chiro img,
    .split-content.weight-mgmt div.img-div img {
        width: 90%;
    }

    #productType0 br {
        display: none;
    }
}

@media (max-width: 597.99px) {
    .heading br {
        display: block;
    }
}


.pre-header-marketplace {
    display: block;
    background-color: #97c53e;
    padding: 10px 0;

}

.offer-banner-marketplace {
    color: var(--white);
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    transition: all .2 ease-in-out;
    font-family: "Nunito Sans";
    text-underline-offset: 4px;
    line-height: 1.5em;
    text-align: center;
}

.offer-banner-marketplace a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    display: inline;
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
}

.offer-banner-marketplace a:hover {
    border-color: #fff;
}

@media (max-width: 767px) {
    .tax-product_category .pre-header-marketplace {
        position: fixed;
        width: 100%;
        z-index: 7;
    }

    section.mp-hero.mp-hero--category {
        padding-top: 100px;
    }
}

@media (max-width: 520px) {
    .offer-banner-marketplace {
        font-size: 1em;
        line-height: 1.2em;
    }

    .teal-background {
        padding-top: 40px;
    }

    .heading {
        margin-bottom: 20px;
    }
}

/* ─── View More button ────────────────────────── */
.view-more-wrap {
    text-align: center;
    padding: 0;
    grid-column: 1 / -1;
}

.view-more-wrap button {
    margin: 0px 0 20px;
}

/* ─── mp-card hidden by limit ─────────────────── */
.mp-card--hidden-extra {
    display: none !important;
}

/* ─── Mobile filter bar (toggle button row) ──── */
.mobile-filter-bar {
    display: none;
    /* hidden on desktop */
}

.mobile-filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid #e2e2e2;
    border-radius: 5px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 600;
    color: #464646;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: auto;
    justify-content: center;
    margin-left: 1%;
    font-family: 'Nunito Sans';
}

.mobile-filter-toggle:hover {
    border-color: #0870B0;
    box-shadow: 0 2px 8px rgba(8, 112, 176, 0.1);
}

.mobile-filter-count {
    background: #0870B0;
    color: #fff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    min-width: 20px;
    text-align: center;
}

/* ─── Filter overlay (mobile backdrop) ────────── */
.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
}

.filter-overlay.overlay--visible {
    display: block;
}

/* ─── Sidebar mobile drawer ───────────────────── */
.sidebar-filter__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-filter__close {
    display: none;
    background: #fc9149;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}


.brand-callout {
    margin-bottom: 20px;
    padding: 5px;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
}

.brand-callout-flex {
    display: flex;
}

.callout-img {
    width: 30%;
    align-items: center;
    display: flex;
    border-radius: 4px 0 0 4px;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.callout-img img {
    width: 100%;
    display: block;
    border-radius: 5px 0 0 5px;
    border: 1px solid #f6f6f6;
}

.callout-txt {
    width: 70%;
    padding: 15px;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.callout-txt h3 {
    text-align: left;
    font-weight: 700;
    letter-spacing: normal;
    font-size: 26px;
    line-height: 1.3em;
}

.callout-txt p.fancy {
    font-weight: 600;
    margin-bottom: 5px;
    color: #add261;
    font-size: 22px;
}

.callout-txt p {
    text-align: left;
    line-height: 1.5em;
    font-size: 18px;
    margin-top: 10px;
}

.sidebar-filter__close:hover {
    background: #065a8f;
}

/* ─── Active filter chips ─────────────────────── */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
    font-size: 0.84rem;
}

.active-filters span,
.active-filters .clear-all-btn {
    margin-bottom: 10px;
}

.filter-chip-label {
    color: #6f6f6f;
    font-weight: 500;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px 3px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    background: rgb(244 244 244);
    color: #6f6f6f;
    border: 1px solid #e2e2e2;
    text-box-trim: trim-both;
}



.filter-chip button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.15s;
    text-box-trim: trim-both;
}

.filter-chip button:hover {
    opacity: 1;
}

.clear-all-btn {
    background: none;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 13px;
    cursor: pointer;
    color: #6f6f6f;
    transition: all 0.15s;
}

.clear-all-btn:hover {
    border-color: #0870B0;
    color: #0870B0;
}

@media (min-width: 901px) {
    .sidebar-filter__reset {
        display: none;
    }
}

@media (max-width: 900px) {

    .mobile-filter-bar {
        display: block;
        margin-bottom: 12px;
    }

    .sidebar-filter__close {
        display: block;
    }

    .marketplace-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        max-height: 75vh;
        overflow-y: auto;
        z-index: 100;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    }

    .marketplace-sidebar.sidebar--open {
        transform: translateY(0);
    }

    /* Flat list on mobile (no horizontal scroll) */
    .purpose-groups {
        display: block;
        overflow-x: visible;
    }

    .purpose-group {
        min-width: unset;
        margin-bottom: 16px;
    }

    .sidebar-filter__actions {
        justify-content: end;
        padding-top: 10px;
        border-top: 1px solid #e2e2e2;
        margin-top: 20px;
    }
}

@media (max-width: 769px) {
    .marketplace-layout {
        padding: 15px 0;
    }
}

@media (max-width: 540px) {
    .brand-callout-flex {
        flex-direction: column;
    }

    .callout-img {
        width: 100%;
        min-height: 120px;
        border-radius: 4px 4px 0 0;
    }

    .callout-txt {
        width: 100%;
    }
}


.product-gallery-slider {
    position: relative;
}

.product-gallery-splide {
    position: relative;
}

.product-gallery-splide .splide__slide img {
    width: 100%;
    height: auto;
    display: block;
}

.product-gallery-splide .splide__track {
    width: 100%;
}

.product-gallery-splide .splide__arrows {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.product-gallery-splide .splide__arrow {
    background: rgba(255, 255, 255, 0.85);
    opacity: 1;
}

.product-gallery-splide .splide__arrows .splide__arrow--prev svg {
    transform: rotate(180deg);
}

.product-gallery-splide .splide__arrow svg {
    fill: #fff;
    width: 16px;
    height: 16px;
}

.product-gallery-splide .splide__pagination {
    display: block !important;
    position: absolute;
    bottom: 5px;
    text-align: center;
    margin: auto;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 2px 10px;
    border-radius: 50px;
    box-shadow: 2px 2px 2px hsl(0deg 0% 0% / 0.20);
}

.product-gallery-splide .splide__pagination li {
    margin: 0 2px;
}

.product-gallery-splide .splide__pagination .splide__pagination__page {
    width: 10px;
    height: 10px;
    background: #46464680;
    border-radius: 50%;
    margin: 0 2px;
}

.product-gallery-splide .splide__pagination .splide__pagination__page.is-active {
        background: rgb(15 99 137);
}



/* NEW Categories Splide */


.mp-cat-splide.splide {
    margin-top: 40px;
    position: relative;

}

.mp-cat-splide.splide .splide__arrows {
    position: absolute;
    width: 100%;
    top: 30%;
    display: flex;
    justify-content: space-between;
}

.mp-cat-splide.splide .splide__arrow svg path {
    fill: white;
}

.mp-cat-splide.splide .splide__arrow {
    display: flex;
    align-items: center;
    border-radius: 2px;
    padding: 5px;
}

.mp-cat-splide.splide .splide__arrow svg {
    width: 30px;
}

.mp-cat-splide.splide .splide__arrows .splide__arrow--prev {
    transform: rotate(180deg);
    position: relative;
    left: -40px;
}

.mp-cat-splide.splide .splide__arrows .splide__arrow--next {
    position: relative;
    right: -40px;
}

.mp-cat-splide.splide .splide__track {
    padding-bottom: 20px;
}

@media (max-width:500px) {
    .mp-cat-splide.splide .splide__pagination button.splide__pagination__page {
        background: #464646;
        border-radius: 50%;
        width: 10px;
        height: 10px;
        padding: 0 5px;
        margin: 0 5px;
        opacity: 0.5;
        transition: all 0.5s ease;
    }

    .mp-cat-splide.splide .splide__pagination button.splide__pagination__page.is-active {
        opacity: 1;
        background-color: #094f6f;
    }

    .mp-cat-splide.splide .splide__arrows {
        position: absolute;
        width: 100%;
        top: calc(100% - 33px);
        display: flex;
        justify-content: center;
        gap: 160px;
    }

    .mp-cat-splide.splide .splide__arrows .splide__arrow--prev {
        transform: rotate(180deg);
        position: relative;
        left: 20px;
    }

    .mp-cat-splide.splide .splide__arrow {
        display: flex;
        align-items: center;
        border-radius: 2px;
        padding: 5px;
    }

    .mp-cat-splide.splide .splide__arrow svg {
        width: 20px;
    }

    .mp-cat-splide.splide .splide__arrow svg path {
        fill: #464646ad;
    }

    .mp-cat-splide.splide .splide__arrows .splide__arrow--next {
        position: relative;
        right: 20px;
    }
}

.splide__slide {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 10px 10px 5px 5px;
}

a.mp-cat-card {
    background: #fff;
    width: 100%;
    height: 100%;
    border-bottom: 6px solid var(--cat-color);
    border-radius: 10px 10px 5px 5px;
    overflow: hidden;
    transition: all 0.5s ease;
}

a.mp-cat-card:hover {
    background-color: var(--cat-color);
    border-color: color-mix(in srgb, var(--cat-color) 70%, black);
    color: #fff;
}


a.mp-cat-card:hover .mp-cat-card__body h3,
a.mp-cat-card:hover .mp-cat-card__body p {
    color: #fff;
}

.mp-cat-card__media img {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px 5px 0 0;
    background-color: #fff;
}

.mp-cat-card__media {
    padding-bottom: 10px;
    margin: 10px 10px 10px;
    display: flex;
}

.mp-cat-card__body {
    padding: 0px 15px 20px;
    text-align: center;
}

h3.mp-cat-card__name {
    font-size: 18px;
    font-weight: 800;
    color: #464646;
    padding-bottom: 10px;
}

p.mp-cat-card__desc {
    font-size: 17px;
    font-weight: 500;
    line-height: normal;
}

span.mp-cat-card__cta {
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block;
    background: #fd934a;
    margin-top: 15px;
}

section.mp-hero.mp-hero--category {
    padding-bottom: 56px;
}

.mp-hero.mp-hero--category .mp-hero__heading {
    text-align: left;
}

.mp-hero.mp-hero--category .mp-hero__sub {
    text-align: left;
    margin-left: 0;
}

nav.mp-breadcrumb {
    margin-bottom: 25px;
}

nav.mp-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

nav.mp-breadcrumb [aria-hidden] {
    color: rgba(255, 255, 255, 0.6);
}

nav.mp-breadcrumb [aria-current="page"] {
    color: #fff;
}

.category-callout-video {
    text-align: left;
    padding-top: 15px;
}

.category-callout-video>button,
.category-callout-video>a {
    background: #fd934a;
    text-align: center !important;
    border-radius: 5px;
    line-height: 1em;
    padding: 12px 15px;
    color: #fff;
    z-index: 0;
    position: relative;
    cursor: pointer;
    font-size: 16px;
}

.category-callout-video>button:before,
.category-callout-video>a:before {
    background: #0F6389;
    content: "";
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 0;
    height: 100%;
    border-radius: 4px;
    z-index: -1;
}

.category-callout-video>button:hover:before,
.category-callout-video>a:hover:before {
    width: 100%;
}

.mp-cat-video.video {
    z-index: 25;
}

@media (max-width: 500px) {

    .mp-cat-card__body {
        padding-left: 10px;
        padding-right: 10px;
    }

    .container.mp-cat-section {
        padding: 0;
    }


}

.video-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.video-overlay.active {
    display: flex;
}

.video-modal {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: linear-gradient(90deg, rgb(172, 209, 96) 0%, rgb(119, 179, 67) 25%, rgb(57, 174, 170) 52%, rgb(69, 136, 177) 78%, rgb(0, 86, 123) 99%);
    padding: 10px;
    border-radius: 10px;
}

.video-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-close {
    position: absolute;
    top: -42px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 28px;
    opacity: 0.8;
    line-height: 1;
    padding: 4px 8px;
}

.video-close:hover {
    opacity: 1;
}

section.mp-related-cats {
    background-color: #f6f6f6;
}

section.mp-related-cats h2.mp-related-cats__title {
    font-size: 2.3em;
    margin-bottom: 16px;
    margin-top: 0;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25em;
    padding-bottom: 0;
}

section.mp-related-cats h2.mp-related-cats__title span {
    font-family: "Marydale";
    font-size: 1.05em;
    font-weight: 900;
    line-height: 1.25em;
    color: #add261;
}

.cat-custom-container {
    overflow: hidden;
    background-color: rgb(16, 99, 137);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    background-image: var(--custom-section-bg) !important;
    border-radius: 8px;
    overflow: hidden;
}

.cat-custom-content {
    width: 60%;
    display: block;
    text-align: left;
    color: #fff;
    padding: 40px 0 40px;
}

.cat-custom-content h2 {
    font-size: 2.3em;
    margin-bottom: 16px;
    margin-top: 0;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25em;
    padding-bottom: 0;
    color: #fff;
}

.cat-custom-content p {
    color: #fff;
}

.cat-custom-content ul {
    margin-top: 10px;
}

.cat-custom-content ul li {
    font-size: 1.15em;
    line-height: 1.1em;
    color: #fff;
    list-style: none;
    position: relative;
    margin-left: 20px;
    margin-bottom: 10px;
    display: block;
}

.cat-custom-content ul li:before {
    content: "";
    background-image: url(/wp-content/themes/chiroone/assets/images/marketplace-shapes/checkmark.png);
    width: 18px;
    height: 18px;
    background-size: contain;
    display: block;
    position: absolute;
    left: -30px;
    background-repeat: no-repeat;
    background-position: center;
}

.cat-custom-container a.btn {
    font-family: 'Nunito Sans';
    font-size: 1em;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    line-height: 1em;
    text-align: center;
    color: white;
    display: inline-block;
    white-space: normal;
    height: auto;
    margin-right: 10px;
    margin-bottom: 5px;
    border: 2px solid #2fa59f;
    transition: all 0.5s ease;
    padding: 12px 18px;
    margin-top: 16px;
    border-radius: 5px;
}

.cat-custom-container a.main-btn {
    background: #2fa59f;
}

.cat-custom-content .custom-section-logo,
.cat-custom-content img {
    max-width: 250px;
    display: block;
    max-height: 100px;
    margin-bottom: 30px;
}

.products-state {
    padding-bottom: 40px;
}

.products-state h2 {
    font-weight: 700;
    letter-spacing: normal;
    font-size: 24px;
    line-height: 1.3em;
}

.products-state button {
    margin-top: 20px;
}

.shopify-buy-frame {
    max-width: none !important;
    margin-bottom: 15px;
}

.shopify-buy__btn-wrapper {
    margin-top: 0 !important;
}

.shopify-buy__btn-wrapper {
    margin-bottom: 10px !important;
}

button.shopify-buy__btn {
    padding: 8px 14px;
    margin: 0 auto 20px !important;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    width: fit-content;
    color: white;
    text-decoration: none;
    background-color: #fc9149 !important;
    font-family: "Nunito Sans", sans-serif;
}

@media (max-width: 997px) {
    section.mp-related-cats h2.mp-related-cats__title {
        font-size: 1.8em;
    }
}

@media (max-width: 820px) {
    .cat-custom-container {
        background-position: 100px center;
    }
}

@media (max-width: 720px) {
    .cat-custom-content {
        width: 90%;
    }

    .cat-custom-content .custom-section-logo {
        width: 50%;
    }

    .mp-hero .mp-hero__heading {
        font-size: 2em;
    }

    .cat-custom-content h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 560px) {
    .cat-custom-content {
        width: 100%;
    }

    .cat-custom-container {
        background-position: 10px center;
        padding: 0 20px !important;
    }

    .cat-custom-content h2 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .container.products {
        padding-left: 20px;
        padding-right: 20px;
    }


    .category-page.product-section .container.products {
        padding-left: 20px;
        padding-right: 20px;
    }

    section.mp-related-cats {
        background-color: #f6f6f6;
        padding: 40px 0;
    }

    section.mp-related-cats .container {
        padding-left: 20px;
        padding-right: 20px;
    }

}