/* Local cleanup layer for server-rendered Wonder secondary pages. */

.collection__aside,
.collection__filter-trigger,
.collection__mobile-layout-switch,
.wt-filter,
.wt-options.collection__sort,
.facets,
.search-result-top,
.predictive-search-status__text,
.wt-product__information-popup,
.wt-product__modal,
.price__badge-sold-out,
.cart-notification,
.wt-localization-drawer,
.shopify-section-group-header-group.wt-logo-banner {
  display: none !important;
}

.wt-product__add-to-cart_form--wrapper {
  display: grid;
  gap: 12px;
}

.wt-product__add-to-cart_form--wrapper .wt-button {
  text-align: center;
}

.wt-footer__big-logo img,
.wt-header__logo__img,
.wt-header__logo__img--transparent {
  object-fit: contain;
}

.wt-footer__text ul,
.rte ul {
  padding-left: 1.2rem;
}

.wt-product__option__body input {
  display: none !important;
}

.wt-product__option__body label {
  cursor: default;
}

.wt-page-nav-mega__sublist__wrapper {
  display: block;
}

gallery-section.loading #gallery-loader,
gallery-section.loaded #gallery-loader,
gallery-section.gallery-ready #gallery-loader,
gallery-section.loading .wt-product__gallery__loader,
gallery-section.loaded .wt-product__gallery__loader,
gallery-section.gallery-ready .wt-product__gallery__loader {
  display: none !important;
}

gallery-section.gallery-ready {
  opacity: 1 !important;
  min-height: 0 !important;
}

gallery-section.gallery-ready .photoswipe,
gallery-section.gallery-ready [data-gallery],
gallery-section.gallery-ready [data-thumbs],
gallery-section.gallery-ready .swiper-wrapper--masonry,
gallery-section.gallery-ready .thumbs-list,
gallery-section.gallery-ready [data-swiper-slide] {
  visibility: visible !important;
  opacity: 1 !important;
}

gallery-section.gallery-ready .wt-product__img {
  display: block !important;
  opacity: 1 !important;
}

.eternal-stat-title--compact {
  font-size: clamp(3.6rem, 4.6vw, 7.2rem) !important;
  line-height: 0.92 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 899px) {
  .eternal-stat-title--compact {
    font-size: clamp(2.8rem, 10vw, 4.8rem) !important;
    line-height: 0.95 !important;
  }
}
