.taee-catalog-page {
    background: #fff;
    padding-bottom: 28px;
}

.taee-catalog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    color: #7b8289;
}

.taee-catalog-breadcrumbs a {
    color: #596168;
    text-decoration: none !important;
}

.taee-catalog-breadcrumbs i {
    color: #a5abb0;
}

.taee-catalog-hero {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: #11171b;
}

.taee-catalog-hero img {
    display: block;
    width: 100%;
    aspect-ratio: 7 / 1;
    object-fit: cover;
    object-position: center;
}

.taee-catalog-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #edf0f2;
}

.taee-catalog-intro__copy {
    min-width: 0;
    min-height: 132px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    background: #f6f8f9;
}

.taee-catalog-intro__copy h1 {
    margin: 0 0 8px;
    font-weight: 900;
    color: #1c2228;
}

.taee-catalog-intro__copy p {
    margin: 0;
    color: #6f777e;
}

.taee-catalog-intro__features {
    min-height: 132px;
    height: 100%;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    border-radius: 10px;
    background: #f6f8f9;
}

.taee-catalog-intro-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #31383e;
    font-weight: 700;
}

.taee-catalog-intro-feature i {
    width: 22px;
    text-align: center;
    color: #20272c;
}

.taee-catalog-layout {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.taee-catalog-sidebar {
    position: sticky;
    top: 12px;
    z-index: 20;
}

.taee-catalog-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    background: #fff;
    border: 1px solid #e7ebee;
    border-radius: 12px 12px 0 0;
}

.taee-catalog-sidebar__head h3 {
    margin: 0;
    font-weight: 900;
}

.taee-catalog-sidebar__head button {
    display: none;
    border: 0;
    background: transparent;
    color: #707880;
}

.taee-catalog-filter-form {
    background: #fff;
    border: 1px solid #e7ebee;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.taee-filter-group {
    border-top: 1px solid #eef1f3;
}

.taee-filter-group:first-child {
    border-top: 0;
}

.taee-filter-group summary {
    padding: 15px 18px;
    cursor: pointer;
    list-style: none;
    font-weight: 800;
    color: #30373d;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.taee-filter-group summary::-webkit-details-marker {
    display: none;
}

.taee-filter-group summary::after {
    content: "\f107";
    font-family: "Font Awesome 5 Pro";
    color: #7e858c;
    transition: transform .18s ease;
}

.taee-filter-group:not([open]) summary::after {
    transform: rotate(90deg);
}

.taee-filter-group__body {
    padding: 0 18px 16px;
}

.taee-filter-scroll {
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.taee-filter-option {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    color: #555e66;
    cursor: pointer;
}

.taee-filter-option > span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.taee-filter-option input {
    accent-color: var(--primary);
}

.taee-filter-option small {
    color: #9ba2a8;
}

.taee-filter-category-link {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #4d555c !important;
    text-decoration: none !important;
}

.taee-filter-category-link:hover {
    color: var(--primary) !important;
}

.taee-price-filter {
    padding-top: 10px;
}

.taee-price-filter .noUi-base {
    margin-top: -2px;
}

.taee-price-values {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.taee-price-values span:first-child,
.taee-price-values span:last-child {
    padding: 8px 10px;
    border: 1px solid #e7ebee;
    border-radius: 7px;
    background: #fbfcfc;
}

.taee-catalog-filter-submit {
    width: calc(100% - 36px);
    margin: 0 18px 18px;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}


.taee-catalog-filter-actions {
    padding: 0 18px 18px;
    display: grid;
    gap: 8px;
}

.taee-catalog-filter-actions .taee-catalog-filter-submit {
    width: 100%;
    margin: 0;
}

.taee-catalog-filter-clear {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    background: #fff;
    color: var(--primary) !important;
    font-weight: 800;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease;
}

.taee-catalog-filter-clear i {
    position: static !important;
    margin: 0 !important;
    color: inherit !important;
}

.taee-catalog-filter-clear:hover,
.taee-catalog-filter-clear:focus-visible {
    background: var(--primary);
    color: #fff !important;
}

.taee-catalog-results {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e7ebee;
    border-radius: 12px;
    background: #fff;
}

.taee-catalog-toolbar {
    min-height: 58px;
    padding: 8px 12px;
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 10px 12px;
    background: #f9fafb;
    border: 1px solid #edf0f2;
    border-radius: 9px;
}

.taee-catalog-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.taee-catalog-view-toggle button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e7ebee;
    border-radius: 7px;
    background: #fff;
    color: #7e858b;
    cursor: pointer;
}

.taee-catalog-view-toggle button.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.taee-catalog-view-toggle button i {
    color: inherit !important;
}

.taee-catalog-view-toggle button.is-active i {
    color: #fff !important;
}

.taee-catalog-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.taee-catalog-sort span {
    color: #777f85;
    white-space: nowrap;
}

.taee-catalog-sort select {
    min-width: 190px;
    max-width: 240px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e4e8eb;
    border-radius: 7px;
    background: #fff;
    color: #31383e;
    outline: none;
}

.taee-catalog-count {
    justify-self: end;
    color: #7a8288;
    white-space: nowrap;
}

.taee-catalog-count strong {
    color: #242b31;
}

.taee-catalog-grid {
    padding: 0 12px 12px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.taee-catalog-grid.is-list-view {
    grid-template-columns: 1fr;
}

.taee-catalog-grid.is-list-view > .product-outer .theme-product-card,
.taee-catalog-grid.is-list-view > .product-outer .product {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
}

.taee-catalog-grid.is-list-view > .product-outer .product__image {
    min-height: 190px;
}

.taee-catalog-grid.is-list-view > .product-outer .product__body {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.taee-catalog-empty {
    grid-column: 1 / -1;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed #dfe4e7;
    border-radius: 12px;
    background: #fff;
    color: #747d84;
    text-align: center;
}

.taee-catalog-empty i {
    color: var(--primary);
}

.taee-catalog-bottom-banner {
    margin-top: 18px;
    overflow: hidden;
    border-radius: 10px;
    background: transparent;
}

.taee-catalog-bottom-banner a,
.taee-catalog-bottom-banner img {
    display: block;
    width: 100%;
}

.taee-catalog-bottom-banner img {
    height: auto;
    object-fit: cover;
}

.taee-catalog-page .pagination-wrapper {
    margin-top: 16px !important;
}

.taee-catalog-page .pagination-fancy {
    list-style: none;
    padding: 0;
    margin: 0;
    direction: rtl;
}

.taee-catalog-page .page-circle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e6e9;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
}

.taee-catalog-page .page-circle a,
.taee-catalog-page .page-circle span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444d54;
    text-decoration: none !important;
}

.taee-catalog-page .page-circle.active {
    background: var(--primary);
    border-color: var(--primary);
}

.taee-catalog-page .page-circle.active span {
    color: #fff;
}

.taee-catalog-page .page-circle.disabled {
    opacity: .5;
}

.taee-catalog-sentinel {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.taee-catalog-services {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #f4f7f8;
    border: 1px solid #e8edef;
    border-radius: 10px;
    overflow: hidden;
}

.taee-catalog-service {
    position: relative;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 18px;
}

.taee-catalog-service:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 24%;
    bottom: 24%;
    left: 0;
    width: 1px;
    background: #dfe5e8;
}

.taee-catalog-service img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.taee-catalog-service > span {
    display: flex;
    flex-direction: column;
}

.taee-catalog-service strong {
    color: #242b31;
}

.taee-catalog-service small {
    color: #858d93;
}

.taee-catalog-brands,
.taee-catalog-articles {
    margin-top: 18px;
}

.taee-catalog-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.taee-catalog-section-head h3 {
    margin: 0;
    font-weight: 900;
}

.taee-catalog-section-head a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.taee-catalog-brands__row {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 4px;
}

.taee-catalog-brands__row::-webkit-scrollbar {
    display: none;
}

.taee-catalog-brands__row a {
    flex: 1 0 130px;
    min-width: 130px;
    height: 58px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8edef;
    border-radius: 6px;
    background: #fff;
    text-decoration: none !important;
}

.taee-catalog-brands__row img {
    display: block;
    max-width: 100%;
    max-height: 38px;
    object-fit: contain;
}

.taee-catalog-articles {
    margin-top: 18px;
}

.taee-catalog-articles .taee-section-heading {
    margin-bottom: 12px;
}

.taee-catalog-articles .taee-blog-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.taee-catalog-mobile-tools {
    display: none;
}

.taee-catalog-sidebar-overlay {
    display: none;
}

.taee-catalog-muted {
    color: #8c949a;
}

@media (max-width: 1199px) {
    .taee-catalog-layout {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .taee-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .taee-catalog-toolbar {
        grid-template-columns: auto 1fr;
    }

    .taee-catalog-count {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 991px) {
    .taee-catalog-intro {
        grid-template-columns: 1fr;
    }

    .taee-catalog-intro__features {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .taee-catalog-layout {
        grid-template-columns: 1fr;
    }

    .taee-catalog-sidebar {
        position: fixed;
        z-index: 10020;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(88vw, 360px);
        overflow-y: auto;
        background: #fff;
        transform: translateX(105%);
        transition: transform .22s ease;
    }

    .catalog-filter-open .taee-catalog-sidebar {
        transform: translateX(0);
    }

    .taee-catalog-sidebar__head {
        position: sticky;
        top: 0;
        z-index: 2;
        border-radius: 0;
    }

    .taee-catalog-sidebar__head button {
        display: inline-flex;
    }

    .taee-catalog-filter-form {
        border-radius: 0;
    }

    .taee-catalog-sidebar-overlay {
        position: fixed;
        z-index: 10010;
        inset: 0;
        background: rgba(0, 0, 0, .35);
    }

    .catalog-filter-open .taee-catalog-sidebar-overlay {
        display: block;
    }

    .catalog-filter-open {
        overflow: hidden;
    }

    .taee-catalog-mobile-tools {
        margin-bottom: 10px;
        padding: 9px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        border: 1px solid #e7ebee;
        border-radius: 9px;
        background: #fff;
    }

    .taee-catalog-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 0;
        background: transparent;
        color: #31383e;
        font-weight: 800;
    }

    .taee-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .taee-catalog-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .taee-catalog-service:nth-child(2n)::after {
        display: none;
    }

    .taee-catalog-service:nth-child(n+3) {
        border-top: 1px solid #e2e7e9;
    }

    .taee-catalog-articles .taee-blog-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .taee-catalog-page {
        padding-bottom: 18px;
    }

    .taee-catalog-breadcrumbs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .taee-catalog-intro__copy,
    .taee-catalog-intro__features {
        min-height: auto;
    }

    .taee-catalog-intro__features {
        grid-template-columns: 1fr;
        padding: 12px 16px;
    }

    .taee-catalog-toolbar {
        grid-template-columns: auto 1fr;
        gap: 8px;
    }

    .taee-catalog-count {
        display: none;
    }

    .taee-catalog-sort {
        justify-self: end;
    }

    .taee-catalog-sort > span {
        display: none;
    }

    .taee-catalog-sort select {
        min-width: 150px;
        max-width: 190px;
    }

    .taee-catalog-grid,
    .taee-catalog-grid.is-list-view {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .taee-catalog-grid.is-list-view > .product-outer .theme-product-card,
    .taee-catalog-grid.is-list-view > .product-outer .product {
        display: block;
    }

    .taee-catalog-view-toggle button[data-catalog-view="list"] {
        display: none;
    }

    .taee-catalog-bottom-banner {
        border-radius: 7px;
    }

    .taee-catalog-services {
        margin-right: -12px;
        margin-left: -12px;
        border-radius: 0;
    }

    .taee-catalog-service {
        padding: 10px;
        justify-content: flex-start;
    }

    .taee-catalog-service img {
        width: 38px;
        height: 38px;
    }

    .taee-catalog-section-head {
        align-items: center;
    }

    .taee-catalog-brands__row a {
        flex-basis: 110px;
        min-width: 110px;
        height: 54px;
    }

    .taee-catalog-articles .taee-blog-strip__grid {
        grid-template-columns: 1fr;
    }
}

.dark .taee-catalog-page {
    background: #1c2023;
}

.dark .taee-catalog-results,
.dark .taee-catalog-sidebar__head,
.dark .taee-catalog-filter-form,
.dark .taee-catalog-toolbar,
.dark .taee-price-values span:first-child,
.dark .taee-price-values span:last-child,
.dark .taee-catalog-brands__row a,
.dark .taee-catalog-mobile-tools {
    background: #252a2e;
    border-color: #363d42;
}

.dark .taee-catalog-intro__copy,
.dark .taee-catalog-intro__features {
    background: #202529;
}

.dark .taee-catalog-intro__copy h1,
.dark .taee-catalog-intro-feature,
.dark .taee-filter-group summary,
.dark .taee-catalog-count strong,
.dark .taee-catalog-service strong,
.dark .taee-catalog-section-head h3 {
    color: #f5f7f8;
}

/* Keep catalog brand/filter controls explicitly interactive above legacy form styles. */
.taee-catalog-filter-form .taee-filter-option {
    position: relative;
    z-index: 1;
    user-select: none;
}

.taee-catalog-filter-form .taee-filter-option input[type="checkbox"],
.taee-catalog-filter-form .taee-filter-option input[type="radio"] {
    position: static !important;
    inset: auto !important;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    accent-color: var(--primary);
}

.taee-catalog-filter-form .taee-filter-option > span,
.taee-catalog-filter-form .taee-filter-option > span > span {
    pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Visible filter checkbox / radio controls
   -------------------------------------------------------------------------- */
.taee-catalog-filter-form .taee-filter-option input[type="checkbox"],
.taee-catalog-filter-form .taee-filter-option input[type="radio"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-grid !important;
    place-content: center;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border: 2px solid #b8c0c7 !important;
    background-color: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.taee-catalog-filter-form .taee-filter-option input[type="checkbox"] {
    border-radius: 4px !important;
}

.taee-catalog-filter-form .taee-filter-option input[type="radio"] {
    border-radius: 50% !important;
}

.taee-catalog-filter-form .taee-filter-option:hover input[type="checkbox"],
.taee-catalog-filter-form .taee-filter-option:hover input[type="radio"] {
    border-color: var(--primary) !important;
}

.taee-catalog-filter-form .taee-filter-option input[type="checkbox"]:checked {
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m3.2 8.2 3 3.1 6.6-7'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 13px 13px !important;
}

.taee-catalog-filter-form .taee-filter-option input[type="radio"]:checked {
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
    box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--primary);
}

.taee-catalog-filter-form .taee-filter-option input[type="checkbox"]:focus-visible,
.taee-catalog-filter-form .taee-filter-option input[type="radio"]:focus-visible {
    outline: 3px solid rgba(239, 23, 55, .16) !important;
    outline-offset: 2px;
}

.dark .taee-catalog-filter-form .taee-filter-option input[type="checkbox"],
.dark .taee-catalog-filter-form .taee-filter-option input[type="radio"] {
    border-color: #67717a !important;
    background-color: #202529 !important;
}

.dark .taee-catalog-filter-form .taee-filter-option input[type="checkbox"]:checked,
.dark .taee-catalog-filter-form .taee-filter-option input[type="radio"]:checked {
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
}

.taee-catalog-mobile-clear {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--primary) !important;
    text-decoration: none !important;
    font-weight: 800;
}

.taee-catalog-mobile-clear i {
    position: static !important;
    margin: 0 !important;
    color: inherit !important;
}

@media (max-width: 991px) {
    .taee-catalog-mobile-clear {
        display: inline-flex;
    }
}
