/* Debugger fixes — static mirror: show CDN images, hide dead Shopify filters */

/* FontAwesome — broken local font files in crawled plugins.css */
@font-face {
  font-family: 'FontAwesome';
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/fonts/fontawesome-webfont.woff?v=4.6.3') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.fa:before,
.fa {
  font-family: FontAwesome !important;
}

/* --- collection tag filter checkboxes / mobile selects --- */
.collection-sidebar-filter,
.filter.collection-sidebar-filter,
select#tags,
select.coll-filter.collection-sidebar-filter-select {
  display: none !important;
}

/* sidebar = title only; product grid full width */
.collection-sidebar-wrapper {
  width: 100% !important;
  float: none !important;
}
.collection-sidebar-wrapper .collection-sidebar-filter,
.collection-sidebar-wrapper select#tags {
  display: none !important;
}
.collection-main-body,
.grid__item.collection-main-body,
.grid__item.large--three-quarters {
  width: 100% !important;
  float: none !important;
}

/* --- lazyload / lazysizes without JS --- */
img.lazyload,
img.lazyloading,
.lazyload[data-blur="true"],
.supports-js img.lazyload {
  opacity: 1 !important;
  display: block !important;
  filter: none !important;
  visibility: visible !important;
}

.lazy-image {
  display: block !important;
  position: relative !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.lazyload-wrapper,
.lazyload-blur-wrapper {
  min-height: 0 !important;
  height: auto !important;
}

.lazyload-wrapper img,
.grid-view-item-image img {
  opacity: 1 !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
}

.grid-view-item-image {
  min-height: 0 !important;
}

.box--product-image.gallery-item {
  display: block !important;
  background-size: cover !important;
  background-position: center !important;
  min-height: 280px !important;
}

/* broken upsell widget on product pages */
.related-products,
input[type="checkbox"][data-id=""] {
  display: none !important;
}

/* noscript lazyload fallbacks made visible by fix script */
.ll-fallback.vintalogy-visible,
.site-box-background .ll-fallback.vintalogy-visible,
.box--product-image .ll-fallback.vintalogy-visible {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 280px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.box--product-image.primary,
.box--product-image.secondary {
  min-height: 280px !important;
  position: relative !important;
}

img.vintalogy-visible {
  opacity: 1 !important;
  display: block !important;
  visibility: visible !important;
  max-width: 100% !important;
  height: auto !important;
}

.product-single__media__thumbnail img.vintalogy-visible,
.product-single__medias img.vintalogy-visible {
  max-width: 100% !important;
  height: auto !important;
}

/* product pages: hide empty shopify media shell when hero injected */
.product-single:has(.product-hero-image) .product-images-container {
  display: none !important;
}
.product-single:has(.product-hero-image) .grid__item.large--five-twelfths {
  width: 100% !important;
  float: none !important;
}
.product-hero-image img {
  opacity: 1 !important;
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}

/* homepage gallery banners — full width within section */
.flow-homepage .image-gallery-wrapper .homepage-sections-wrapper.no-spacing {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.flow-homepage .image-gallery-wrapper .homepage-gallery-background,
.flow-homepage .image-gallery-wrapper .gallery-grid,
.flow-homepage .image-gallery-wrapper .homepage-gallery-grid-item,
.flow-homepage .image-gallery-wrapper .homepage-gallery-grid-inner,
.flow-homepage .image-gallery-wrapper .overflow,
.flow-homepage .image-gallery-wrapper .grid-image {
  width: 100% !important;
  max-width: 100% !important;
}

.flow-homepage .image-gallery-wrapper .lazyload-wrapper {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  position: relative !important;
  left: 0 !important;
  transform: none !important;
}

.flow-homepage .image-gallery-wrapper .homepage-gallery-grid-inner .grid-image img,
.flow-homepage .image-gallery-wrapper .lazyload-wrapper img.vintalogy-visible {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  position: relative !important;
  left: 0 !important;
  top: 0 !important;
  transform: none !important;
  margin: 0 !important;
}

.flow-homepage .image-gallery-wrapper .lazyload-wrapper img.vintalogy-visible + img {
  display: none !important;
}

/* homepage hero — collapse empty space under banner image */
#shopify-section-1652198066f5107097 .homepage-sections-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}

#shopify-section-1652198066f5107097 .homepage-gallery-background,
#shopify-section-1652198066f5107097 .gallery-grid,
#shopify-section-1652198066f5107097 .homepage-gallery-grid-item,
#shopify-section-1652198066f5107097 .homepage-gallery-grid-inner,
#shopify-section-1652198066f5107097 .overflow,
#shopify-section-1652198066f5107097 .grid-image,
#shopify-section-1652198066f5107097 .lazyload-wrapper {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  line-height: 0 !important;
}

#shopify-section-1652198066f5107097 .homepage-gallery-grid-inner .kb-enabled {
  transform: none !important;
}

/* empty homepage blocks after hero (no content in static mirror) */
#shopify-section-16632666275d659103,
#shopify-section-1653572810b9c1a158 {
  display: none !important;
}

/* featured products strip — trim vertical padding / gap after section */
#shopify-section-1652192306531bf6cc .homepage-sections-wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#shopify-section-1652192306531bf6cc + .shopify-section .homepage-sections-wrapper {
  padding-top: 0 !important;
}

/* duplicate lazyload img next to vintalogy-visible (catalog + homepage grids) */
.lazyload-wrapper img.vintalogy-visible + img {
  display: none !important;
}
