/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

:root {
    --brand: #A01622;
    --chip-bg: #ffffff;
    --chip-border: #d8d8d8;
    --text: #050505;
    --muted: #6b7280;
    --ring: rgba(160, 22, 34, .35);
    --surface: #f7f7f8;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter {
    position: relative;
    display: inline-flex;
    align-items: center;
}

input[type=text].filter-input {
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 14px;
    height:39px
}

.portfolio-filter-load-more-container {
    padding: 20px 0px;
    display:flex;
    align-items:center;
    justify-items:center;
    justify-content: center;
}

.chip {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    gap: 16px;
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 14px;
    transition: box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}

.chip:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.chip__label {
    color: var(--text);
    font-weight: 600;
    transition: color .15s ease;
}

.chip__selection {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    padding: 2px 6px;
    transition: background-color .15s ease, color .15s ease;
}

.chip:not(.open) .chip__selection:hover {
    background: var(--brand);
    color: white;
}

.chip__value {
    font-weight: 700;
}

.chip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d9d9d9;
    font-size: 11px;
    transition: background-color .15s ease;
}

.chip:not(.open) .chip__selection:hover .chip__count {
    background: rgba(255, 255, 255, .3);
}

.chip__clear {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    line-height: 0;
    color: var(--brand);
    transition: background-color .15s ease, color .15s ease;
}

.chip__clear svg {
    fill: currentColor;
}

.chip:not(.open) .chip__selection:hover .chip__clear svg {
    fill: white;
}

.chip__caret {
    width: 24px;
    height: 24px;
    border: 0;
    color: #fff;
    background: var(--brand);
    border-radius: 100%;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, color .15s ease;
}

.chip__caret svg {
    fill: currentColor;
    transition: transform .15s ease;
}

.chip__caret[aria-expanded="true"] {
    background: var(--brand);
    box-shadow: none;
}

.chip.open {
    background: var(--brand);
}

.chip.open .chip__label {
    color: white;
}

.chip.open .chip__caret svg {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
    padding: 12px;
    z-index: 20;
    display: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    transition: opacity .12s ease, transform .12s ease;
}

.dropdown[data-open="true"] {
    display: block;
}

.list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-btn {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    text-align: left;
    padding: 6px 12px;
    border-radius: 8px;
    border: 0;
    background: #f3f4f6;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.option-btn:hover {
    background: var(--brand);
    color: white;
}

.option-label {
    font-weight: 700;
    letter-spacing: .02em;
}

.option-count {
    font-weight: 700;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #d9d9d9;
    transition: background-color .15s ease;
}

.option-btn:hover .option-count {
    background: rgba(255, 255, 255, .3);
}

.items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    min-height: 120px;
    display: grid;
    place-items: center;
    color: #9aa0a6;
    font-weight: 600;
}

@media (max-width:700px) {
    .items {
    grid-template-columns: 1fr;
    }
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.portfolio-filter-result, .werbeform-filter-result {
    margin-top: 30px;
}