/* Dogmatile Catalog Collection Filter 3.0.8 */

#dogmatile-catalog-collection-filter-translations {
    display: none !important;
}

/* The head script adds this runtime class before the catalog markup is parsed.
   It prevents the former collection links from flashing. A JavaScript watchdog
   removes the class after eight seconds if mounting cannot finish, so the
   original catalog controls remain fully accessible on failure. */
html.dccf-runtime.dccf-pending #catalog-form > .filter-collections-block:not([data-dccf-ready="true"]) {
    visibility: hidden;
    max-height: 48px;
    overflow: hidden;
}

.filter-collections-block.dccf-baldocer-active {
    margin: 0 0 28px !important;
    padding: 0 !important;
    border: 0 !important;
}

.filter-collections-block.dccf-baldocer-active > .filter-title {
    display: none !important;
}

.filter-collections.filter-inputs.dccf-baldocer {
    display: block !important;
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.dccf-baldocer__field {
    position: relative;
    box-sizing: border-box;
    width: 182px;
    max-width: 100%;
    background: transparent !important;
}

.dccf-baldocer .dccf-history {
    position: absolute;
    z-index: 20;
    top: 100%;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    max-height: 160px;
    overflow: auto;
    overscroll-behavior: contain;
    margin: 0 !important;
    padding: 2px 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 0;
    border-radius: 0;
    background: var(--dccf-history-background, #555555);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
    list-style: none !important;
    scrollbar-width: thin;
    scrollbar-color: #b5b5b5 #555555;
}

.dccf-baldocer .dccf-history[hidden] {
    display: none !important;
}

.dccf-baldocer .dccf-history__option {
    display: flex;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    min-height: 30px;
    margin: 0 !important;
    padding: 3px 4px 3px 8px !important;
    border: 0;
    background: transparent;
    color: #ffffff !important;
    font-family: Raleway, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
    list-style: none !important;
    cursor: pointer;
}

.dccf-history__query {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dccf-baldocer .dccf-history__remove {
    position: relative;
    display: block !important;
    flex: 0 0 24px;
    width: 24px !important;
    height: 24px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #dddddd !important;
    cursor: pointer;
    transition: none !important;
    appearance: none;
}

.dccf-history__remove-icon::before,
.dccf-history__remove-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
}

.dccf-history__remove-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.dccf-baldocer .dccf-history__remove:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.dccf-baldocer .dccf-history__option:hover,
.dccf-baldocer .dccf-history__option--active {
    background: var(--dccf-history-active, #666666);
}

.dccf-baldocer .dccf-baldocer__input {
    display: block !important;
    box-sizing: border-box !important;
    width: 182px !important;
    max-width: 100% !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 7px 4px 8px !important;
    border: 0 !important;
    border-bottom: 3px solid #078c9b !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
    opacity: 1 !important;
    font-family: Raleway, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    transition: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.dccf-baldocer .dccf-baldocer__input::placeholder {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.dccf-baldocer .dccf-baldocer__input:hover,
.dccf-baldocer .dccf-baldocer__input:focus,
.dccf-baldocer .dccf-baldocer__input:active {
    background: transparent !important;
    color: #ffffff !important;
    border-bottom-color: #078c9b !important;
}

.dccf-baldocer .dccf-baldocer__input:focus,
.dccf-baldocer .dccf-baldocer__input:focus-visible,
.dccf-baldocer .dccf-baldocer__input:active {
    outline: none !important;
    box-shadow: none !important;
}

html body .catalog-content .collection-archive-big-block.dccf-search-hidden {
    display: none !important;
}

.catalog-content .collections.dccf-filtered-grid-hidden {
    display: none !important;
}

html body .catalog-content.dccf-text-search-active .collections[data-dccf-search-view="true"] .collection-archive-big-block.dcn-card-hidden:not(.dccf-search-hidden) {
    display: block !important;
}

.catalog-content.dccf-text-search-active > .hoja {
    display: none !important;
}

/* Baldocer changes ready results directly, without an opacity fade. Use the
   same appearance for typing, backspacing and returning to selected filters.
   The native lazy loader still controls images that have not loaded yet. */
.catalog-content .collections .collection-archive-image:not(.lazyload):not(.lazyloading) {
    animation: none !important;
    transition: none !important;
}

.catalog-content .collections .dccf-search-image {
    animation: none !important;
    transition: none !important;
}

.catalog-content .collections .dccf-search-image[data-dccf-image-error="true"] {
    visibility: hidden;
}

.catalog-content .collections > .dccf__empty {
    width: min(760px, calc(100% - 40px));
    margin: 48px auto 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: #111111;
    text-align: center;
}

.catalog-content .collections > .dccf__empty[hidden] {
    display: none !important;
}

.catalog-content .collections.dccf-empty-active > h1 {
    display: none !important;
}

.dccf__empty-title {
    margin: 0 0 12px;
    color: #111111 !important;
    font-family: Raleway, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
}

.dccf__empty-help {
    margin: 0;
    color: #505558 !important;
    font-family: Raleway, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 992px) {
    #catalog-form > .filter-collections-block.dccf-baldocer-active {
        margin-top: 70px !important;
    }

    .dccf-baldocer .dccf-baldocer__input {
        font-size: 16px !important;
    }

    .dccf-baldocer .dccf-history__option {
        min-height: 34px;
        font-size: 14px;
    }

    .dccf-baldocer .dccf-history__remove {
        flex-basis: 28px;
        width: 28px !important;
        height: 28px !important;
    }

    .catalog-content .collections > .dccf__empty {
        width: calc(100% - 24px);
        margin-top: 24px;
    }

    .dccf__empty-title {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dccf-baldocer .dccf-baldocer__input {
        transition: none !important;
    }

    .catalog-content .collections .collection-archive-image {
        animation: none !important;
        transition: none !important;
    }
}
