/* Isolani brand UX fixes - 2026-06-30
   Small cache-busted layer for brand/manufacturer pages. */
/* Center the first visual brand banners without changing editorial text or product grids. */
body.page-manufacturer.normal-shop #inner-wrapper > .rte-content > .elementor > .elementor-section.elementor-section-full_width:nth-of-type(-n+2) {
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-manufacturer.normal-shop #inner-wrapper > .rte-content > .elementor > .elementor-section.elementor-section-full_width:nth-of-type(-n+2) .elementor-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-manufacturer.normal-shop #inner-wrapper > .rte-content > .elementor > .elementor-section.elementor-section-full_width:nth-of-type(-n+2) .elementor-image {
  text-align: center;
}

body.page-manufacturer.normal-shop #inner-wrapper > .rte-content > .elementor > .elementor-section.elementor-section-full_width:nth-of-type(-n+2) .elementor-image img[src*="/img/cms/brand/"] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

body.page-manufacturer.shop-boutique #inner-wrapper > .rte-content > .elementor > .elementor-section.elementor-section-full_width.container_images_chanel {
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-manufacturer.shop-boutique #inner-wrapper > .rte-content > .elementor > .elementor-section.elementor-section-full_width.container_images_chanel .elementor-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-manufacturer.shop-boutique #inner-wrapper > .rte-content > .elementor > .elementor-section.elementor-section-full_width.container_images_chanel .elementor-image {
  text-align: center;
}

body.page-manufacturer.shop-boutique #inner-wrapper > .rte-content > .elementor > .elementor-section.elementor-section-full_width.container_images_chanel .elementor-image img[src*="/boutique/img/cms/brand/"] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  @supports selector(html:has(body.page-manufacturer)) {
    html:has(body.page-manufacturer) {
      overflow-x: hidden !important;
    }
  }

  body.page-manufacturer.isolani-brand-filter-in-toolbar {
    overflow-x: hidden !important;
  }

  body.page-manufacturer.isolani-brand-filter-in-toolbar #amazzing_filter:not(.show_filters) {
    display: none !important;
  }

  body.page-manufacturer.isolani-brand-filter-in-toolbar #amazzing_filter.show_filters {
    display: block !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    align-items: center !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .view-switcher {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .isolani-brand-filter-slot {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .hos_sort_orders {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .products-sort-order,
  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .products-sort-order .select-title,
  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .isolani-brand-toolbar-filter {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .products-sort-order .select-title,
  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .isolani-brand-toolbar-filter {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    border-radius: 4px !important;
    font-size: .92rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-transform: none !important;
    white-space: nowrap !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .products-sort-order .select-title {
    gap: 8px !important;
    padding: 0 11px !important;
    background: #f6f7f8 !important;
    color: #1d1d1d !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .products-sort-order .select-title-name {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .isolani-brand-toolbar-filter {
    gap: 7px !important;
    padding: 0 10px !important;
    border: 1px solid #182233 !important;
    background: #182233 !important;
    color: #fff !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .isolani-brand-toolbar-filter .compact-toggle-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #js-product-list-top .isolani-brand-toolbar-filter .icon-filter::before {
    content: "\e902" !important;
    font-family: filterIcons !important;
    font-style: normal !important;
    font-weight: 400 !important;
  }

  body.page-manufacturer.normal-shop.isolani-brand-filter-in-toolbar #amazzing_filter.show_filters {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
    width: min(375px, 100vw) !important;
  }
}
