/**
 * The product archive (Catalog_Archive_Controller): its heading and a few lines of its description ("Läs mer" for the
 * rest), the left column with the category navigation and the filters (groups that fold, values with their pictures
 * and counts, a search in long lists, the price with its histogram, on sale / in stock) – a panel on narrow screens,
 * a sheet from below on phones –, the toolbar above the grid (quick filters as pills, count, sorting, the chosen
 * filters as chips, a floating "Filtrera & sortera" on phones) and "Visa fler produkter" under it. Ohyra's look: the
 * kit's colours and fonts (with fallbacks), the red for what's chosen. Rules start at the widgets' own classes: they
 * win over the kit's and the theme's button, input and link styles.
 */

.gf-catalog-intro,
.gf-catalog-filters,
.gf-catalog-toolbar,
.gf-catalog-more {
    --gf-cat-ink: var(--e-global-color-secondary, #1a1a1a);
    --gf-cat-text: #4d4d4d;
    --gf-cat-muted: var(--e-global-color-primary, #696969);
    --gf-cat-brand: var(--e-global-color-d49ac81, #97040d);
    --gf-cat-brand-strong: var(--e-global-color-332724a, #7f040c);
    --gf-cat-tile: color-mix(in srgb, var(--e-global-color-cfa1f76, #f2d6d6) 38%, #fff);
    --gf-cat-chosen: color-mix(in srgb, var(--gf-cat-brand) 6%, #fff);
    --gf-cat-line: #ececec;
    --gf-cat-surface: #f5f5f5;
    --gf-cat-hover: #f4f4f4;
    --gf-cat-radius: 10px;
    --gf-cat-font: var(--e-global-typography-text-font-family, "Poppins"), system-ui, sans-serif;
    --gf-cat-heading: var(--e-global-typography-primary-font-family, "NeueHaasDisplay-Mediu"), var(--e-global-typography-text-font-family, "Poppins"), system-ui, sans-serif;

    font-family: var(--gf-cat-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--gf-cat-text);
}

:is(.gf-catalog-intro, .gf-catalog-filters, .gf-catalog-toolbar, .gf-catalog-more) *,
:is(.gf-catalog-intro, .gf-catalog-filters, .gf-catalog-toolbar, .gf-catalog-more) *::before,
:is(.gf-catalog-intro, .gf-catalog-filters, .gf-catalog-toolbar, .gf-catalog-more) *::after {
    box-sizing: border-box;
}

:is(.gf-catalog-filters, .gf-catalog-toolbar, .gf-catalog-more) :is(p, h2, ul) {
    margin: 0;
}

:is(.gf-catalog-intro, .gf-catalog-filters, .gf-catalog-toolbar, .gf-catalog-more) [hidden] {
    display: none !important;
}

:is(.gf-catalog-filters, .gf-catalog-toolbar, .gf-catalog-more) a,
:is(.gf-catalog-filters, .gf-catalog-toolbar, .gf-catalog-more) a:is(:hover, :focus, :active) {
    color: inherit;
    text-decoration: none;
}

:is(.gf-catalog-filters, .gf-catalog-toolbar, .gf-catalog-more) .gf-icon {
    flex: 0 0 auto;
    width: 1.15em;
    height: 1.15em;
}

:is(.gf-catalog-intro, .gf-catalog-filters, .gf-catalog-toolbar, .gf-catalog-more) :is(a, button, input, select, summary):focus-visible {
    outline: 2px solid var(--gf-cat-brand);
    outline-offset: 2px;
}

.gf-catalog-filters .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* A term's picture (Ohyra's pest icons): the SVG as a mask, so it takes the text's colour */
.gf-cf-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    background: currentColor;
    -webkit-mask: var(--gf-icon, none) center / contain no-repeat;
    mask: var(--gf-icon, none) center / contain no-repeat;
}

.gf-cf-icon:not([style]) {
    background: none;
}

.gf-cf-count {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 400;
    color: var(--gf-cat-muted);
    font-variant-numeric: tabular-nums;
}

/* While the results are fetched: the filters already show the choice; the cards dim and a thin line runs along the
   top – a moment later, so a kept answer (at once) doesn't flash */
.gf-catalog-results.is-loading {
    position: relative;
}

.gf-catalog-results .e-loop-item,
.elementor-widget-gf-catalog-more {
    transition: opacity 0.2s ease;
}

.gf-catalog-results.is-loading .e-loop-item,
.elementor-widget-gf-catalog-more.is-loading {
    opacity: 0.5;
    transition-delay: 0.08s;
}

.gf-catalog-results.is-loading::before {
    content: "";
    position: absolute;
    top: -12px;
    right: 0;
    left: 0;
    z-index: 3;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--e-global-color-d49ac81, #97040d), transparent) 0 0 / 35% 100% no-repeat;
    opacity: 0;
    animation: gf-cat-appear 0.01s linear 0.25s forwards, gf-cat-progress 1.1s ease-in-out 0.25s infinite;
    pointer-events: none;
}

@keyframes gf-cat-appear {
    to {
        opacity: 1;
    }
}

@keyframes gf-cat-progress {
    from {
        background-position: -40% 0;
    }

    to {
        background-position: 140% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-catalog-results.is-loading::before {
        animation: gf-cat-appear 0.01s linear 0.25s forwards;
        background-size: 100% 100%;
    }
}

/* Another archive on its way (a category opened in place): the same line along the window's top, the page left
   dimmed – a moment later, so a kept one (at once) doesn't flash. Then a short crossfade (where browsers can). */
.gf-catalog-progress {
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0px);
    right: 0;
    left: 0;
    z-index: 2147483632;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--e-global-color-d49ac81, #97040d), transparent) 0 0 / 35% 100% no-repeat;
    opacity: 0;
    pointer-events: none;
}

.gf-catalog-going .gf-catalog-progress {
    animation: gf-cat-appear 0.01s linear 0.2s forwards, gf-cat-progress 1.1s ease-in-out 0.2s infinite;
}

.gf-catalog-going [data-elementor-type="product-archive"] {
    opacity: 0.55;
    transition: opacity 0.2s ease 0.2s;
}

.gf-catalog-vt::view-transition-old(root),
.gf-catalog-vt::view-transition-new(root) {
    animation-duration: 0.2s;
}

[data-elementor-type="product-archive"] h1[tabindex="-1"]:focus:not(:focus-visible) {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .gf-catalog-going .gf-catalog-progress {
        animation: gf-cat-appear 0.01s linear 0.2s forwards;
        background-size: 100% 100%;
    }
}

/* The template's columns: the filters a fixed width, the results the rest (never wider) */
.e-con.gf-catalog-side {
    flex: 0 0 270px;
}

.e-con.gf-catalog-main {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
}

/* The left column ------------------------------------------------------------------------------------------------ */

.gf-cf-head,
.gf-cf-foot,
.gf-cf-backdrop,
.gf-cf-sort {
    display: none;
}

.gf-cf-body {
    display: grid;
}

.gf-cf-note {
    padding: 12px 14px;
    border-radius: var(--gf-cat-radius);
    background: var(--gf-cat-surface);
    font-size: 13px;
}

/* Categories: back up, where you are, the subcategories */
.gf-cf-cats {
    display: grid;
    gap: 4px;
    padding-bottom: 18px;
}

.gf-catalog-filters .gf-cf-cats-up {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: start;
    margin-bottom: 2px;
    font-size: 13px;
    color: var(--gf-cat-muted);
    transition: color 0.15s ease;
}

.gf-catalog-filters .gf-cf-cats-up .gf-icon {
    width: 14px;
    height: 14px;
}

.gf-catalog-filters .gf-cf-cats-up:hover {
    color: var(--gf-cat-brand);
}

.gf-catalog-filters .gf-cf-cats-current {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 0 6px;
    font-family: var(--gf-cat-heading);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--gf-cat-ink);
}

.gf-cf-cats-current .gf-cf-count {
    font-family: var(--gf-cat-font);
}

.gf-catalog-filters .gf-cf-cats-list {
    display: grid;
    gap: 1px;
    padding: 0;
    list-style: none;
}

.gf-catalog-filters .gf-cf-cats-list li {
    margin: 0;
}

.gf-catalog-filters .gf-cf-cats-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 36px;
    margin: 0 -10px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--gf-cat-ink);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.gf-catalog-filters .gf-cf-cats-list a:hover {
    background: var(--gf-cat-hover);
    color: var(--gf-cat-brand);
}

/* In a subcategory: the parent as the heading (a link), its subcategories – this one marked and opened, its own
   subcategories under it, indented on a line */
.gf-catalog-filters a.gf-cf-cats-parent {
    color: var(--gf-cat-ink);
    transition: color 0.15s ease;
}

.gf-catalog-filters a.gf-cf-cats-parent:hover {
    color: var(--gf-cat-brand);
}

.gf-catalog-filters .gf-cf-cats-list .gf-cf-cats-here {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 36px;
    margin: 0 -10px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--gf-cat-chosen);
    font-size: 14px;
    font-weight: 600;
    color: var(--gf-cat-ink);
}

/* (a straight bar, not one bent by the row's corners) */
.gf-catalog-filters .gf-cf-cats-list .gf-cf-cats-here::before {
    content: "";
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--gf-cat-brand);
}

.gf-catalog-filters .gf-cf-cats-sub {
    margin: 4px 0 6px 6px;
    padding-left: 4px;
    border-left: 1px solid var(--gf-cat-line);
}

.gf-catalog-filters .gf-cf-cats-sub a {
    min-height: 32px;
    margin: 0 -10px 0 0;
    font-size: 13.5px;
    color: var(--gf-cat-text);
}

/* A filter group: a line, its name, what's chosen, the values */
.gf-catalog-filters .gf-cf-group {
    border-top: 1px solid var(--gf-cat-line);
}

.gf-catalog-filters .gf-cf-group:last-of-type {
    border-bottom: 1px solid var(--gf-cat-line);
}

.gf-catalog-filters .gf-cf-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--gf-cat-ink);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.gf-cf-summary::-webkit-details-marker {
    display: none;
}

.gf-cf-label {
    flex: 1 1 auto;
}

.gf-cf-badge,
.gf-ct-badge {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--gf-cat-brand);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}

.gf-catalog-filters .gf-cf-summary .gf-icon {
    width: 18px;
    height: 18px;
    color: var(--gf-cat-muted);
    transition: transform 0.2s ease;
}

.gf-catalog-filters .gf-cf-group[open] > .gf-cf-summary .gf-icon {
    transform: rotate(180deg);
}

.gf-cf-content {
    display: grid;
    gap: 8px;
    padding: 0 0 18px;
}

/* A search in a long list */
.gf-catalog-filters .gf-cf-find {
    position: relative;
    display: block;
    margin-bottom: 4px;
}

.gf-catalog-filters .gf-cf-find .gf-icon {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 16px;
    height: 16px;
    color: var(--gf-cat-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.gf-catalog-filters .gf-cf-content .gf-cf-find input[data-gf-cf-find],
.gf-catalog-filters .gf-cf-content .gf-cf-find input[data-gf-cf-find]:focus {
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 14px 0 36px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--gf-cat-surface);
    font-family: var(--gf-cat-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: var(--gf-cat-ink);
    box-shadow: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.gf-catalog-filters .gf-cf-content .gf-cf-find input[data-gf-cf-find]:focus {
    border-color: var(--gf-cat-ink);
    background: #fff;
    outline: none;
}

/* Values: a row that lights up, a box that fills red, the picture, the name, the count */
.gf-catalog-filters .gf-cf-options {
    display: grid;
    gap: 2px;
    padding: 0;
    list-style: none;
}

.gf-catalog-filters .gf-cf-item {
    margin: 0;
}

.gf-catalog-js .gf-cf-group:not(.is-expanded, .is-finding) .gf-cf-item.is-extra,
.gf-cf-item.is-hidden,
.gf-cf-item.is-empty {
    display: none;
}

.gf-catalog-filters .gf-cf-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    margin: 0 -10px;
    padding: 6px 10px;
    border-radius: var(--gf-cat-radius);
    font-size: 14px;
    color: var(--gf-cat-ink);
    cursor: pointer;
    transition: background-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.gf-catalog-filters .gf-cf-option:hover {
    background: var(--gf-cat-hover);
}

.gf-catalog-filters .gf-cf-option[aria-checked="true"] {
    background: var(--gf-cat-chosen);
}

.gf-cf-option .gf-cf-name {
    flex: 1 1 auto;
    min-width: 0;
}

.gf-cf-option .gf-cf-icon {
    color: var(--gf-cat-ink);
    opacity: 0.85;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.gf-cf-option[aria-checked="true"] .gf-cf-icon {
    color: var(--gf-cat-brand);
    opacity: 1;
}

.gf-cf-option .gf-cf-count {
    min-width: 26px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--gf-cat-surface);
    text-align: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.gf-cf-option[aria-checked="true"] .gf-cf-count {
    background: color-mix(in srgb, var(--gf-cat-brand) 12%, #fff);
    color: var(--gf-cat-brand);
}

.gf-cf-box {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 1.5px solid #c4c4c4;
    border-radius: 5px;
    background: #fff;
    color: #fff;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.gf-catalog-filters .gf-cf-box .gf-icon {
    width: 13px;
    height: 13px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.15s ease, transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.gf-catalog-filters .gf-cf-option:hover .gf-cf-box {
    border-color: var(--gf-cat-ink);
}

.gf-catalog-filters .gf-cf-option[aria-checked="true"] .gf-cf-box {
    border-color: var(--gf-cat-brand);
    background: var(--gf-cat-brand);
}

.gf-catalog-filters .gf-cf-option[aria-checked="true"] .gf-cf-box .gf-icon {
    opacity: 1;
    transform: none;
}

.gf-catalog-filters .gf-cf-option[aria-checked="true"] .gf-cf-name {
    font-weight: 500;
}

/* "Visa alla (28)" */
.gf-catalog-filters .gf-cf-more,
.gf-catalog-filters .gf-cf-more:is(:hover, :focus) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: start;
    min-height: 0;
    margin: 4px 0 0;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-family: var(--gf-cat-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--gf-cat-ink);
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}

.gf-catalog-filters .gf-cf-more:hover {
    color: var(--gf-cat-brand);
}

.gf-catalog-filters .gf-cf-more .gf-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.gf-catalog-filters .gf-cf-more[aria-expanded="true"] .gf-icon {
    transform: rotate(180deg);
}

.gf-cf-group.is-finding .gf-cf-more {
    display: none;
}

.gf-cf-none {
    font-size: 13px;
    color: var(--gf-cat-muted);
}

/* The price: a histogram of what the other filters leave, two sliders under it, the fields */
.gf-cf-hist {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 44px;
    margin: 6px 9px -6px;
}

.gf-cf-hist span {
    flex: 1 1 0;
    height: var(--gf-bar, 0%);
    border-radius: 3px 3px 0 0;
    background: #e3e3e3;
    transition: height 0.25s ease, background-color 0.15s ease;
}

.gf-cf-hist span.is-in {
    background: color-mix(in srgb, var(--gf-cat-brand) 42%, #fff);
}

html:not(.gf-catalog-js) .gf-cf-hist {
    display: none;
}

.gf-cf-range {
    position: relative;
    height: 26px;
    margin: 0 9px 4px;
}

.gf-cf-range-track {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 999px;
    background: #e3e3e3;
    transform: translateY(-50%);
}

.gf-cf-range-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: var(--gf-cat-brand);
}

.gf-catalog-filters .gf-cf-range input[type="range"][data-gf-cf-slide],
.gf-catalog-filters .gf-cf-range input[type="range"][data-gf-cf-slide]:focus {
    position: absolute;
    inset: 0 -11px;
    width: calc(100% + 22px);
    height: 26px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.gf-cf-range input[type="range"]::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.18);
    cursor: grab;
    pointer-events: auto;
    transition: transform 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
}

.gf-cf-range input[type="range"]:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.12);
}

.gf-cf-range input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.18);
    cursor: grab;
    pointer-events: auto;
}

.gf-cf-range input[type="range"]::-moz-range-track {
    background: none;
}

.gf-cf-range input[type="range"]::-webkit-slider-runnable-track {
    background: none;
}

/* Without JavaScript: the fields only */
html:not(.gf-catalog-js) .gf-cf-range {
    display: none;
}

.gf-cf-price-fields {
    display: flex;
    align-items: end;
    gap: 8px;
}

.gf-cf-price-fields label {
    display: grid;
    flex: 1 1 0;
    gap: 4px;
    min-width: 0;
}

.gf-cf-price-label {
    font-size: 12px;
    color: var(--gf-cat-muted);
}

.gf-cf-price-input {
    position: relative;
    display: block;
}

.gf-cf-price-input > span {
    position: absolute;
    top: 50%;
    right: 12px;
    font-size: 13px;
    color: var(--gf-cat-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.gf-catalog-filters .gf-cf-price .gf-cf-price-input input[type="number"],
.gf-catalog-filters .gf-cf-price .gf-cf-price-input input[type="number"]:focus {
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 32px 0 12px;
    border: 1px solid #dedede;
    border-radius: var(--gf-cat-radius);
    background: #fff;
    font-family: var(--gf-cat-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: var(--gf-cat-ink);
    box-shadow: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.gf-catalog-filters .gf-cf-price .gf-cf-price-input input[type="number"]:focus {
    border-color: var(--gf-cat-ink);
    outline: none;
}

.gf-cf-price-input input::-webkit-inner-spin-button,
.gf-cf-price-input input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.gf-cf-price-dash {
    padding-bottom: 11px;
    color: var(--gf-cat-muted);
}

.gf-catalog-filters .gf-cf-price-apply,
.gf-catalog-filters .gf-cf-price-apply:is(:hover, :focus) {
    min-height: 40px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid var(--gf-cat-ink);
    border-radius: var(--gf-cat-radius);
    background: #fff;
    font-family: var(--gf-cat-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--gf-cat-ink);
    box-shadow: none;
    cursor: pointer;
}

/* With JavaScript the price applies itself */
.gf-catalog-js .gf-cf-price-apply {
    display: none;
}

/* On sale, in stock: switches */
.gf-cf-flags {
    display: grid;
    gap: 2px;
    padding: 12px 0;
}

.gf-catalog-filters .gf-cf-flag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    margin: 0 -10px;
    padding: 6px 10px;
    border-radius: var(--gf-cat-radius);
    font-size: 15px;
    font-weight: 600;
    color: var(--gf-cat-ink);
    transition: background-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.gf-catalog-filters .gf-cf-flag:hover {
    background: var(--gf-cat-hover);
}

.gf-cf-flag .gf-cf-count {
    margin-left: 4px;
}

.gf-cf-switch {
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: #d4d4d4;
    transition: background-color 0.2s ease;
}

.gf-cf-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.25);
    transition: transform 0.22s cubic-bezier(0.3, 1.3, 0.5, 1);
}

.gf-cf-flag[aria-checked="true"] .gf-cf-switch {
    background: var(--gf-cat-brand);
}

.gf-cf-flag[aria-checked="true"] .gf-cf-switch::after {
    transform: translateX(18px);
}

/* Narrow screens: a panel the toolbar's "Filtrera" opens – from the left, a sheet from below on phones ---------- */

@media (max-width: 1024px) {
    /* (the row's gap beside a column that takes no room) */
    .e-con:has(> .e-con.gf-catalog-side),
    .e-con-inner:has(> .e-con.gf-catalog-side) {
        --gap: 0px;
        --column-gap: 0px;
        column-gap: 0 !important;
    }

    .e-con.gf-catalog-side,
    .elementor-widget-gf-catalog-filters {
        flex: 0 0 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: 0;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible;
    }

    .gf-catalog-filters {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 2147483631; /* above CookieYes, the chat widget and Elementor's menus */
        display: flex;
        flex-direction: column;
        width: min(440px, 92vw);
        border-radius: 0 18px 18px 0;
        background: #fff;
        box-shadow: 24px 0 60px -24px rgb(0 0 0 / 0.35);
        visibility: hidden;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.3s;
    }

    .gf-catalog-filters.is-open {
        visibility: visible;
        transform: none;
        transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .gf-cf-head {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 12px;
        min-height: 64px;
        padding: 0 12px 0 20px;
        border-bottom: 1px solid var(--gf-cat-line);
    }

    .gf-catalog-filters .gf-cf-title {
        flex: 1 1 auto;
        font-family: var(--gf-cat-heading);
        font-size: 22px;
        font-weight: 500;
        line-height: 1.1;
        letter-spacing: -0.01em;
        text-transform: none;
        color: var(--gf-cat-ink);
    }

    .gf-catalog-filters .gf-cf-head-clear {
        font-size: 14px;
        font-weight: 500;
        color: var(--gf-cat-brand);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .gf-catalog-filters .gf-cf-close,
    .gf-catalog-filters .gf-cf-close:is(:hover, :focus) {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        min-height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--gf-cat-surface);
        color: var(--gf-cat-ink);
        box-shadow: none;
        cursor: pointer;
    }

    .gf-catalog-filters .gf-cf-close .gf-icon {
        width: 20px;
        height: 20px;
    }

    .gf-cf-body {
        flex: 1 1 auto;
        padding: 16px 20px 24px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* The sorting first, as pills */
    .gf-cf-sort {
        display: grid;
        gap: 10px;
        padding: 0 0 18px;
    }

    .gf-catalog-filters .gf-cf-sort-title {
        font-size: 15px;
        font-weight: 600;
        color: var(--gf-cat-ink);
    }

    .gf-cf-sort-options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .gf-catalog-filters .gf-cf-sort-option {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        padding: 0 14px;
        border: 1px solid #dcdcdc;
        border-radius: 999px;
        background: #fff;
        font-size: 14px;
        font-weight: 500;
        color: var(--gf-cat-ink);
        transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .gf-catalog-filters .gf-cf-sort-option[aria-checked="true"] {
        border-color: var(--gf-cat-ink);
        background: var(--gf-cat-ink);
        color: #fff;
    }

    .gf-cf-foot {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 12px;
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--gf-cat-line);
        background: #fff;
    }

    .gf-catalog-filters .gf-cf-clear {
        padding: 0 8px;
        font-size: 14px;
        font-weight: 500;
        color: var(--gf-cat-ink);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .gf-catalog-filters .gf-cf-show,
    .gf-catalog-filters .gf-cf-show:is(:hover, :focus) {
        flex: 1 1 auto;
        min-height: 52px;
        margin: 0;
        padding: 0 18px;
        border: 0;
        border-radius: 12px;
        background: var(--gf-cat-brand);
        font-family: var(--gf-cat-font);
        font-size: 15px;
        font-weight: 600;
        color: #fff;
        box-shadow: none;
        cursor: pointer;
    }

    .gf-catalog-filters .gf-cf-show:hover {
        background: var(--gf-cat-brand-strong);
    }

    .gf-cf-backdrop:not([hidden]) {
        position: fixed;
        inset: 0;
        z-index: 2147483630;
        display: block;
        background: rgb(26 26 26 / 0.45);
        animation: gf-cat-fade 0.25s ease;
    }

    html.gf-cf-locked {
        overflow: hidden;
    }

    /* (fingers: taller rows) */
    .gf-catalog-filters .gf-cf-option {
        min-height: 44px;
    }
}

@media (max-width: 767px) {
    .gf-catalog-filters {
        inset: auto 0 0;
        width: 100%;
        height: min(92dvh, 100%);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -20px 60px -20px rgb(0 0 0 / 0.35);
        transform: translateY(100%);
    }

    .gf-cf-head {
        position: relative;
        min-height: 66px;
        padding-top: 8px;
    }

    .gf-cf-grip {
        position: absolute;
        top: 7px;
        left: 50%;
        width: 40px;
        height: 4px;
        border-radius: 999px;
        background: #d6d6d6;
        transform: translateX(-50%);
    }
}

@keyframes gf-cat-fade {
    from {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-catalog-filters {
        transition: none !important;
    }
}

/* The toolbar ------------------------------------------------------------------------------------------------ */

.gf-catalog-toolbar {
    display: grid;
    gap: 14px;
    padding-bottom: 22px;
}

/* Quick filters: pills with the term's picture and count, a row that scrolls sideways */
.gf-ct-quick {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.gf-catalog-toolbar .gf-ct-quick-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gf-cat-ink);
}

.gf-ct-quick-row {
    position: relative;
    min-width: 0;
}

.gf-catalog-toolbar .gf-ct-pills {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 2px 0 6px;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 48px), transparent 100%);
}

.gf-catalog-toolbar .gf-ct-pills.is-start {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent 100%);
}

.gf-catalog-toolbar .gf-ct-pills.is-end:not(.is-start) {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px);
    mask-image: linear-gradient(90deg, transparent 0, #000 28px);
}

.gf-catalog-toolbar .gf-ct-pills.is-start.is-end {
    -webkit-mask-image: none;
    mask-image: none;
}

.gf-ct-pills::-webkit-scrollbar {
    display: none;
}

.gf-catalog-toolbar .gf-ct-pills li {
    flex: 0 0 auto;
    margin: 0;
    scroll-snap-align: start;
}

.gf-catalog-toolbar .gf-ct-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--gf-cat-ink);
    white-space: nowrap;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
}

.gf-catalog-toolbar .gf-ct-pill:has(.gf-cf-icon) {
    padding-left: 6px;
}

/* (the picture in a round tile) */
.gf-catalog-toolbar .gf-ct-pill .gf-cf-icon {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gf-cat-surface);
    -webkit-mask: none;
    mask: none;
    transition: background-color 0.15s ease;
}

.gf-catalog-toolbar .gf-ct-pill .gf-cf-icon::after {
    content: "";
    position: absolute;
    inset: 5px;
    background: currentColor;
    -webkit-mask: var(--gf-icon, none) center / contain no-repeat;
    mask: var(--gf-icon, none) center / contain no-repeat;
}

.gf-catalog-toolbar .gf-ct-pill:hover {
    border-color: var(--gf-cat-ink);
}

.gf-catalog-toolbar .gf-ct-pill:active {
    transform: scale(0.97);
}

.gf-catalog-toolbar .gf-ct-pill[aria-checked="true"] {
    border-color: var(--gf-cat-brand);
    background: var(--gf-cat-brand);
    color: #fff;
}

.gf-catalog-toolbar .gf-ct-pill[aria-checked="true"] .gf-cf-icon {
    background: rgb(255 255 255 / 0.18);
}

.gf-catalog-toolbar .gf-ct-pill[aria-checked="true"] .gf-cf-count {
    color: rgb(255 255 255 / 0.8);
}

.gf-catalog-toolbar .gf-ct-quick-arrow,
.gf-catalog-toolbar .gf-ct-quick-arrow:is(:hover, :focus) {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-height: 0;
    margin: -4px 0 0;
    padding: 0;
    border: 1px solid #e2e2e2;
    border-radius: 50%;
    background: #fff;
    color: var(--gf-cat-ink);
    box-shadow: 0 4px 14px rgb(0 0 0 / 0.12);
    transform: translateY(-50%);
    cursor: pointer;
}

.gf-catalog-toolbar .gf-ct-quick-arrow--prev {
    left: -6px;
}

.gf-catalog-toolbar .gf-ct-quick-arrow--next {
    right: -6px;
}

.gf-catalog-toolbar .gf-ct-quick-arrow .gf-icon {
    width: 16px;
    height: 16px;
}

/* (arrows where there's a pointer to hover with; fingers swipe) */
@media (hover: none) {
    .gf-catalog-toolbar .gf-ct-quick-arrow {
        display: none !important;
    }
}

.gf-ct-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}

.gf-catalog-toolbar .gf-ct-count {
    margin-right: auto;
    font-size: 15px;
    color: var(--gf-cat-text);
    outline: none;
}

.gf-catalog-toolbar .gf-ct-count strong {
    font-weight: 600;
    color: var(--gf-cat-ink);
}

.gf-catalog-toolbar .gf-ct-filter,
.gf-ct-float {
    display: none;
}

.gf-ct-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.gf-ct-sort label {
    font-size: 14px;
    color: var(--gf-cat-muted);
    white-space: nowrap;
}

.gf-ct-select {
    position: relative;
    display: block;
}

.gf-catalog-toolbar .gf-ct-select select {
    min-width: 190px;
    height: 44px;
    margin: 0;
    padding: 0 40px 0 16px;
    border: 1px solid #dedede;
    border-radius: 999px;
    background: #fff;
    font-family: var(--gf-cat-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: var(--gf-cat-ink);
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.gf-catalog-toolbar .gf-ct-select select:hover {
    border-color: var(--gf-cat-ink);
}

.gf-catalog-toolbar .gf-ct-select .gf-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 18px;
    height: 18px;
    color: var(--gf-cat-ink);
    transform: translateY(-50%);
    pointer-events: none;
}

/* Chosen filters: chips that take them away */
.gf-catalog-toolbar .gf-ct-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.gf-catalog-toolbar .gf-ct-chips li {
    margin: 0;
    animation: gf-cat-chip 0.2s ease;
}

@keyframes gf-cat-chip {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
}

.gf-catalog-toolbar .gf-ct-chips li.is-leaving {
    opacity: 0.35;
}

.gf-catalog-toolbar .gf-ct-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 10px 0 14px;
    border-radius: 999px;
    background: var(--gf-cat-tile);
    font-size: 13px;
    font-weight: 500;
    color: var(--gf-cat-ink);
    transition: background-color 0.15s ease;
}

.gf-catalog-toolbar .gf-ct-chip .gf-icon {
    width: 14px;
    height: 14px;
    color: var(--gf-cat-brand);
}

.gf-catalog-toolbar .gf-ct-chip--search {
    padding-left: 12px;
    background: var(--gf-cat-surface);
}

.gf-catalog-toolbar .gf-ct-chip--search .gf-icon:first-child {
    color: var(--gf-cat-muted);
}

.gf-catalog-toolbar .gf-ct-chip:hover {
    background: color-mix(in srgb, var(--e-global-color-cfa1f76, #f2d6d6) 70%, #fff);
}

.gf-catalog-toolbar .gf-ct-clear {
    padding: 0 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gf-cat-brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gf-catalog-toolbar .gf-ct-clear:hover {
    color: var(--gf-cat-brand-strong);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .gf-ct-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
    }

    .gf-catalog-toolbar .gf-ct-filter,
    .gf-catalog-toolbar .gf-ct-filter:is(:hover, :focus) {
        display: inline-flex;
        grid-column: 1;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 46px;
        margin: 0;
        padding: 0 14px;
        border: 1px solid var(--gf-cat-ink);
        border-radius: 999px;
        background: #fff;
        font-family: var(--gf-cat-font);
        font-size: 15px;
        font-weight: 500;
        color: var(--gf-cat-ink);
        box-shadow: none;
        cursor: pointer;
    }

    .gf-ct-sort {
        grid-column: 2;
        grid-row: 1;
    }

    .gf-ct-sort label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .gf-ct-select {
        width: 100%;
    }

    .gf-catalog-toolbar .gf-ct-select select {
        width: 100%;
        min-width: 0;
        height: 46px;
        border-color: var(--gf-cat-ink);
        font-size: 15px;
    }

    .gf-catalog-toolbar .gf-ct-count {
        grid-column: 1 / -1;
        font-size: 14px;
    }

    /* (the pills reach the screen's edge) */
    .gf-catalog-toolbar .gf-ct-pills {
        -webkit-mask-image: none;
        mask-image: none;
    }

    /* Once the toolbar is scrolled past: "Filtrera & sortera" floating at the bottom (moved to the body by
       catalog.js – the page's containers would keep it under the cards) */
    body > .gf-ct-float:not([hidden]),
    body > .gf-ct-float:not([hidden]):is(:hover, :focus) {
        position: fixed;
        bottom: calc(18px + env(safe-area-inset-bottom));
        left: 50%;
        z-index: 2147483620; /* above the chat bubble (see below for CookieYes) */
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 48px;
        margin: 0;
        padding: 0 20px;
        border: 0;
        border-radius: 999px;
        background: var(--e-global-color-secondary, #1a1a1a);
        font-family: var(--e-global-typography-text-font-family, "Poppins"), system-ui, sans-serif;
        font-size: 15px;
        font-weight: 500;
        line-height: 1;
        color: #fff;
        box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.45);
        transform: translateX(-50%);
        cursor: pointer;
        animation: gf-cat-float 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    body > .gf-ct-float .gf-icon {
        width: 18px;
        height: 18px;
    }

    body > .gf-ct-float .gf-ct-badge {
        background: #fff;
        color: var(--e-global-color-secondary, #1a1a1a);
    }

    body > .gf-ct-float .gf-ct-badge[hidden] {
        display: none;
    }
}

@keyframes gf-cat-float {
    from {
        opacity: 0;
        transform: translate(-50%, 16px);
    }
}

/* Under the grid: how far you've come, "Visa fler produkter" -------------------------------------------------- */

.gf-catalog-more {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 36px 0 12px;
    text-align: center;
}

.gf-catalog-more .gf-cm-status {
    font-size: 14px;
    color: var(--gf-cat-muted);
}

.gf-cm-bar {
    width: min(240px, 70%);
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6e6e6;
}

.gf-cm-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--gf-cat-brand);
    transition: width 0.3s ease;
}

.gf-catalog-more .gf-cm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 50px;
    margin-top: 6px;
    padding: 0 28px;
    border: 1px solid var(--gf-cat-ink);
    border-radius: 999px;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: var(--gf-cat-ink);
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gf-catalog-more .gf-cm-button:is(:hover, :focus-visible) {
    border-color: var(--gf-cat-brand);
    background: var(--gf-cat-brand);
    color: #fff;
}

.gf-catalog-more .gf-cm-button[aria-busy="true"] {
    opacity: 0.6;
    pointer-events: none;
}

.gf-catalog-more .gf-cm-previous {
    font-size: 13px;
    color: var(--gf-cat-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gf-cm-note {
    font-size: 14px;
}

/* No products */
.gf-cm-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 48px 20px 24px;
}

.gf-catalog-more .gf-cm-empty-title {
    font-family: var(--gf-cat-heading);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--gf-cat-ink);
}

.gf-cm-empty-text {
    max-width: 44ch;
    font-size: 15px;
}

.gf-catalog-more .gf-cm-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.gf-catalog-more .gf-cm-empty-actions .gf-cm-button {
    min-width: 0;
    border-color: var(--gf-cat-brand);
    background: var(--gf-cat-brand);
    color: #fff;
}

.gf-catalog-more .gf-cm-empty-actions .gf-cm-button--quiet {
    border-color: var(--gf-cat-ink);
    background: #fff;
    color: var(--gf-cat-ink);
}

/* "Arkivrubrik": the archive's h1 and a few lines of its description, "Läs mer" for the rest ----------------------- */

.gf-catalog-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 860px;
}

.gf-catalog-intro .gf-ci-title {
    margin: 0;
    font-family: var(--gf-cat-heading);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--gf-cat-ink);
    text-wrap: balance;
}

/* (focused after another archive opened in place – for screen readers) */
.gf-catalog-intro .gf-ci-title:focus {
    outline: none;
}

.gf-catalog-intro .gf-ci-text {
    margin-top: 12px;
    max-width: 80ch;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--gf-cat-text);
}

.gf-catalog-intro .gf-ci-text :is(p, ul, ol) {
    margin: 0 0 0.75em;
}

.gf-catalog-intro .gf-ci-text > :last-child {
    margin-bottom: 0;
}

.gf-catalog-intro .gf-ci-text a {
    color: var(--gf-cat-brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gf-catalog-intro .gf-ci-text :is(strong, b) {
    font-weight: 500;
    color: var(--gf-cat-ink);
}

/* A long one: its first lines (the height too – line-clamp alone may let a second paragraph through) */
.gf-catalog-intro.is-long:not(.is-open) .gf-ci-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--gf-ci-lines, 2);
    line-clamp: var(--gf-ci-lines, 2);
    max-height: calc(var(--gf-ci-lines, 2) * 1.65em);
    overflow: hidden;
}

.gf-catalog-intro .gf-ci-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 6px 0 0;
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    color: var(--gf-cat-ink);
    cursor: pointer;
}

.gf-catalog-intro .gf-ci-more:is(:hover, :focus, :active) {
    background: none;
    color: var(--gf-cat-brand);
}

.gf-catalog-intro .gf-ci-more::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
}

.gf-catalog-intro.is-open .gf-ci-more::after {
    transform: translateY(2px) rotate(-135deg);
}

@media (max-width: 1024px) {
    .gf-catalog-intro .gf-ci-title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .gf-catalog-intro .gf-ci-title {
        font-size: 28px;
        letter-spacing: -0.015em;
    }

    .gf-catalog-intro .gf-ci-text {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.6;
    }

    .gf-catalog-intro.is-long:not(.is-open) .gf-ci-text {
        -webkit-line-clamp: var(--gf-ci-lines-phone, 3);
        line-clamp: var(--gf-ci-lines-phone, 3);
        max-height: calc(var(--gf-ci-lines-phone, 3) * 1.6em);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-catalog-intro .gf-ci-more::after {
        transition: none;
    }
}

/* While CookieYes asks for consent its box stays on top of the floating button (never covering its buttons) */
body:has(.cky-consent-container:not(.cky-hide)) > .gf-ct-float:not([hidden]) {
    z-index: 9990;
}
