/* Shared section, category and product-level subcategory pages. */
.ae-category-page {
    --ae-section-blue: #20a3dc;
    --ae-section-border: #bfc5c9;
    background: #fff;
    color: #111;
    padding: 12px 0 46px;
}

.ae-category-page *,
.ae-category-page *::before,
.ae-category-page *::after {
    box-sizing: border-box;
}

.ae-category-breadcrumb {
    color: #111;
    font-size: 11px;
    line-height: 1;
    margin: 0 0 34px;
}

.ae-category-breadcrumb .row {
    margin: 0;
}

.ae-category-breadcrumb .ae-breadcrumb,
.ae-category-breadcrumb .breadcrumb-arrows {
    font-size: 11px;
    margin: 0;
    padding: 0;
}

.ae-category-breadcrumb a {
    color: #111 !important;
    text-decoration: none !important;
}

.ae-category-layout {
    display: grid;
    grid-template-columns: minmax(0, 67.25%) minmax(0, 32.75%);
}

.ae-category-layout--without-filters {
    display: block;
}

.ae-category-layout--without-filters .ae-category-main {
    padding-right: 0;
}

.ae-category-main {
    min-width: 0;
    padding: 0 46px 0 0;
}

.ae-category-intro {
    margin: 0 0 44px;
}

.ae-category-page h1 {
    color: var(--ae-section-blue);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.ae-category-description {
    color: #111;
    max-width: none;
}

.ae-category-description > :last-child {
    margin-bottom: 0 !important;
}

.ae-category-description img {
    height: auto;
    max-width: 100%;
}

.ae-category-page--subcategory .ae-category-main {
    padding-right: 18px;
}

.ae-category-page--subcategory .ae-category-intro {
    margin-bottom: 22px;
}

.ae-product-listing-description.is-collapsed {
    max-height: var(--ae-description-collapsed-height, 3.3em);
    overflow: hidden;
}

.ae-description-toggle {
    background: transparent;
    border: 0;
    color: var(--ae-section-blue);
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    margin: 14px 0 0 auto;
    padding: 0;
    text-transform: uppercase;
}

.ae-description-toggle[hidden] {
    display: none;
}

.ae-description-toggle:hover,
.ae-description-toggle:focus-visible {
    color: #007fba;
    text-decoration: underline;
}

.ae-description-toggle span {
    font-size: 19px;
    line-height: .75;
}

.ae-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 18px;
}

.ae-active-filter {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ae-section-blue);
    color: var(--ae-section-blue) !important;
    display: inline-flex;
    font-size: 11px;
    line-height: 1;
    padding: 5px 6px;
    text-decoration: none !important;
}

.ae-active-filter span {
    font-size: 14px;
    line-height: .7;
    margin-left: 4px;
}

.ae-active-filter:hover,
.ae-active-filter:focus-visible {
    background: var(--ae-section-blue);
    color: #fff !important;
}

.ae-subcategory-grid {
    display: grid;
    column-gap: 19px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 40px;
}

.ae-subcategory-card {
    color: #000 !important;
    display: block;
    min-width: 0;
    text-align: center;
    text-decoration: none !important;
}

.ae-subcategory-image {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-bottom: 8px solid var(--ae-section-blue);
    display: flex;
    height: auto;
    justify-content: center;
    margin-bottom: 8px;
    outline: 1px solid transparent;
    outline-offset: -1px;
    overflow: hidden;
    transition: outline-color .18s ease;
}

.ae-subcategory-card:hover .ae-subcategory-image,
.ae-subcategory-card:focus-visible .ae-subcategory-image {
    outline-color: var(--ae-section-blue);
}

.ae-subcategory-image img {
    height: 100% !important;
    object-fit: contain !important;
    padding: 10px !important;
    width: 100% !important;
}

.ae-subcategory-image > i {
    color: #9eb6c1;
    font-size: 27px;
}

.ae-subcategory-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    transition: color .15s ease;
}

.ae-product-sort-bar {
    align-items: center;
    border-bottom: 1px solid var(--ae-section-border);
    display: flex;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0 0 12px;
}

.ae-product-sort-bar label {
    color: var(--ae-section-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

.ae-product-sort-bar select {
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 3px center;
    border: 0;
    color: #111;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    line-height: 1;
    padding: 2px 20px 2px 0;
}

.ae-product-sort-bar select:focus-visible {
    outline: 2px solid var(--ae-section-blue);
    outline-offset: 3px;
}

.ae-product-sort-bar .ae-product-sort-select {
    margin-right: 0;
}

.ae-product-sort-bar .choices__inner {
    border-bottom: 0 !important;
}

.ae-product-sort-bar .choices__list--single .choices__item {
    color: #111 !important;
    font-weight: 700 !important;
}

.ae-product-grid {
    display: grid;
    gap: 42px 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ae-subcategory-product-card {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
}

.ae-subcategory-product-image {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-bottom: 8px solid var(--ae-section-blue);
    display: flex;
    height: auto;
    justify-content: center;
    margin: 0 0 8px;
    outline: 2px solid transparent;
    outline-offset: -2px;
    overflow: hidden;
    transition: outline-color .18s ease;
}

.ae-subcategory-product-image img {
    height: 100% !important;
    object-fit: contain !important;
    padding: 10px !important;
    width: 100% !important;
}

.ae-subcategory-product-image > i {
    color: #9eb6c1;
    font-size: 26px;
}

.ae-subcategory-product-card:hover .ae-subcategory-product-image,
.ae-subcategory-product-card:focus-within .ae-subcategory-product-image {
    outline-color: var(--ae-section-blue);
}

.ae-subcategory-product-card .ae-section-product-brand {
    color: #7a7a7a;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.2;
    margin: .65rem 0 .25rem;
}

.ae-subcategory-product-card .ae-section-product-title {
    display: -webkit-box;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0;
    min-height: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ae-subcategory-product-card .ae-section-product-description {
    color: #4a4a4a;
    font-size: 1rem;
    height: calc(1.4em * 3);
    line-height: 1.4;
    margin: 8px 0 12px;
    min-height: 0;
}

.ae-subcategory-product-price {
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    font-weight: 700;
    gap: 1px 5px;
    line-height: 1.2;
    margin-top: auto;
    padding-top: 7px;
}

.ae-subcategory-product-price > span {
    display: flex;
    flex: 1 1 100%;
    justify-content: space-between;
}

.ae-subcategory-product-price strong {
    color: #111;
}

.ae-subcategory-product-current-price {
    color: var(--ae-section-blue) !important;
    font-size: 13px;
}

.ae-subcategory-product-price small {
    flex: 1 1 100%;
    font-size: 8px;
    font-weight: 400;
}

.ae-subcategory-public-price {
    align-items: end;
    column-gap: 8px;
    display: grid;
    font-size: 11px;
    grid-template-areas:
        "label label"
        "vat value";
    grid-template-columns: minmax(0, 1fr) auto;
    line-height: 1.25;
    width: 100%;
}

.ae-subcategory-public-price-label {
    grid-area: label;
    white-space: nowrap;
}

.ae-subcategory-public-price-vat {
    flex: 0 0 auto;
    font-size: 9px;
    grid-area: vat;
    line-height: 1.2;
}

.ae-subcategory-public-price-value {
    flex: 0 0 auto;
    font-size: 14px;
    grid-area: value;
    line-height: 1;
    white-space: nowrap;
}

.ae-subcategory-market-price {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    line-height: 1.25;
    width: 100%;
}

.ae-subcategory-market-price-row {
    align-items: baseline;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    min-width: 0;
    width: 100%;
}

.ae-subcategory-market-price-label,
.ae-subcategory-market-discount-label,
.ae-subcategory-market-best-price-label {
    white-space: nowrap;
}

.ae-subcategory-market-public-price {
    color: #111;
    font-weight: 700;
    text-decoration-line: line-through;
    text-decoration-thickness: 1px;
    white-space: nowrap;
}

.ae-subcategory-market-public-price--current {
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

.ae-subcategory-market-discount-price {
    color: #111;
    font-weight: 700;
    text-decoration-line: line-through;
    text-decoration-thickness: 1px;
    white-space: nowrap;
}

.ae-subcategory-market-price-vat {
    font-size: 9px;
    line-height: 1.2;
}

.ae-subcategory-market-price-row--value-only {
    justify-content: flex-end;
}

.ae-subcategory-product-price .ae-subcategory-market-best-price-label {
    color: var(--ae-section-blue);
}

.ae-subcategory-market-price-value {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.ae-product-load-more {
    margin: 42px 0 0;
    text-align: center;
}

.ae-load-more-button {
    align-items: center;
    background: var(--ae-section-blue);
    border-radius: 22px;
    color: #fff !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    min-height: 32px;
    min-width: 142px;
    padding: 8px 24px;
    text-decoration: none !important;
}

.ae-load-more-button:hover,
.ae-load-more-button:focus-visible {
    background: #007fba;
}

.ae-product-empty {
    font-size: 15px;
    margin: 0;
    padding: 0 0 28px;
}

.ae-subcategory-card:hover .ae-subcategory-name,
.ae-subcategory-card:focus-visible .ae-subcategory-name {
    color: var(--ae-section-blue);
}

.ae-category-sidebar {
    align-self: stretch;
    border-left: 1px solid var(--ae-section-border);
    min-width: 0;
    padding: 16px 0 0 20px;
}

@media (min-width: 992px) {
    .ae-category-page--subcategory .ae-category-sidebar {
        align-self: start;
    }
}

.ae-category-sidebar > .col-12 {
    padding: 0;
}

.ae-category-sidebar h3,
.ae-category-sidebar h4 {
    color: var(--ae-section-blue) !important;
    font-family: inherit;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 12px !important;
    text-transform: uppercase;
}

/* Italian filter markup uses .brand divs; other locales use ul.list. */
.ae-category-sidebar .brand {
    display: inline-block;
    font-size: 0;
    margin: 0 4px 5px 0;
}

.ae-category-sidebar .list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ae-category-sidebar .list li {
    margin: 0;
    padding: 0;
}

.ae-category-sidebar .ae-brand-option.is-overflow-hidden {
    display: none;
}

.ae-brand-more-item {
    align-items: center;
    display: none;
}

.ae-brand-more-item.is-visible {
    display: flex;
}

.ae-brand-more {
    background: transparent;
    border: 0;
    color: var(--ae-section-blue);
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 20px;
    margin: 0;
    padding: 0 3px;
    vertical-align: middle;
}

.ae-brand-more[hidden] {
    display: none;
}

.ae-brand-more:hover,
.ae-brand-more:focus-visible {
    color: #007fba;
}

.ae-category-sidebar .brand a,
.ae-category-sidebar .list a,
.ae-category-page .ae-filter-choice {
    background: #fff;
    border: 1px solid #111;
    border-radius: 0;
    color: #111 !important;
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    padding: 4px 5px;
    text-decoration: none !important;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.ae-category-sidebar .brand a:hover,
.ae-category-sidebar .brand a:focus-visible,
.ae-category-sidebar .brand a.is-active,
.ae-category-sidebar .list a:hover,
.ae-category-sidebar .list a:focus-visible,
.ae-category-sidebar .list a.is-active,
.ae-category-page .ae-filter-choice:hover,
.ae-category-page .ae-filter-choice:focus-visible,
.ae-category-page .ae-filter-choice.is-active {
    background: #fff;
    border-color: var(--ae-section-blue);
    color: var(--ae-section-blue) !important;
}

.ae-filter-remove {
    font-size: 13px;
    line-height: .7;
    margin-left: 3px;
}

.ae-category-page .ae-category-filter-group {
    margin-top: 26px;
}

.ae-category-page .ae-filter-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 4px;
}

.ae-category-page .ae-price-filter {
    margin: 0;
}

.ae-category-page .ae-price-range {
    height: 20px;
    margin: 0 4px 2px;
    position: relative;
}

.ae-category-page .ae-price-range-track {
    background: var(--ae-section-blue);
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 8px;
}

.ae-category-page .ae-price-range-input {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 20px;
    left: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
}

.ae-category-page .ae-price-range-input::-webkit-slider-runnable-track {
    background: transparent;
    border: 0;
    height: 4px;
}

.ae-category-page .ae-price-range-input::-moz-range-track {
    background: transparent;
    border: 0;
    height: 4px;
}

.ae-category-page .ae-price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: var(--ae-section-blue);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 16px;
    margin-top: -6px;
    pointer-events: auto;
    width: 16px;
}

.ae-category-page .ae-price-range-input::-moz-range-thumb {
    background: var(--ae-section-blue);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 16px;
    pointer-events: auto;
    width: 16px;
}

.ae-category-page .ae-price-filter.is-equal .ae-price-range-input--from::-webkit-slider-thumb {
    transform: translateX(-5px);
}

.ae-category-page .ae-price-filter.is-equal .ae-price-range-input--to::-webkit-slider-thumb {
    transform: translateX(5px);
}

.ae-category-page .ae-price-filter.is-equal .ae-price-range-input--from::-moz-range-thumb {
    transform: translateX(-5px);
}

.ae-category-page .ae-price-filter.is-equal .ae-price-range-input--to::-moz-range-thumb {
    transform: translateX(5px);
}

.ae-category-page .ae-price-range-input::-moz-range-progress {
    background: transparent;
    border: 0;
    height: 4px;
}

.ae-category-page .ae-price-range-input:focus-visible::-webkit-slider-thumb {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.ae-category-page .ae-price-range-input:focus-visible::-moz-range-thumb {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.ae-category-page .ae-price-range-values {
    color: #111;
    font-size: 12px;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

.ae-category-page .ae-visually-hidden {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}

.ae-filter-toggle {
    display: none;
}

.ae-section-products {
    margin-top: 48px;
    padding-top: 0;
}

.ae-section-products.ae-top-products {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

.ae-top-products > .container {
    padding-left: 0;
}

.ae-section-products h2 {
    color: #111;
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 42px;
    text-align: center;
    text-transform: uppercase;
}

.ae-section-products .owl-carousel {
    margin: 0;
}

.ae-section-products .owl-stage {
    display: flex;
}

.ae-section-products .owl-item {
    align-self: stretch;
}

.ae-section-product-card {
    float: none;
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
}

.ae-section-product-image {
    align-items: center;
    background: #fff;
    display: flex;
    height: 180px;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
    width: 100%;
}

.ae-section-product-image img {
    height: 100% !important;
    object-fit: contain !important;
    width: 100% !important;
}

.ae-section-product-brand {
    color: #7a7a7a;
    font-size: .95rem;
    line-height: 1.2;
    margin: .65rem 0 .25rem !important;
}

.ae-section-product-title {
    color: var(--ae-section-blue) !important;
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    text-decoration: none !important;
}

.ae-section-product-title:hover,
.ae-section-product-title:focus-visible {
    text-decoration: underline !important;
}

.ae-section-product-description {
    color: #4a4a4a;
    display: -webkit-box;
    font-size: 1rem;
    line-height: 1.4;
    margin: 8px 0 12px;
    max-height: calc(1.4em * 3);
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ae-top-products .owl-nav {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.ae-top-products .owl-nav.disabled {
    display: none !important;
}

.ae-top-products .owl-prev,
.ae-top-products .owl-next {
    align-items: center;
    background: none !important;
    border: 0 !important;
    cursor: pointer;
    display: flex !important;
    height: 40px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    z-index: 10;
}

.ae-top-products .owl-prev {
    left: -60px;
}

.ae-top-products .owl-next {
    right: -60px;
}

.ae-top-products .owl-prev span,
.ae-top-products .owl-next span {
    display: none;
}

.ae-top-products .owl-prev::before,
.ae-top-products .owl-next::before {
    color: var(--ae-section-blue);
    font-family: "Font Awesome 5 Free";
    font-size: 50px;
    font-weight: 900;
    line-height: 1;
}

.ae-top-products .owl-prev::before {
    content: "\f104";
}

.ae-top-products .owl-next::before {
    content: "\f105";
}

.ae-top-products .owl-prev:hover::before,
.ae-top-products .owl-next:hover::before {
    color: #0080c0;
}

@media (max-width: 768px) {
    .ae-top-products .owl-nav {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .ae-filter-toggle {
        align-items: center;
        background: #111;
        border: 0;
        color: #fff;
        display: flex;
        gap: 7px;
        margin: 0 0 12px auto;
        padding: 9px 13px;
    }

    .ae-category-page--section .ae-category-layout {
        display: block;
    }

    .ae-category-page--category .ae-category-layout,
    .ae-category-page--subcategory .ae-category-layout {
        display: flex;
        flex-direction: column;
    }

    .ae-category-main {
        padding: 0;
    }

    .ae-category-page--category .ae-category-main,
    .ae-category-page--subcategory .ae-category-main {
        order: 1;
    }

    .ae-category-page--subcategory .ae-category-main {
        padding-right: 0;
    }

    .ae-category-sidebar {
        border-left: 0;
        border-top: 1px solid var(--ae-section-border);
        display: none;
        margin-top: 28px;
        padding: 22px 0 0;
    }

    .ae-category-page--category .ae-category-sidebar,
    .ae-category-page--subcategory .ae-category-sidebar {
        margin: 0 0 28px;
        order: 0;
    }

    .ae-category-sidebar.is-open {
        display: block;
    }

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

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

@media (max-width: 640px) {
    .ae-category-page {
        padding-top: 10px;
    }

    .ae-category-page h1 {
        font-size: 27px;
    }

    .ae-subcategory-grid {
        gap: 22px 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ae-product-grid {
        gap: 28px 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ae-product-sort-bar {
        flex-wrap: wrap;
    }

    .ae-product-sort-bar select {
        max-width: 100%;
        min-width: 0;
    }

    .ae-subcategory-image {
        aspect-ratio: 1 / 1;
    }

    .ae-section-products h2 {
        font-size: 21px;
    }

    .ae-section-product-image {
        height: 135px;
    }
}
