/* Aware Force Catalog: search, chips, filters, grid and empty state (scoped to .af-*) */
.af-search,
.af-chips,
.af-cat,
.af-empty,
.af-search-head__meta,
.af-search-head__topics,
.af-logo-panel {
    font-family: "Plus Jakarta Sans", sans-serif;
}

.af-search input,
.af-search button,
.af-cat input,
.af-cat select,
.af-cat button,
.af-chips button,
.af-logo-panel input {
    font-family: inherit;
}

.af-search {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 760px;
}

.af-search__field {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 16px;
    background: #242424;
    border: 1px solid #333333;
    border-radius: 15px;
    transition: border-color .2s;
}

.af-search__field:focus-within {
    border-color: #ED1C24;
}

.af-search__icon {
    display: flex;
    color: #8A8A8A;
}

.af-search .af-search__field input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
    outline: none;
    color: #F2F2F2;
    font-size: 15px;
}

.af-search .af-search__field input[type="search"]::placeholder {
    color: #8A8A8A;
}

.af-search__clear {
    color: #8A8A8A;
    font-size: 13px;
    white-space: nowrap;
    text-decoration: none;
}

.af-search__clear:hover {
    color: #F2F2F2;
}

.af-search .af-search__button {
    height: 54px;
    padding: 0 26px;
    background: #ED1C24;
    border: 0;
    border-radius: 15px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.af-search .af-search__button:hover {
    background: #C20101;
}

.af-search__suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 50;
    padding: 10px;
    background: #1B1B1B;
    border: 1px solid #333333;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

.af-search__suggest h6 {
    margin: 8px 8px 6px;
    color: #6F6F6F;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.af-search .af-suggest__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 10px;
    color: #DCDCDC;
    font-size: 14px;
    text-decoration: none !important;
}

.af-search .af-suggest__row:hover,
.af-search .af-suggest__row.is-active {
    background: #262626;
    color: #FFFFFF;
}

.af-suggest__row img {
    flex: none;
    width: 46px;
    height: 34px;
    object-fit: cover;
    border-radius: 6px;
    background: #111111;
}

.af-suggest__ic {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 34px;
    border-radius: 8px;
    background: rgba(239, 67, 67, .1);
    color: #ED1C24;
    font-weight: 700;
}

.af-suggest__row small {
    margin-left: auto;
    color: #8A8A8A;
    font-size: 12px;
    white-space: nowrap;
}

.af-search__suggest mark,
.af-search-head mark {
    background: none;
    color: #FF4B52;
}

.af-suggest__all {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 0 4px;
    background: none;
    border: 0;
    border-top: 1px solid #2A2A2A;
    border-radius: 0;
    color: #FF6B70;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.af-suggest__none {
    margin: 8px;
    color: #8A8A8A;
    font-size: 14px;
}

.af-chips,
.af-empty__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.af-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #242424;
    border: 1px solid #333333;
    border-radius: 999px;
    color: #DCDCDC;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.af-chip em {
    margin-left: 6px;
    color: #8A8A8A;
    font-style: normal;
    font-weight: 500;
}

.af-chip:hover {
    border-color: #ED1C24;
    background: #242424;
    color: #FFFFFF;
}

.af-chip.is-active {
    background: #F2F2F2;
    border-color: #F2F2F2;
    color: #171717;
}

.af-chip.is-active em {
    color: #555555;
}

.af-search-head__title {
    margin: 22px 0 6px;
    color: #F2F2F2;
    font-family: "Gotham", "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
}

.af-search-head__title q {
    color: #ED1C24;
}

.af-search-head__meta {
    margin: 0;
    color: #8A8A8A;
    font-size: 14px;
}

.af-search-head__topics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: #8A8A8A;
    font-size: 13px;
}

.af-topic {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #181818;
    border: 1px solid #2F2F2F;
    border-radius: 12px;
    color: #F2F2F2;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.af-topic::before {
    content: "#";
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(239, 67, 67, .1);
    color: #ED1C24;
}

.af-topic em {
    color: #8A8A8A;
    font-style: normal;
    font-weight: 500;
}

.af-topic:hover {
    border-color: #ED1C24;
    color: #FFFFFF;
}

.af-cat {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.af-cat__toggle {
    display: none;
}

.af-cat__group {
    margin: 0 0 18px;
    padding: 0 0 18px;
    border-bottom: 1px solid #262626;
}

.af-cat__group-title {
    margin: 0 0 10px;
    color: #8A8A8A;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.af-cat .af-cat__q {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    background: #1B1B1B;
    border: 1px solid #333333;
    border-radius: 10px;
    color: #F2F2F2;
    font-size: 14px;
}

.af-cat .af-cat__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    color: #DCDCDC;
    font-size: 14px;
    cursor: pointer;
}

.af-cat .af-cat__option input {
    flex: none;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #ED1C24;
}

.af-cat .af-cat__option-name {
    color: #DCDCDC;
    flex: 1;
}

.af-cat .af-cat__option em {
    color: #6F6F6F;
    font-size: 12px;
    font-style: normal;
}

.af-cat .af-cat__option--extra {
    display: none;
}

.af-cat .af-cat__group.is-open .af-cat__option--extra {
    display: flex;
}

.af-cat__show-all {
    margin-top: 6px;
    padding: 0;
    background: none;
    border: 0;
    color: #FF6B70;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.af-cat__show-all:hover {
    background: none;
    color: #FF4B52;
}

.af-cat__toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #9A9A9A;
    font-size: 14px;
}

.af-cat .af-cat__sort select {
    height: 38px;
    padding: 0 12px;
    background: #242424;
    border: 1px solid #333333;
    border-radius: 10px;
    color: #DCDCDC;
    font-size: 13px;
}

.af-cat__active {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.af-cat__active:empty {
    display: none;
}

.af-cat__chip {
    padding: 5px 10px;
    background: #242424;
    border: 1px solid #333333;
    border-radius: 999px;
    color: #DCDCDC;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.af-cat__chip span {
    margin-left: 4px;
    color: #FF6B70;
}

.af-cat__chip:hover {
    background: #242424;
    border-color: #ED1C24;
    color: #FFFFFF;
}

.af-cat__clear {
    padding: 0;
    background: none;
    border: 0;
    color: #FF6B70;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.af-cat__clear:hover {
    background: none;
    color: #FF4B52;
}

.af-cat__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    transition: opacity .2s;
}

.af-cat.is-loading .af-cat__grid {
    opacity: .45;
    pointer-events: none;
}

.af-cat__card {
    display: flex;
    min-width: 0;
}

.af-cat__card > .elementor {
    width: 100%;
}

.af-cat__more {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.af-cat__more-btn {
    padding: 14px 26px;
    border: 1px solid #3A3A3A;
    border-radius: 12px;
    color: #F2F2F2;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s;
}

.af-cat__more-btn:hover {
    border-color: #ED1C24;
    color: #FFFFFF;
}

.af-empty {
    grid-column: 1 / -1;
    padding: 40px 20px;
    text-align: center;
}

.af-empty__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: rgba(239, 67, 67, .1);
    color: #ED1C24;
}

.af-empty h4 {
    margin: 0 0 6px;
    color: #F2F2F2;
    font-family: "Gotham", "Montserrat", sans-serif;
    font-size: 20px;
}

.af-empty p {
    margin: 0 0 16px;
    color: #B5B5B5;
}

.af-empty a:not(.af-chip) {
    color: #FF4B52;
    font-weight: 600;
}

.af-empty__topics {
    justify-content: center;
}

.af-empty__request {
    margin-top: 18px !important;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .af-cat__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .af-search {
        flex-direction: column;
    }

    .af-search__button {
        width: 100%;
    }

    .af-cat {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .af-cat__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 44px;
        background: #242424;
        border: 1px solid #333333;
        border-radius: 12px;
        color: #F2F2F2;
        font-weight: 600;
    }

    .af-cat__filters {
        display: none;
    }

    .af-cat.filters-open .af-cat__filters {
        display: block;
    }

    .af-cat__grid {
        grid-template-columns: 1fr;
    }

    .af-search-head__title {
        font-size: 26px;
    }
}

.af-logo-panel {
    margin: 24px 0;
    padding: 22px;
    background: #1B1B1B;
    border: 1px solid #2A2A2A;
    border-radius: 14px;
}

body .af-logo-panel h3 {
    margin: 0 0 14px;
    color: #F2F2F2;
    font-family: "Gotham", "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 600;
}

body .af-logo-panel h3 span {
    color: #8A8A8A;
    font-size: 14px;
    font-weight: 400;
}

.af-logo-panel__note,
.af-logo-panel__done {
    margin: 12px 0 0;
    color: #8A8A8A;
    font-size: 13px;
}

.af-logo-panel__done {
    color: #B5B5B5;
    font-size: 15px;
}

.af-logo .af-logo__drop {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 96px;
    padding: 18px;
    border: 1px dashed #4A4A4A;
    border-radius: 12px;
    color: #DCDCDC;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.af-logo .af-logo__drop:hover,
.af-logo.is-over .af-logo__drop {
    border-color: #ED1C24;
    background: rgba(237, 28, 36, .06);
}

.af-logo .af-logo__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.af-logo__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(239, 67, 67, .1);
    color: #ED1C24;
}

.af-logo__text b {
    display: block;
    color: #F2F2F2;
    font-size: 15px;
}

.af-logo__text span {
    color: #8A8A8A;
    font-size: 13px;
}

.af-logo__status {
    margin-top: 10px;
    font-size: 14px;
}

.af-logo__status:empty {
    display: none;
}

.af-logo.is-busy .af-logo__status {
    color: #B5B5B5;
}

.af-logo.is-done .af-logo__status {
    color: #3DD68C;
}

.af-logo.is-error .af-logo__status {
    color: #FF6B70;
}

.af-cat .af-cat__q:hover,
.af-cat .af-cat__sort select:hover {
    border-color: #4A4A4A;
}

.af-cat .af-cat__q:focus,
.af-cat .af-cat__sort select:focus {
    outline: none;
    border-color: #ED1C24;
    box-shadow: none;
}

.af-search .af-search__field input[type="search"]:focus {
    outline: none !important;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 14px 18px 14px 48px;
    background: #1B1B1B;
    border: 1px solid #2A2A2A;
    border-left: 3px solid #3DD68C;
    border-radius: 12px;
    color: #F2F2F2;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
}

.woocommerce-notices-wrapper .woocommerce-info {
    border-left-color: #8A8A8A;
}

.woocommerce-notices-wrapper .woocommerce-error {
    border-left-color: #ED1C24;
}

.woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-info::before,
.woocommerce-notices-wrapper .woocommerce-error::before {
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
}

.woocommerce-notices-wrapper .woocommerce-message .button,
.woocommerce-notices-wrapper .woocommerce-info .button {
    order: 2;
    margin-left: auto;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #ED1C24;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

.woocommerce-notices-wrapper .woocommerce-message .button:hover,
.woocommerce-notices-wrapper .woocommerce-info .button:hover {
    background: #ED1C24;
    color: #FFFFFF;
}

form.cart .single_add_to_cart_button.loading,
form.cart button.loading {
    opacity: .7;
    pointer-events: none;
}

.af-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    width: min(380px, calc(100vw - 32px));
    padding: 16px 44px 16px 18px;
    background: #1B1B1B;
    border: 1px solid #2A2A2A;
    border-left: 3px solid #3DD68C;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
    color: #F2F2F2;
    font-family: "Plus Jakarta Sans", sans-serif;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s, transform .25s;
}

.af-toast.is-visible {
    opacity: 1;
    transform: none;
}

.af-toast--error {
    border-left-color: #ED1C24;
}

.af-toast__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.af-toast__actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.af-toast__link,
.af-toast__button {
    padding: 8px 14px;
    border: 1px solid #3A3A3A;
    border-radius: 10px;
    color: #F2F2F2;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.af-toast__button {
    background: #ED1C24;
    border-color: #ED1C24;
    color: #FFFFFF;
}

.af-toast__close {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    background: none;
    border: 0;
    color: #8A8A8A;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.e-loop-item a.added_to_cart,
.af-cat__card a.added_to_cart {
    display: none;
}
