/*
 * Filter widget without URLs in the HTML (ORAG-231, Ermis #2254).
 *
 * The controls that were links are buttons now. These rules give the buttons the look the links
 * had: a browser button reset, then the declarations Filter Everything Pro and fixit.css wrote
 * for `a.<class>` (they do not match a button).
 */

.wpc-filters-main-wrap button.wpc-toggle-a,
.wpc-filters-main-wrap button.wpc-filters-apply-button,
.wpc-filters-main-wrap button.wpc-filters-close-button,
button.wpc-open-close-filters-button,
button.wpc-widget-close-icon,
button.wpc-filters-open-widget,
button.filters-chips-clear,
button.filters-chips-clear-inline,
button.oragold-fnu-nav {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
    font: inherit;
    /* style.css gives every `a` (not buttons) BwModelicaLGC-Regular; keep it on the controls that were links. */
    font-family: BwModelicaLGC-Regular;
    color: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-align: inherit;
    text-transform: inherit;
    cursor: pointer;
}

/* filter-everything.css: .wpc-filters-main-wrap a.wpc-toggle-a */
.wpc-filters-main-wrap button.wpc-toggle-a {
    text-decoration: none;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    margin-left: .25em;
}
.wpc-filters-main-wrap button.wpc-toggle-a:hover {
    opacity: .7;
}

/* fixit.css: the See more / See less colour */
.loop.has-filter .sidebar .wpc-filters-main-wrap .wpc-filter-content button.wpc-see-more-control,
.loop.has-filter .sidebar .wpc-filters-main-wrap .wpc-filter-content button.wpc-see-less-control {
    border-bottom: none;
    color: #faa71b;
}

/* filter-everything.css: a.wpc-widget-close-icon */
button.wpc-widget-close-icon {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 10;
}

/* filter-everything.css + fixit.css: the «Show (N)» / «Cancel» bar */
.wpc-filters-widget-controls-container button.wpc-filters-apply-button {
    background-color: #d8d8d8;
}
body .wpc-filters-main-wrap .wpc-filters-widget-controls-container button.wpc-filters-apply-button {
    background-color: #faa71b;
    border: 1px solid #faa71b;
    width: 100%;
    font-size: 16px;
    padding: 10px 14px;
}
.wpc-filters-widget-controls-container button:active,
.wpc-filters-widget-controls-container button:focus,
.wpc-filters-widget-controls-container button:hover {
    opacity: .6;
    box-shadow: none;
}

/* filter-everything.css: a.wpc-open-close-filters-button */
body .wpc-filters-open-button-container button.wpc-filters-open-widget,
body .wpc-filters-open-button-container button.wpc-open-close-filters-button {
    display: inline-block;
    text-align: left;
    border: 1px solid #2c2d33;
    border-radius: 2px;
    line-height: 1.5;
    padding: 7px 12px;
    background-color: transparent;
    color: #2c2d33;
    box-sizing: border-box;
    font-weight: 400;
    position: relative;
}

/* The links above the products («Καθαρισμός όλων») were underlined text. */
button.filters-chips-clear,
button.filters-chips-clear-inline {
    text-decoration: underline;
}

/* Language switcher / pagination of a noindex filtered page: keep the link look. The switcher
   button is listed next to `.main-nav .container ul li a` in style.css (every breakpoint); the
   pagination links only had a colour. */
.loop.has-filter .tool-pagination > ul > li > button.oragold-fnu-nav,
.has-filter .filter-container .tool-pagination > ul > li > button.oragold-fnu-nav {
    color: #7f8285;
}

/* While the term URL is on its way. */
html.fnu-resolving,
html.fnu-resolving .wpc-filters-main-wrap label {
    cursor: progress;
}

/* Point 4 of the brief: links to the indexable filter pages, above the products.
   Plain on purpose until Sleed's design is in. */
.before-shop-loop:has(> .oragold-seo-links) {
    flex-wrap: wrap;
}
.oragold-seo-links {
    flex: 0 0 100%;
    width: 100%;
    margin: 0 0 16px;
}
.oragold-seo-links-group {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-bottom: 8px;
}
.oragold-seo-links-title {
    font-weight: 600;
}
.oragold-seo-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.oragold-seo-links-list a {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .oragold-seo-links {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .oragold-seo-links-group,
    .oragold-seo-links-list {
        gap: 4px 10px;
    }
}

/* Mobile «ΚΑΘΑΡΙΣΜΟΣ» keeps the theme's .btn look; only the font came from the `a` rule. */
button#clearFiltersMob {
    font-family: BwModelicaLGC-Regular;
}
