.catalog-heading-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin: 24px 0 16px;
}

.catalog-heading-title {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-size: 30px;
    line-height: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    -webkit-font-smoothing: antialiased;
}

.catalog-heading-count {
    color: #6b7280;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.catalog-heading-count span {
    color: var(--site-accent, #9C1C4F);
    font-weight: 700;
}

.catalog-filter-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-filter-heading h2 {
    margin: 0;
    font-family: 'Rubik-SemiBold';
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
}

.catalog-filter-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--site-accent, #9C1C4F);
}

.catalog-filter-heading-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bloggers-top-bar-only-sort {
    justify-content: flex-end;
}

.smart-search-panel {
    --smart-accent: var(--site-accent, #9C1C4F);
    --smart-accent-rgb: var(--site-accent-rgb, 156, 28, 79);
    position: relative;
    overflow: hidden;
    padding: 24px;
    margin: 0 0 24px;
    border-radius: 20px;
    color: #fff;
    background-color: var(--smart-accent);
    background-image: linear-gradient(135deg, var(--smart-accent) 0%, color-mix(in srgb, var(--smart-accent) 45%, #14040c) 100%);
    box-shadow: 0 12px 30px -12px rgba(var(--smart-accent-rgb), .55);
}

.smart-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.smart-search-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.smart-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-top: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .18);
}

.smart-search-icon i {
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.smart-search-title {
    margin: 0;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.smart-search-subtitle {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .9);
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.smart-search-examples {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.smart-search-example {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.smart-search-example:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .4);
}

.smart-search-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.smart-search-input {
    min-width: 0;
    flex: 1;
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    outline: none;
    color: #1a1a1a;
    background: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    transition: box-shadow .2s ease;
}

.smart-search-input:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .28), 0 4px 12px rgba(0, 0, 0, .1);
}

.smart-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    color: var(--smart-accent);
    background: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.smart-search-submit i {
    font-size: 13px;
    line-height: 1;
}

.smart-search-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .16);
}

.smart-search-submit:disabled {
    opacity: .72;
    cursor: default;
}

.smart-search-message {
    display: none;
    margin-top: 10px;
    color: rgba(255, 255, 255, .94);
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
}

.smart-search-message.is-visible {
    display: block;
}

@keyframes smartSearchFlash {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--site-accent-rgb, 156, 28, 79), 0), 0 0 0 rgba(var(--site-accent-rgb, 156, 28, 79), 0);
    }
    18% {
        box-shadow: 0 0 0 3px rgba(var(--site-accent-rgb, 156, 28, 79), .55), 0 0 20px rgba(var(--site-accent-rgb, 156, 28, 79), .5);
    }
    45% {
        box-shadow: 0 0 0 7px rgba(var(--site-accent-rgb, 156, 28, 79), .22), 0 0 28px rgba(var(--site-accent-rgb, 156, 28, 79), .34);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(var(--site-accent-rgb, 156, 28, 79), 0), 0 0 0 rgba(var(--site-accent-rgb, 156, 28, 79), 0);
    }
}

.smart-search-flash {
    position: relative;
    z-index: 3;
    animation: smartSearchFlash 1.4s ease-out 1;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .smart-search-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .smart-search-examples {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .smart-search-panel {
        padding: 18px;
        border-radius: 16px;
    }

    .smart-search-title {
        font-size: 19px;
        line-height: 24px;
    }

    .smart-search-subtitle {
        font-size: 14px;
        line-height: 18px;
    }

    .smart-search-examples {
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
        padding-bottom: 3px;
    }

    .smart-search-example {
        flex: 0 0 auto;
    }

    .smart-search-row {
        flex-direction: column;
    }

    .smart-search-input,
    .smart-search-submit {
        width: 100%;
        height: 48px;
    }
}

@media (max-width: 768px) {
    .catalog-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        margin: 24px 0 16px;
    }

    .catalog-heading-title {
        font-size: 30px;
        letter-spacing: -.6px;
    }

    .catalog-heading-count {
        font-size: 15px;
    }

    .catalog-filter-heading h2 {
        font-size: 18px;
        line-height: 22px;
    }

    .bloggers-top-bar-only-sort {
        align-items: flex-start;
    }
}
