.QueryProduct.CatalogArchive,
.CatalogArchive.QueryProduct {
    width: 100%;
}

.CatalogArchive__Layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

@media screen and (min-width: 768px) {
    .CatalogArchive__Layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 2.5rem;
    }
}

.CatalogArchive__Filters.FilterColumn,
.CatalogArchive__Filters {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

@media screen and (min-width: 768px) {
    .CatalogArchive__Filters.FilterColumn,
    .CatalogArchive__Filters {
        flex: 0 0 290px;
        width: 290px;
        max-width: 290px !important;
    }
}

.CatalogArchive__FiltersTitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--global-body-font-family, Inter, sans-serif);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.CatalogArchive__FilterSectionTitle {
    font-family: var(--global-heading-font-family, var(--global-body-font-family, Inter, sans-serif));
    font-size: 2rem;
    line-height: normal;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
    padding: 0;
}

.CatalogArchive__FilterSectionTitle:first-child {
    margin-top: 0;
}

.CatalogArchive__SectionCTA {
    display: flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    font-family: var(--global-body-font-family, Inter, sans-serif);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--vrx-color-brand, var(--global-palette1, #283583));
    text-decoration: none;
    margin-top: 4px;
    opacity: 1;
    transition: color 0.2s, gap 0.2s;
}

.CatalogArchive__SectionCTA svg {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.CatalogArchive__SectionCTA:hover {
    color: var(--vrx-color-nav-hover, var(--global-palette1, #000d5a));
    gap: 8px;
}

.CatalogArchive__SectionCTA:hover svg {
    transform: translateX(3px);
}

@media screen and (max-width: 1024px) {
    .CatalogArchive__FilterSectionTitle {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 767px) {
    .CatalogArchive__FilterSectionTitle {
        font-size: 1.5rem;
    }
}

.CatalogArchive__FiltersInner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.CatalogArchive__FilterGroup.Toggle {
    margin: 0.5rem 0 1.5rem;
}

.CatalogArchive__FilterGroup.Toggle .CatalogArchive__ToggleWrap {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 24px;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.CatalogArchive__FilterGroup.Toggle .CatalogArchive__ToggleLabel {
    display: inline-flex;
    align-items: center;
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.1rem;
    margin: 0;
    padding: 0;
    white-space: normal;
    word-break: break-word;
    cursor: pointer;
}

.CatalogArchive__FilterGroup.Toggle .CatalogArchive__ToggleControl {
    position: relative;
    order: 1;
    flex: 0 0 44px;
    width: 44px;
    height: 22px;
}

.CatalogArchive__FilterGroup.Toggle .CatalogArchive__FilterInput {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.CatalogArchive__FilterGroup.Toggle .CatalogArchive__ToggleControl > label {
    position: absolute;
    inset: 0;
    padding-left: 0 !important;
    font-size: 0 !important;
    line-height: 22px;
    display: block;
    background: #d5d5d5;
    border-radius: 999px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.CatalogArchive__FilterGroup.Toggle .CatalogArchive__ToggleControl > label::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.CatalogArchive__FilterGroup.Toggle .CatalogArchive__FilterInput:checked + label {
    background: var(--vrx-color-brand, var(--global-palette1, #283583));
}

.CatalogArchive__FilterGroup.Toggle .CatalogArchive__FilterInput:checked + label::after {
    transform: translateX(22px);
}

.CatalogArchive__FilterGroup.Accordion {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #d9d9d9;
}

.CatalogArchive__FiltersInner > .CatalogArchive__FilterGroup.Accordion:last-child {
    margin-bottom: 0;
}

.CatalogArchive .Accordion__Header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    font-family: var(--global-body-font-family, Inter, sans-serif);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.CatalogArchive .Accordion__Header:hover,
.CatalogArchive .Accordion__Header:focus,
.CatalogArchive .Accordion__Header:active,
.CatalogArchive .Accordion__Header:focus-visible {
    color: inherit;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    outline: none;
}

.CatalogArchive .Accordion__Header .CatalogArchive__Chevron {
    flex-shrink: 0;
    margin-left: auto;
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 0.3s ease;
}

.CatalogArchive .Accordion__Header[aria-expanded="false"] .CatalogArchive__Chevron {
    transform: rotate(180deg);
}

.CatalogArchive .Accordion__Header.CatalogArchive__FilterSectionTitle {
    font-family: var(--global-heading-font-family, var(--global-body-font-family, Inter, sans-serif));
    font-size: 2rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.CatalogArchive .Accordion__Header.CatalogArchive__FilterSectionTitle:first-child {
    margin-top: 0;
}

@media screen and (max-width: 1024px) {
    .CatalogArchive .Accordion__Header.CatalogArchive__FilterSectionTitle {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 767px) {
    .CatalogArchive .Accordion__Header.CatalogArchive__FilterSectionTitle {
        font-size: 1.5rem;
    }
}

.CatalogArchive__AccordionTitle {
    flex: 1;
    min-width: 0;
}

.CatalogArchive__AccordionContent {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.CatalogArchive__AccordionContent.is-open {
    max-height: none;
}

.CatalogArchive__AccordionContent .CatalogArchive__Checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.CatalogArchive__AccordionContent .CatalogArchive__Checkbox input {
    accent-color: var(--global-palette1, #1A73E8);
    margin-top: 0.2rem;
}

.Form--HideLabel .CatalogArchive__Checkbox span {
    font-family: var(--global-body-font-family, Inter, sans-serif);
    font-size: 0.875rem;
    line-height: 1.4;
}

.CatalogArchive__Results {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.CatalogArchive__ResultsToolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.CatalogArchive__ResultsFooter {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
    .CatalogArchive__ResultsToolbar,
    .CatalogArchive__ResultsFooter {
        grid-template-columns: 1fr;
    }

    .CatalogArchive__ResultsToolbarCol--pagination,
    .CatalogArchive__ResultsFooter .CatalogArchive__ResultsToolbarCol--pagination {
        justify-self: center;
    }
}

.CatalogArchive__Count {
    margin: 0;
    font-family: var(--global-body-font-family, Inter, sans-serif);
    font-size: 14px;
    line-height: 18px;
    color: #707070;
}

.CatalogArchive__Reset {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #707070;
    font-family: var(--global-body-font-family, Inter, sans-serif);
    font-size: 14px;
    cursor: pointer;
}

.CatalogArchive__Reset:hover,
.CatalogArchive__Reset:focus,
.CatalogArchive__Reset:active {
    color: var(--global-palette1, #1A73E8);
    background: transparent !important;
    box-shadow: none !important;
}

.CatalogArchive .CatalogArchive__PaginationWrap .nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.CatalogArchive .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.35rem;
    color: #707070;
    text-decoration: none;
    font-family: var(--global-body-font-family, Inter, sans-serif);
    font-size: 14px;
    border-radius: 3px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.CatalogArchive .nav-links a.page-numbers:hover,
.CatalogArchive .nav-links a.page-numbers:focus,
.CatalogArchive .nav-links .page-numbers.current,
.CatalogArchive .nav-links .page-numbers.current:hover,
.CatalogArchive .nav-links .page-numbers.current:focus {
    color: #fff;
    background-color: var(--global-palette1, #1A73E8);
}

.CatalogArchive .nav-links .page-numbers.is-disabled,
.CatalogArchive .nav-links .page-numbers.dots {
    pointer-events: none;
}

.CatalogArchive .nav-links .page-numbers.is-disabled {
    opacity: 0.3;
}

.CatalogArchive__Grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.5rem;
}

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

@media screen and (max-width: 767px) {
    .CatalogArchive__Grid {
        grid-template-columns: 1fr;
    }
}

.CatalogArchive__GridItem {
    display: flex;
    min-width: 0;
}

.CatalogArchive__Card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #f8f8f8;
    border-radius: 0 0 6px 6px;
}

.CatalogArchive__Card .ProductCard__LinkOverlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.CatalogArchive__Card .ProductCard__ImageWrapper {
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    aspect-ratio: 4 / 3;
    position: relative;
    background: #fff;
}

.CatalogArchive__Card .ProductCard__Tags {
    position: absolute;
    top: 1.3rem;
    left: 1rem;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: calc(100% - 2rem);
}

.CatalogArchive__Card .ProductCard__Tags a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    background-color: #eef0ff;
    border-radius: 100px;
    color: var(--vrx-color-nav-hover, var(--global-palette2, #000d5a));
    font-family: var(--global-body-font-family, Inter, sans-serif);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.CatalogArchive__Card .ProductCard__Tags a:hover,
.CatalogArchive__Card .ProductCard__Tags a:focus-visible {
    background-color: var(--vrx-color-brand, var(--global-palette3, #283583));
    color: #fff;
}

.CatalogArchive__Card .ProductCard__Image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.CatalogArchive__Card .ProductCard__Info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    border-radius: 0 0 6px 6px;
    min-height: 150px;
}

.CatalogArchive__Card .ProductCard__Header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
    margin-bottom: 0;
    padding: 1rem;
}

.CatalogArchive__Card .ProductCard__TextGroup {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.CatalogArchive__Card .ProductCard__Title {
    color: var(--global-palette4, #2D3748);
    margin: 0 0 5px;
    line-height: normal;
}

.CatalogArchive__Card .ProductCard__Excerpt {
    margin: 0;
    color: #707070;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
}

.CatalogArchive__Card .ProductCard__Arrow {
    display: inline-flex;
    flex: 0 0 auto;
    color: var(--global-palette4, #2D3748);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.CatalogArchive__Card .ProductCard__Arrow:focus {
    outline: 2px solid var(--global-palette4, #2D3748);
    outline-offset: 3px;
    opacity: 1;
    transform: translateX(0);
}

@media screen and (min-width: 1025px) {
    .CatalogArchive__GridItem .ProductCard__Arrow {
        opacity: 0;
        transform: translateX(-10px);
    }

    .CatalogArchive__GridItem:hover .ProductCard__Arrow,
    .CatalogArchive__GridItem:focus-within .ProductCard__Arrow {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (max-width: 1024px) {
    .CatalogArchive__Card .ProductCard__Arrow {
        opacity: 1;
        transform: translateX(0);
    }
}

.CatalogArchive__Card.ProductCard--Inactive {
    opacity: 0.6;
}

.CatalogArchive__Card .ProductCard__LinkOverlay--Disabled {
    cursor: default;
}

.CatalogArchive__NoResults {
    text-align: center;
    color: #707070;
    font-family: var(--global-body-font-family, Inter, sans-serif);
    font-size: 14px;
    padding: 2rem 0;
}

.CatalogArchive.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

/* Header section for tipologia taxonomy archive pages (divani, poltrone, accessori) */
.TaxonomyCatalogHeader {
    background: #fff;
    padding: 24px 0 20px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 0;
}

.TaxonomyCatalogHeader__Inner {
    /* .has-sidebar .content-container (Kadence, min-width:1025px) forces a 2-col sidebar grid here; !important needed to beat its 2-class specificity */
    display: block !important;
    max-width: var(--global-content-width, 1290px);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--global-content-edge-padding, 20px);
    padding-right: var(--global-content-edge-padding, 20px);
}

.TaxonomyCatalogHeader__BreadcrumbList {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    gap: 0;
}

.TaxonomyCatalogHeader__BreadcrumbItem {
    display: flex;
    align-items: center;
    font-family: var(--global-body-font-family, Inter, sans-serif);
    font-size: 13px;
    color: var(--global-palette5, #4A5568);
}

.TaxonomyCatalogHeader__BreadcrumbItem + .TaxonomyCatalogHeader__BreadcrumbItem::before {
    content: "›";
    margin: 0 6px;
    color: var(--global-palette6, #718096);
    font-size: 14px;
    line-height: 1;
}

.TaxonomyCatalogHeader__BreadcrumbItem a {
    color: var(--global-palette5, #4A5568);
    text-decoration: none;
    transition: color 0.2s;
}

.TaxonomyCatalogHeader__BreadcrumbItem a:hover {
    color: var(--global-palette1, #2B6CB0);
    text-decoration: underline;
}

.TaxonomyCatalogHeader__BreadcrumbItem--current {
    color: var(--global-palette3, #1A202C);
    font-weight: 500;
}

.TaxonomyCatalogHeader__Title {
    font-family: var(--global-body-font-family, Inter, sans-serif) !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    font-style: normal !important;
    color: var(--global-palette3, #1A202C) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
