.fixlab-section-bar {
    background: #fff;
    border-bottom: 1px solid #e0e8dc;
    color: #25352b;
}
.fixlab-section-inner {
    width: min(1280px, calc(100% - 48px));
    min-height: 76px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.fixlab-section-bar .fixlab-section-logo {
    display: block;
    width: clamp(108px, 22vw, 165px);
    flex: 0 0 auto;
}
.fixlab-section-bar .fixlab-section-logo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 165 / 66;
    object-fit: contain;
    object-position: left center;
}
.fixlab-section-bar .fixlab-section-nav {
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid #dce7d7;
    border-radius: 24px;
    background: #f4f7f1;
}
.fixlab-section-bar .fixlab-section-nav a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding-inline: clamp(8px, 2vw, 18px);
    border-radius: 20px;
    color: #25352b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.fixlab-section-bar .fixlab-section-nav a[aria-current="true"] {
    color: #fff;
    background: var(--fixlab-action);
}
.fixlab-section-bar .fixlab-section-nav a:not([aria-current]):hover {
    background: #e8f1e4;
}
@media (max-width: 480px) {
    .fixlab-section-inner {
        width: calc(100% - 24px);
        min-height: 64px;
        gap: 6px;
    }
}



body.flr-site, body.fixlab-store {
    --fixlab-action: #32ad29;
    --fixlab-action-hover: #288c21;
}
.fixlab-section-bar .fixlab-section-nav a[aria-current="true"]:hover {
    background: var(--fixlab-action-hover);
}

body.fixlab-store .button:not(.dark),
body.fixlab-store .finalcta .button:not(.dark),
body.fixlab-store .woocommerce div.product .single_add_to_cart_button.button,
body.fixlab-store .fl-card-cta,
body.fixlab-store .fl-filter-actions > button {
    background: var(--fixlab-action) !important;
    border-color: var(--fixlab-action) !important;
    color: #fff !important;
}
body.fixlab-store .button:not(.dark):hover,
body.fixlab-store .finalcta .button:not(.dark):hover,
body.fixlab-store .woocommerce div.product .single_add_to_cart_button.button:hover,
body.fixlab-store .fl-card-cta:hover,
body.fixlab-store .fl-filter-actions > button:hover {
    background: var(--fixlab-action-hover) !important;
    border-color: var(--fixlab-action-hover) !important;
}

/* Use the same horizontal gutter for each row of the storefront header. */
body.fixlab-store .topline > .wrap,
body.fixlab-store .sitehead .headrow,
body.fixlab-store .sitehead .mainnav {
    width: min(1280px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}
body.fixlab-store .topline > .wrap {
    padding-block: 6px;
}
body.fixlab-store .sitehead .headrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 0;
    padding: 12px 0 8px;
    gap: 16px;
}
body.fixlab-store .sitehead .fl-search {
    order: 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-shadow: none;
}
body.fixlab-store .sitehead .headlinks {
    order: 0;
    margin: 0;
    gap: 16px;
}
body.fixlab-store .sitehead .mainnav {
    min-height: 44px;
    gap: clamp(16px, 3vw, 32px);
}
@media (max-width: 600px) {
    body.fixlab-store .sitehead .headrow {
        gap: 8px;
    }
    body.fixlab-store .sitehead .headlinks {
        gap: 8px;
    }
    body.fixlab-store .sitehead .cartlink {
        gap: 4px;
        font-size: 0;
    }
    body.fixlab-store .sitehead .fl-search {
        padding-inline: 10px 4px;
    }
    body.fixlab-store .sitehead .fl-search input {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    body.fixlab-store .topline > .wrap,
    body.fixlab-store .sitehead .headrow,
    body.fixlab-store .sitehead .mainnav {
        width: calc(100% - 24px);
    }
}
@media (max-width: 360px) {
    body.fixlab-store .sitehead .headrow {
        grid-template-columns: minmax(0, 1fr);
    }
    body.fixlab-store .sitehead .headlinks {
        justify-self: end;
    }
}

body.fixlab-store > .fixlab-store-header {
    position: sticky;
    top: 0;
    z-index: 100;
}
body.fixlab-store.admin-bar > .fixlab-store-header {
    top: var(--wp-admin--admin-bar--height, 32px);
}




.fixlab-section-bar .fixlab-section-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.fixlab-section-bar .fixlab-header-language {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    gap: 2px;
    padding: 3px !important;
    border: 1px solid #dce7d7;
    border-radius: 24px;
    background: #f4f7f1;
    box-shadow: none;
}
.fixlab-section-bar .fixlab-header-language > a {
    display: grid;
    place-items: center;
    min-width: 37px;
    min-height: 36px;
    border-radius: 20px;
    color: #25352b;
    font: 700 12px/1 Roboto, Arial, sans-serif;
    text-decoration: none;
}
.fixlab-section-bar .fixlab-header-language > a[aria-current="true"] {
    color: #245a23;
    background: #e2efdd;
}
.fixlab-section-bar .fixlab-header-language > a:hover {
    background: #e2efdd;
}
@media (max-width: 540px) {
    .fixlab-section-bar .fixlab-section-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        padding-block: 8px;
        row-gap: 4px;
    }
    .fixlab-section-bar .fixlab-section-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
    }
    .fixlab-section-bar .fixlab-header-language {
        grid-column: 2;
        grid-row: 1;
    }
}


body.fixlab-store :is(.herocopy h1 em, .fl-life-title-two, .fl-budget-arrow, .fl-device-arrow) {
    color: var(--fixlab-action) !important;
    -webkit-text-fill-color: currentColor !important;
}



body.fixlab-store > .fixlab-store-header {
    background: #fff;
}
.fixlab-store-header .fixlab-section-inner {
    min-height: 64px;
}
body.fixlab-store .fixlab-store-header .headrow {
    padding-block: 7px 4px;
}
body.fixlab-store .fixlab-store-header .fl-search input {
    height: 38px;
}
body.fixlab-store .fixlab-store-header .mainnav {
    min-height: 40px;
}
html:has(body.fixlab-store) {
    scroll-padding-top: 165px;
}
@media (max-width: 540px) {
    .fixlab-store-header .fixlab-section-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        column-gap: 4px;
    }
    .fixlab-store-header .fixlab-section-nav {
        grid-column: 2;
        grid-row: 1;
    }
    .fixlab-store-header .fixlab-header-language {
        grid-column: 3;
    }
    .fixlab-store-header .fixlab-section-nav a {
        padding-inline: 5px;
        font-size: 11px;
    }
    .fixlab-store-header .fixlab-section-bar .fixlab-header-language {
        gap: 4px;
        padding: 4px !important;
    }
    .fixlab-store-header .fixlab-section-bar .fixlab-header-language > a {
        min-width: 44px;
        min-height: 44px;
        border-radius: 50%;
        font-size: 13px;
    }
    .fixlab-store-header .fixlab-section-logo {
        width: clamp(77px, 22vw, 108px);
    }
}


.fixlab-section-bar .fixlab-section-inner {
    grid-template-columns: minmax(0, 1fr) auto;
}
.fixlab-section-bar .fixlab-header-language {
    grid-column: 2;
}




body .sitehead .mainnav > .fixlab-cross-menu-link,
body .flr-header #flr-navigation > .fixlab-cross-menu-link {
    color: #286b21;
    margin-inline-start: 0;
    padding-inline-start: 14px;
    border-inline-start: 1px solid #dce7d7;
    white-space: nowrap;
}
.fixlab-cross-menu-link span {
    margin-inline-start: 3px;
}

body.fixlab-store .hero .heroactions > a.button {
    background: var(--fixlab-action) !important;
    border-color: var(--fixlab-action) !important;
    color: #fff !important;
    -webkit-text-fill-color: currentColor !important;
}
body.fixlab-store .hero .heroactions > a.button:hover {
    background: var(--fixlab-action-hover) !important;
    border-color: var(--fixlab-action-hover) !important;
}

/* Keep the category control independent of parent-theme button styles. */
body.fixlab-store .sitehead .fl-mega-nav button.fl-mega-trigger {
    background: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
body.fixlab-store .sitehead .fl-mega-nav button.fl-mega-trigger[aria-expanded="true"] {
    color: #286b21;
}

body.fixlab-store .fl-catalog-rail {
    display: grid;
    gap: 16px;
    min-width: 0;
}
.fl-catalog-information {
    padding: 16px;
    border: 1px solid #dce7d7;
    border-radius: 12px;
    background: #f4f7f1;
}
.fl-catalog-benefits { display: grid; gap: 12px; }
.fl-catalog-benefits > div { display: flex; align-items: flex-start; gap: 9px; }
.fl-catalog-benefits svg { width: 18px; height: 18px; flex: none; color: #286b21; }
.fl-catalog-benefits p { margin: 0; line-height: 1.4; font-size: 14px; }
.fl-catalog-benefits small { display: block; margin-top: 3px; }
.fl-catalog-recent { border-top: 1px solid #dce7d7; margin-top: 14px; padding-top: 14px; }
.fl-catalog-recent h2 { font-size: 15px; margin: 0 0 10px; }
.fl-catalog-recent a { display: flex; gap: 8px; align-items: center; padding-block: 6px; font-size: 13px; }
.fl-catalog-recent img { width: 42px; height: 42px; object-fit: contain; border-radius: 5px; background: #fff; }
.fl-catalog-recent strong { display: block; line-height: 1.35; }
@media (min-width: 901px) {
    body.fixlab-store .fl-catalog-rail .fl-filter-sidebar { position: static; max-height: none; }
}
@media (max-width: 900px) {
    body.fixlab-store .fl-catalog-layout { display: flex; flex-direction: column; }
    body.fixlab-store .fl-catalog-results { width: 100%; order: -1; }
    body.fixlab-store .fl-catalog-rail { width: 100%; }
}

body.fixlab-store .variations_form .fl-variant-native { display: none !important; }
body.fixlab-store .fl-variant-options { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 6px 14px; }
body.fixlab-store .variations_form button.fl-variant-option {
    display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 6px; min-height: 44px; padding: 8px 12px; border: 1px solid #d6e2d2;
    border-radius: 10px; background: #fff !important; color: #25352b !important;
    box-shadow: none; font: inherit; font-weight: 600;
}
body.fixlab-store .variations_form button.fl-variant-option[aria-pressed="true"] {
    border-color: #387c2d; background: #edf6e9 !important; box-shadow: inset 0 0 0 1px #387c2d;
}
body.fixlab-store .variations_form button.fl-variant-option:disabled { opacity: .5; cursor: not-allowed; }
body.fixlab-store .fl-variant-option small { flex-basis: 100%; text-align: center; color: #326628; }
body.fixlab-store .fl-variant-option small:empty { display: none; }
body.fixlab-store .fl-variant-swatch { width: 16px; height: 16px; border: 1px solid #0003; border-radius: 50%; }
body.fixlab-store .fl-variant-step {
    display: inline-grid; place-items: center; width: 22px; height: 22px; margin-inline-end: 7px;
    border-radius: 50%; background: #25352b; color: #fff; font-size: 12px;
}
body.fixlab-store .fl-variant-total { font-size: 22px; font-weight: 700; }
body.fixlab-store .fl-variant-total:empty { display: none; }
body.fixlab-store .fl-variant-total:not(:empty) ~ .single_variation .woocommerce-variation-price { display: none; }

/* Keep the gallery and purchase panel in the first row, above the product tabs. */
body.fixlab-store.single-product .woocommerce div.product.type-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}
body.fixlab-store.single-product .woocommerce div.product.type-product > .woocommerce-product-gallery {
    grid-area: 1 / 1;
    position: relative !important;
    inset: auto !important;
    min-width: 0;
}
body.fixlab-store.single-product .woocommerce div.product.type-product > .summary {
    grid-area: 1 / 2;
}
body.fixlab-store.single-product .woocommerce div.product.type-product > :is(.woocommerce-tabs, .related, .up-sells) {
    grid-column: 1 / -1;
    position: relative;
    float: none;
    margin-top: 0 !important;
}
body.fixlab-store.single-product .woocommerce-tabs > ul.tabs {
    margin-top: 0 !important;
}
@media (max-width: 760px) {
    body.fixlab-store.single-product .woocommerce div.product.type-product {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    body.fixlab-store.single-product .woocommerce div.product.type-product > .summary {
        grid-area: 2 / 1;
    }
}

.fixlab-store .sitehead .fl-search { position: relative; z-index: 2; }
.fixlab-store .fl-search-suggestions:not([hidden]) {
    position: absolute;
    inset: calc(100% + 6px) 0 auto;
    max-height: min(55dvh, 420px);
    overflow: auto;
    background: #fff;
    border: 1px solid #dce7d7;
    border-radius: 12px;
    box-shadow: 0 10px 24px #20352c22;
}
.fixlab-store .fl-search-suggestions a,
.fixlab-store .fl-search-suggestions button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 14px;
    text-align: start;
}
.fixlab-store .fl-search-suggestions img { width: 36px; height: 36px; object-fit: contain; }
.fixlab-store .fl-search-suggestions :is(a, button):is(:hover, :focus-visible) { background: #edf6e9; }

body.fixlab-store .sitehead,
body.fixlab-store .sitehead .headrow,
body.fixlab-store .sitehead .fl-search {
    overflow: visible;
}
body.fixlab-store .sitehead .fl-search:focus-within {
    z-index: 150;
}
body.fixlab-store .woocommerce ul.products li.product.fl-catalog-card .fl-card-media > a {
    min-width: 0;
    min-height: 0;
}
body.fixlab-store .woocommerce ul.products li.product.fl-catalog-card .fl-card-media > a > img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center;
    transform: none !important;
}
