.goo-apf{margin:18px 0 24px;clear:both;font-family:inherit}.goo-apf-panel{border:1px solid #e5e1dd;background:#fff;border-radius:6px;padding:16px}.goo-apf-panel-head{display:none}.goo-apf-groups{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 18px}.goo-apf-group{margin:0;min-width:210px;max-width:320px;flex:1 1 230px}.goo-apf-group h3{font-size:13px;letter-spacing:.04em;text-transform:uppercase;margin:0 0 8px;font-weight:700}.goo-apf-actions{align-self:flex-end}.goo-apf-options{display:grid;gap:9px}.goo-apf-options label,.goo-apf-dropdown-menu label{display:flex;align-items:center;gap:9px;cursor:pointer;color:#222}.goo-apf-options input[type=checkbox],.goo-apf-dropdown-menu input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:#633}.goo-apf-options em,.goo-apf-dropdown-menu em{margin-left:auto;color:#536079;font-style:normal}.goo-apf-options label.is-zero,.goo-apf-dropdown-menu label.is-zero{opacity:.45}.goo-apf-clear,.goo-apf-load-more,.goo-apf-mobile-toggle{border:1px solid #d9d6d2;background:#fff;padding:10px 16px;border-radius:4px;cursor:pointer;font-weight:500}.goo-apf-clear:hover,.goo-apf-load-more:hover,.goo-apf-mobile-toggle:hover{background:#f7f4f2}.goo-apf-sort{margin:14px 0;display:flex;justify-content:flex-end}.goo-apf-sort select{width:260px;max-width:100%;height:42px;border:1px solid #d9d6d2;border-radius:4px;background:#fff;padding:0 36px 0 12px}.goo-apf-products,ul.products{position:relative}.goo-apf-products.is-goo-apf-loading,ul.products.is-goo-apf-loading{cursor:progress;min-height:100px}.goo-apf-products.is-goo-apf-loading:after,ul.products.is-goo-apf-loading:after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.68);z-index:9998;pointer-events:auto}.goo-apf-products.is-goo-apf-loading:before,ul.products.is-goo-apf-loading:before{content:"";position:absolute;top:48px;left:50%;width:32px;height:32px;margin-left:-16px;border:3px solid #ddd;border-top-color:#633;border-radius:50%;z-index:9999;animation:gooapfspin .8s linear infinite;pointer-events:none;box-sizing:border-box}.goo-apf-footer{text-align:center;margin:20px 0}.goo-apf-end{display:none;color:#777}@keyframes gooapfspin{to{transform:rotate(360deg)}}
.goo-apf-dropdown{position:relative;width:100%}.goo-apf-dropdown-button{width:100%;height:42px;padding:0 40px 0 13px;border:1px solid #d8dce2;background:#fff;border-radius:4px;text-align:left;cursor:pointer;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.goo-apf-dropdown-button:after{content:"";position:absolute;right:13px;top:50%;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #555;transform:translateY(-50%)}.goo-apf-dropdown.is-open .goo-apf-dropdown-button{border-color:#633;box-shadow:0 0 0 2px rgba(102,51,51,.08)}.goo-apf-dropdown-menu{display:none;position:absolute;z-index:99999;top:calc(100% + 6px);left:0;right:0;max-height:340px;overflow:auto;border:1px solid #d8dce2;background:#fff;border-radius:6px;box-shadow:0 14px 36px rgba(0,0,0,.16);padding:8px}.goo-apf-dropdown.is-open .goo-apf-dropdown-menu{display:block}.goo-apf-dropdown-menu label{padding:9px 8px;border-radius:4px}.goo-apf-dropdown-menu label:hover{background:#f7f4f2}
.goo-apf-range{display:flex;gap:10px}.goo-apf-range input[type=number]{width:92px;height:38px;border:1px solid #d8dce2;border-radius:4px;padding:0 9px}.goo-apf-price-slider{min-width:220px}.goo-apf-range-track{position:relative;height:5px;background:#e7e7e7;border-radius:99px;margin:18px 2px 8px}.goo-apf-range-track input[type=range]{position:absolute;left:0;top:-7px;width:100%;height:18px;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}.goo-apf-range-track input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:18px;height:18px;border:2px solid #633;background:#fff;border-radius:50%;cursor:pointer}.goo-apf-range-track input[type=range]::-moz-range-thumb{pointer-events:auto;width:16px;height:16px;border:2px solid #633;background:#fff;border-radius:50%;cursor:pointer}.goo-apf-range-track input[type=range]::-moz-range-track{background:transparent;border:0}.goo-apf-mobile-toggle{display:none;margin-bottom:12px;width:100%;text-align:center}.goo-apf-lock{overflow:hidden}
@media(max-width:767px){.goo-apf-mobile-toggle{display:block}.goo-apf-panel{display:none;position:fixed;z-index:999999;inset:0;background:#fff;border:0;border-radius:0;padding:0;overflow:auto}.goo-apf.is-mobile-open .goo-apf-panel{display:block}.goo-apf-panel-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #eee;font-size:18px}.goo-apf-panel-head button{font-size:30px;line-height:1;background:none;border:0}.goo-apf-groups{display:block;padding:18px}.goo-apf-group{max-width:none;min-width:0;margin:0 0 20px}.goo-apf-sort{justify-content:stretch}.goo-apf-sort select{width:100%}.goo-apf-dropdown-menu{position:static;box-shadow:none;margin-top:6px;max-height:260px}.goo-apf-dropdown.is-open .goo-apf-dropdown-menu{display:block}}

/* v1.0.4 refinements */
body.goo-apf-active .woocommerce-ordering,
body.goo-apf-active form.woocommerce-ordering,
body.goo-apf-active .woocommerce .woocommerce-ordering{
    display:none !important;
}
.goo-apf .goo-apf-sort{
    margin:0;
    display:block;
    justify-content:initial;
}
.goo-apf .goo-apf-sort select{
    width:100%;
    height:42px;
    border:1px solid #d8dce2;
    border-radius:4px;
    background:#fff;
    padding:0 36px 0 12px;
}
.goo-apf-price{
    flex:2 1 420px;
    max-width:620px;
}
.goo-apf-price-slider{width:100%;min-width:320px;}
.goo-apf-price-row{
    display:grid;
    grid-template-columns:86px minmax(190px,1fr) 86px;
    gap:12px;
    align-items:center;
}
.goo-apf-price-input{
    width:86px !important;
    height:42px !important;
    border:1px solid #d8dce2 !important;
    border-radius:4px !important;
    padding:0 10px !important;
    background:#fff;
}
.goo-apf-price-row .goo-apf-range-track{
    margin:0;
    min-width:180px;
}
@media(max-width:767px){
    .goo-apf-price{max-width:none;}
    .goo-apf-price-slider{min-width:0;}
    .goo-apf-price-row{grid-template-columns:76px 1fr 76px;gap:10px;}
    .goo-apf-price-input{width:76px !important;}
}

/* v1.0.6 dynamic facets + select arrows */
.goo-apf-options label.is-zero:not(.is-selected),
.goo-apf-dropdown-menu label.is-zero:not(.is-selected){display:none !important;}
.goo-apf .goo-apf-sort{position:relative;}
.goo-apf .goo-apf-sort:after{content:"";position:absolute;right:13px;bottom:16px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #555;pointer-events:none;}
.goo-apf .goo-apf-sort select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:#fff !important;}


/* v1.0.7 result count + load more state */
.goo-apf-result-count,
body.goo-apf-active .woocommerce-result-count{ text-align:center; float:none; display:block; margin:18px 0; }
.goo-apf-load-more{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:150px;min-height:42px;}
.goo-apf-load-more.is-loading,.goo-apf-load-more:disabled{opacity:.75;cursor:wait;}
.goo-apf-button-spinner{width:16px;height:16px;border:2px solid rgba(99,51,51,.25);border-top-color:#633;border-radius:50%;display:inline-block;animation:gooapfspin .8s linear infinite;}

/* Per-dropdown clear button */
.goo-apf-dropdown-clear{display:none;width:100%;border:0;background:transparent;color:#633;text-align:left;font-size:12px;line-height:1.2;font-weight:600;cursor:pointer;padding:7px 8px 9px;margin:0 0 4px;border-bottom:1px solid #eee;text-transform:none;letter-spacing:0}
.goo-apf-dropdown.has-active-filter .goo-apf-dropdown-clear{display:block}
.goo-apf-dropdown-clear:hover{text-decoration:underline;background:#fbf8f6}


/* v1.0.9 typography + compact global clear */
.goo-apf .goo-apf-clear{
    border:0;
    background:transparent;
    color:#633;
    padding:7px 4px;
    min-height:0;
    height:auto;
    line-height:1.2;
    font-weight:600;
    text-decoration:none;
    box-shadow:none;
}
.goo-apf .goo-apf-clear:hover{background:transparent;text-decoration:underline;}
.goo-apf .goo-apf-actions{align-self:center;}
.goo-apf .goo-apf-dropdown-button,
.goo-apf .goo-apf-sort select,
.goo-apf .goo-apf-price-input,
.goo-apf .goo-apf-range input{line-height:1.2;}


/* v1.0.10 global clear icon desktop + mobile button */
.goo-apf .goo-apf-clear{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    padding:0;
    border:1px solid transparent;
    border-radius:999px;
    color:#633;
    background:transparent;
    cursor:pointer;
    font-weight:600;
    line-height:1;
}
.goo-apf .goo-apf-clear-icon{font-size:22px;line-height:1;display:block;margin-top:-1px;}
.goo-apf .goo-apf-clear-text{display:none;}
.goo-apf .goo-apf-clear:hover{background:#fbf8f6;border-color:#eadfda;text-decoration:none;}
.goo-apf .goo-apf-clear:hover:after{
    content:attr(title);
    position:absolute;
    left:50%;
    bottom:calc(100% + 8px);
    transform:translateX(-50%);
    white-space:nowrap;
    background:#2b2b2b;
    color:#fff;
    border-radius:4px;
    padding:6px 8px;
    font-size:12px;
    font-weight:500;
    line-height:1.2;
    z-index:100000;
}
.goo-apf .goo-apf-clear:hover:before{
    content:"";
    position:absolute;
    left:50%;
    bottom:calc(100% + 2px);
    transform:translateX(-50%);
    border-left:6px solid transparent;
    border-right:6px solid transparent;
    border-top:6px solid #2b2b2b;
    z-index:100000;
}
.goo-apf .goo-apf-actions{display:flex;align-items:flex-end;justify-content:center;}
@media(max-width:767px){
    .goo-apf .goo-apf-actions{justify-content:center;margin-top:24px;}
    .goo-apf .goo-apf-clear{
        width:auto;
        min-width:170px;
        height:42px;
        padding:0 18px;
        border:1px solid #d9d6d2;
        border-radius:4px;
        background:#fff;
        gap:8px;
    }
    .goo-apf .goo-apf-clear-icon{font-size:18px;margin-top:-1px;}
    .goo-apf .goo-apf-clear-text{display:inline;}
    .goo-apf .goo-apf-clear:hover{background:#f7f4f2;text-decoration:none;}
    .goo-apf .goo-apf-clear:hover:before,.goo-apf .goo-apf-clear:hover:after{display:none;}
}


/* v1.0.11 desktop clear button alignment */
@media(min-width:768px){
    .goo-apf .goo-apf-actions{
        align-self:flex-end !important;
        display:flex;
        align-items:center;
        justify-content:center;
        margin:0;
        padding:0;
        flex:0 0 auto;
        min-width:42px;
        max-width:42px;
    }
    .goo-apf .goo-apf-clear{
        width:42px;
        height:42px;
        min-width:42px;
        padding:0;
        border:1px solid #eadfda;
        border-radius:999px;
        background:#fff;
        box-shadow:none;
        transform:none;
    }
    .goo-apf .goo-apf-clear:hover{
        background:#fbf8f6;
        border-color:#d8c6c0;
    }
}


/* v1.0.13 mobile action row: Filter + Rensa filter */
.goo-apf-mobile-actions{display:none;}
.goo-apf .goo-apf-clear-mobile{display:none;}
@media(max-width:767px){
    .goo-apf-mobile-actions{
        display:flex;
        align-items:stretch;
        gap:10px;
        width:100%;
        margin:0 0 12px;
    }
    .goo-apf-mobile-actions .goo-apf-mobile-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
        flex:1 1 auto;
        width:auto;
        min-width:0;
        height:42px;
        margin:0;
    }
    .goo-apf .goo-apf-clear-mobile{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        flex:0 0 auto;
        width:auto;
        min-width:132px;
        height:42px;
        margin:0;
        padding:0 14px;
        border:1px solid #d9d6d2;
        border-radius:4px;
        background:#fff;
        gap:7px;
    }
    .goo-apf .goo-apf-clear-mobile .goo-apf-clear-text{display:inline;}
    .goo-apf .goo-apf-clear-mobile .goo-apf-clear-icon{font-size:18px;}
    .goo-apf .goo-apf-actions .goo-apf-clear-desktop{display:none;}
}
@media(min-width:768px){
    .goo-apf .goo-apf-clear-mobile{display:none !important;}
}
@media(max-width:420px){
    .goo-apf-mobile-actions{gap:8px;}
    .goo-apf .goo-apf-clear-mobile{min-width:118px;padding:0 10px;}
}


/* v1.0.14 mobile actions: conditional clear + Show button */
.goo-apf .goo-apf-mobile-show{display:none;}
@media(max-width:767px){
    .goo-apf .goo-apf-clear-mobile{display:none !important;}
    .goo-apf.has-active-filters .goo-apf-clear-mobile{display:inline-flex !important;}
    .goo-apf .goo-apf-actions{
        display:flex;
        justify-content:center;
        margin:28px 0 12px;
    }
    .goo-apf .goo-apf-mobile-show{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        min-width:170px;
        height:44px;
        padding:0 22px;
        border:1px solid #d9d6d2;
        border-radius:4px;
        background:#fff;
        color:#333;
        cursor:pointer;
        font:inherit;
        font-weight:600;
    }
    .goo-apf .goo-apf-mobile-show:hover,
    .goo-apf .goo-apf-mobile-show:focus{background:#f7f4f2;}
}
@media(min-width:768px){
    .goo-apf .goo-apf-mobile-show{display:none !important;}
}


/* v1.0.15: sorting always visible below mobile filter actions */
.goo-apf-mobile-sort{display:none;}
@media(max-width:767px){
    .goo-apf-mobile-sort{
        display:block;
        width:100%;
        margin:0 0 14px;
    }
    .goo-apf-mobile-sort h3{
        margin:0 0 8px;
        font-size:13px;
        letter-spacing:.04em;
        text-transform:uppercase;
        font-weight:700;
    }
    .goo-apf-mobile-sort .goo-apf-sort-control{position:relative;}
    .goo-apf-mobile-sort .goo-apf-sort-control:after{
        content:"";
        position:absolute;
        right:15px;
        top:50%;
        transform:translateY(-50%);
        border-left:5px solid transparent;
        border-right:5px solid transparent;
        border-top:6px solid #555;
        pointer-events:none;
    }
    .goo-apf-mobile-sort select{
        display:block;
        width:100%;
        height:44px;
        padding:0 42px 0 13px;
        border:1px solid #d8dce2;
        border-radius:4px;
        background:#fff;
        appearance:none;
        -webkit-appearance:none;
        -moz-appearance:none;
        font:inherit;
        cursor:pointer;
    }
    .goo-apf-sort-desktop{display:none !important;}
}
@media(min-width:768px){
    .goo-apf-mobile-sort{display:none !important;}
}

/* v1.0.30 mobile toolbar: Filter + Sortering side by side, compact clear below */
.goo-apf-mobile-toolbar{display:none;}
@media (max-width:767px){
    .goo-apf .goo-apf-mobile-actions{display:none !important;}

    .goo-apf .goo-apf-mobile-toolbar{
        display:block !important;
        width:100%;
        margin:0 0 14px;
    }

    .goo-apf .goo-apf-mobile-main-actions{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        align-items:stretch !important;
        gap:10px !important;
        width:100%;
    }

    .goo-apf .goo-apf-mobile-main-actions > .goo-apf-mobile-toggle,
    .goo-apf .goo-apf-mobile-main-actions > .goo-apf-mobile-sort{
        flex:1 1 0 !important;
        width:0 !important;
        min-width:0 !important;
        max-width:none !important;
        margin:0 !important;
        box-sizing:border-box !important;
    }

    .goo-apf .goo-apf-mobile-main-actions .goo-apf-mobile-toggle{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        height:44px !important;
        min-height:44px !important;
        padding:0 14px !important;
        border:1px solid #d8dce2 !important;
        border-radius:4px !important;
        background:#fff !important;
        color:inherit !important;
        font:inherit !important;
        font-weight:400 !important;
        line-height:1 !important;
        text-transform:none !important;
        box-shadow:none !important;
        cursor:pointer;
    }

    .goo-apf .goo-apf-mobile-main-actions .goo-apf-mobile-sort{
        display:block !important;
        position:relative !important;
        height:44px !important;
    }

    .goo-apf .goo-apf-mobile-main-actions .goo-apf-mobile-sort:after{
        content:"" !important;
        display:block !important;
        position:absolute !important;
        z-index:2;
        right:14px !important;
        top:50% !important;
        width:0;
        height:0;
        transform:translateY(-50%) !important;
        border-left:5px solid transparent !important;
        border-right:5px solid transparent !important;
        border-top:6px solid #555 !important;
        pointer-events:none !important;
    }

    .goo-apf .goo-apf-mobile-main-actions .goo-apf-mobile-sort select{
        display:block !important;
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        height:44px !important;
        min-height:44px !important;
        margin:0 !important;
        padding:0 38px 0 14px !important;
        border:1px solid #d8dce2 !important;
        border-radius:4px !important;
        background:#fff !important;
        color:inherit !important;
        font:inherit !important;
        font-weight:400 !important;
        line-height:44px !important;
        text-align:center !important;
        text-align-last:center !important;
        box-shadow:none !important;
        appearance:none !important;
        -webkit-appearance:none !important;
        -moz-appearance:none !important;
        cursor:pointer;
        box-sizing:border-box !important;
    }

    .goo-apf .goo-apf-mobile-toolbar .goo-apf-clear-mobile{
        display:none !important;
        width:auto !important;
        min-width:0 !important;
        height:auto !important;
        min-height:0 !important;
        margin:8px 0 0 !important;
        padding:7px 16px !important;
        border:1px solid #d9d6d2 !important;
        border-radius:4px !important;
        background:#fff !important;
        color:#633 !important;
        font-size:12px !important;
        line-height:1.2 !important;
        font-weight:600 !important;
        text-align:center !important;
        box-shadow:none !important;
    }

    .goo-apf.has-active-filters .goo-apf-mobile-toolbar .goo-apf-clear-mobile{
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
    }

    .goo-apf .goo-apf-mobile-toolbar .goo-apf-clear-mobile .goo-apf-clear-text{display:inline !important;}
    .goo-apf .goo-apf-mobile-toolbar .goo-apf-clear-mobile:hover{background:#fbf8f6 !important;}
}

@media (min-width:768px){
    .goo-apf .goo-apf-mobile-toolbar{display:none !important;}
}

/* 1.0.32: exact 50/50 mobile toolbar columns */
@media (max-width:767px){
    .goo-apf .goo-apf-mobile-main-actions{
        display:grid !important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
        column-gap:10px !important;
        width:100% !important;
    }
    .goo-apf .goo-apf-mobile-main-actions > .goo-apf-mobile-toggle,
    .goo-apf .goo-apf-mobile-main-actions > .goo-apf-mobile-sort{
        width:100% !important;
        min-width:0 !important;
        max-width:100% !important;
        box-sizing:border-box !important;
    }
    .goo-apf .goo-apf-mobile-main-actions > .goo-apf-mobile-toggle{
        justify-self:stretch !important;
    }
    .goo-apf .goo-apf-mobile-main-actions > .goo-apf-mobile-sort,
    .goo-apf .goo-apf-mobile-main-actions > .goo-apf-mobile-sort select{
        justify-self:stretch !important;
        width:100% !important;
    }
}


/* 1.0.33: desktop clear button is only present when a real filter is active.
   Sorting alone is intentionally excluded by updateActiveState(). */
@media (min-width:768px){
    .goo-apf .goo-apf-actions{
        display:none !important;
    }
    .goo-apf.has-active-filters .goo-apf-actions{
        display:flex !important;
    }
    .goo-apf .goo-apf-clear-desktop{
        display:none !important;
    }
    .goo-apf.has-active-filters .goo-apf-clear-desktop{
        display:inline-flex !important;
    }
}


/* v1.0.36 dedicated infinite-scroll loading indicator */
.goo-apf-infinite-loader{display:none;align-items:center;justify-content:center;gap:10px;min-height:46px;margin:8px 0 2px;color:#6f6f6f;font-size:14px;line-height:1.2;}
.goo-apf-infinite-loader.is-active{display:flex;}
.goo-apf-infinite-spinner{width:24px;height:24px;border:3px solid rgba(99,51,51,.18);border-top-color:#633;border-radius:50%;display:inline-block;box-sizing:border-box;animation:gooapfspin .75s linear infinite;}
.goo-apf-infinite-loading-text{display:inline-block;}
@media(max-width:767px){.goo-apf-infinite-loader{min-height:42px;margin-top:4px;font-size:13px}.goo-apf-infinite-spinner{width:22px;height:22px}}

/* v1.0.39: one real filter replaces the mobile "Filter" button.
   The actual filter group is moved into the existing 50/50 toolbar, so e.g.
   Varumärken and Sortering sit side by side exactly like Filter + Sortering. */
@media(max-width:767px){
    .goo-apf.goo-apf-single-mobile-filter .goo-apf-mobile-main-actions > .goo-apf-mobile-toggle{
        display:none !important;
    }

    .goo-apf.goo-apf-single-mobile-filter .goo-apf-mobile-main-actions{
        display:grid !important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
        column-gap:10px !important;
        align-items:start !important;
        width:100% !important;
    }

    .goo-apf.goo-apf-single-mobile-filter .goo-apf-mobile-main-actions > .goo-apf-single-toolbar-filter,
    .goo-apf.goo-apf-single-mobile-filter .goo-apf-mobile-main-actions > .goo-apf-mobile-sort{
        display:block !important;
        width:100% !important;
        min-width:0 !important;
        max-width:100% !important;
        height:44px !important;
        min-height:44px !important;
        margin:0 !important;
        padding:0 !important;
        box-sizing:border-box !important;
        position:relative !important;
    }

    .goo-apf.goo-apf-single-mobile-filter .goo-apf-single-toolbar-filter > h3{
        display:none !important;
    }

    .goo-apf.goo-apf-single-mobile-filter .goo-apf-single-toolbar-filter .goo-apf-dropdown{
        position:relative !important;
        width:100% !important;
        height:44px !important;
        margin:0 !important;
    }

    .goo-apf.goo-apf-single-mobile-filter .goo-apf-single-toolbar-filter .goo-apf-dropdown-button{
        display:block !important;
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        height:44px !important;
        min-height:44px !important;
        margin:0 !important;
        padding:0 38px 0 14px !important;
        border:1px solid #d8dce2 !important;
        border-radius:4px !important;
        background:#fff !important;
        color:inherit !important;
        font:inherit !important;
        font-weight:400 !important;
        line-height:44px !important;
        text-align:center !important;
        box-shadow:none !important;
        box-sizing:border-box !important;
        white-space:nowrap !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
    }

    .goo-apf.goo-apf-single-mobile-filter .goo-apf-single-toolbar-filter .goo-apf-dropdown-button:after{
        right:14px !important;
    }

    /* Override the normal mobile drawer rule: the inline dropdown opens as a
       floating menu below the two-button toolbar instead of pushing content. */
    .goo-apf.goo-apf-single-mobile-filter .goo-apf-single-toolbar-filter .goo-apf-dropdown-menu{
        display:none !important;
        position:absolute !important;
        z-index:999999 !important;
        top:calc(100% + 6px) !important;
        left:0 !important;
        right:auto !important;
        width:calc(200% + 10px) !important;
        max-width:calc(100vw - 40px) !important;
        max-height:300px !important;
        margin:0 !important;
        overflow:auto !important;
        border:1px solid #d8dce2 !important;
        border-radius:6px !important;
        background:#fff !important;
        box-shadow:0 14px 36px rgba(0,0,0,.16) !important;
        padding:8px !important;
        box-sizing:border-box !important;
    }

    .goo-apf.goo-apf-single-mobile-filter .goo-apf-single-toolbar-filter .goo-apf-dropdown.is-open .goo-apf-dropdown-menu{
        display:block !important;
    }

    /* The full-screen filter panel is not needed when its only filter has been
       promoted into the toolbar. Desktop layout is unaffected. */
    .goo-apf.goo-apf-single-mobile-filter .goo-apf-panel{
        display:none !important;
    }

    .goo-apf.goo-apf-single-mobile-filter .goo-apf-mobile-toolbar{
        margin-bottom:14px !important;
    }

    .goo-apf.goo-apf-single-mobile-filter .goo-apf-mobile-toolbar .goo-apf-clear-mobile{
        margin-top:8px !important;
    }
}

@media(max-width:767px){
    /* If sorting has been disabled, let the single filter use the full row. */
    .goo-apf.goo-apf-single-mobile-filter .goo-apf-mobile-main-actions > .goo-apf-single-toolbar-filter:only-child{
        grid-column:1 / -1 !important;
    }
}
