/* ONYX HARD — text enlargement 125–200%, toolbar placement 20261123.
   Load after theme.css, onyx-polish.css and onyx-a11y.css.
   Font sizes are measured and enlarged by the JS; do not cap them here.
   Page layout adaptations are inactive at the default 100% setting.
   The accessibility toolbar remains reachable at every text size. */

body.onyx-text-resized { --onyx-text-factor: 1.25; }
body.onyx-text-resized[data-onyx-text-scale="1.5"] { --onyx-text-factor: 1.5; }
body.onyx-text-resized[data-onyx-text-scale="1.75"] { --onyx-text-factor: 1.75; }
body.onyx-text-resized[data-onyx-text-scale="2"] { --onyx-text-factor: 2; }

/* Long words and flex/grid minimum sizes must not widen the document. */
body.onyx-text-resized :is(h1,h2,h3,h4,h5,h6,p,a,label,legend,dt,dd,th,td,button) {
  overflow-wrap: anywhere;
}
body.onyx-text-resized :is(.page-title-section,.page-header,.step__title,.onyx-product-title) {
  height: auto !important;
  min-width: 0;
  max-width: 100%;
}
body.onyx-text-resized :is(.btn,.accordion-button,.dropdown-item) {
  min-width: 0;
  max-width: 100%;
  height: auto;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.onyx-text-resized :is(.d-grid,.input-group,.form-group,.form-control,.form-select,fieldset) {
  min-width: 0;
  max-width: 100%;
}
body.onyx-text-resized .d-grid { grid-template-columns: minmax(0, 1fr); }
body.onyx-text-resized :is(.form-control,.form-select) { height: auto; line-height: 1.4 !important; }
body.onyx-text-resized :is(.input-group,.form-buttons,.buttons-wrapper) { flex-wrap: wrap; }

/* Cart / checkout: summary and product text get the available full width. */
body#cart.onyx-text-resized :is(.cart-grid__content,.cart-grid__aside),
body#checkout.onyx-text-resized :is(.checkout-grid__content,.checkout-grid__aside) {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
body.onyx-text-resized :is(.cart-grid__aside-wrapper,.checkout-grid__aside-wrapper) {
  position: static !important;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
body.onyx-text-resized :is(.cart-grid__aside,.checkout-grid__aside) { margin-top: 32px; }
body.onyx-text-resized .product-line { flex-wrap: wrap; align-items: flex-start; gap: 20px; }
body.onyx-text-resized .product-line__image { flex: 0 0 auto; max-width: 100%; }
body.onyx-text-resized .product-line__content {
  flex: 1 1 280px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
  gap: 20px;
}
body.onyx-text-resized :is(.product-line__content-left,.product-line__content-right,.product-line__item,.product-line__quantity-button,.product-line__actions) {
  min-width: 0;
  max-width: 100%;
}
body.onyx-text-resized :is(.product-line__title,.product-line__price,.product-line__item-price) {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4 !important;
}
body.onyx-text-resized .product-line__content-right { justify-self: start; text-align: start; }
body.onyx-text-resized .product-line__actions { grid-column: 1; justify-self: start; }
body.onyx-text-resized .quantity-button {
  width: auto;
  max-width: 100%;
  height: auto;
  flex-wrap: wrap;
}
body.onyx-text-resized .quantity-button :is(input,button) { height: auto; min-height: 44px; }
body.onyx-text-resized .quantity-button input { min-width: 3ch; max-width: 100%; }
body.onyx-text-resized .cart-summary__line { flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
body.onyx-text-resized .cart-summary__label { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
body.onyx-text-resized .cart-summary__value {
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.onyx-text-resized .cart-summary__actions .btn {
  width: 100%;
  min-width: 0;
  height: auto !important;
  white-space: normal !important;
  line-height: 1.4 !important;
  padding-block: 16px;
}
body.onyx-text-resized :is(.cart-summary-product,.cart-summary-product__content) { flex-wrap: wrap; min-width: 0; }
body.onyx-text-resized :is(.cart-summary-product__content-left,.cart-summary-product__prices) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
body.onyx-text-resized .cart-summary-product__prices { text-align: start; }
body.onyx-text-resized .cart-voucher__form { flex-wrap: wrap; min-width: 0; }
body.onyx-text-resized .cart-voucher__form > .form-control { flex: 1 1 14ch; min-width: 0; }
body.onyx-text-resized .cart-voucher__form > .btn { flex: 0 1 auto; max-width: 100%; }
body.onyx-text-resized .address__list { grid-template-columns: minmax(0, 1fr); }
body.onyx-text-resized .address-card__actions { flex-wrap: wrap; gap: 12px 24px; }
body.onyx-text-resized :is(.address-card,.address-card__address,.address-card__content) { min-width: 0; overflow-wrap: anywhere; }
body.onyx-text-resized :is(.delivery-option__left,.delivery-option__content,.delivery-option__price) {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.onyx-text-resized .delivery-option__carrier { min-width: 0; flex-wrap: wrap; }
body.onyx-text-resized .delivery-option__price { text-align: start; }
body.onyx-text-resized .checkout-steps__list { flex-wrap: wrap; gap: 20px; }
body.onyx-text-resized .checkout-steps__step { flex: 1 1 220px; min-width: 0; }
body.onyx-text-resized .checkout-steps__step::before,
body.onyx-text-resized .checkout-steps__step::after { display: none; }
body.onyx-text-resized .checkout-steps__number {
  width: 1.8em;
  height: auto;
  min-height: 1.8em;
  padding: .1em;
}
body.onyx-text-resized :is(.payment-option,.payment-options,.js-additional-information) { min-width: 0; overflow-wrap: anywhere; }
body.onyx-text-resized .payment-option dl { grid-template-columns: minmax(0, 1fr); }

/* Account tables use their existing labelled card layout at enlarged text. */
body.onyx-text-resized :is(.grid-table__inner,.order-history__inner) {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  overflow: visible;
}
/* Keep column headings in the accessibility tree. A return-order header can
   also contain a Select all checkbox, which must stay visible and usable. */
body.onyx-text-resized .grid-table__header:not(:has(input,button,a,select,textarea)),
body.onyx-text-resized .order-history__header:not(:has(input,button,a,select,textarea)) {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
body.onyx-text-resized :is(.grid-table__header,.order-history__header):has(input,button,a,select,textarea) {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  width: 100%;
}
body.onyx-text-resized :is(.grid-table__row,.order-history__row) {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--bs-border-color);
}
body.onyx-text-resized :is(.grid-table__cell,.order-history__cell) {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  justify-self: stretch;
  min-width: 0;
  max-width: 100%;
  gap: 4px;
  text-align: start;
  overflow-wrap: anywhere;
}
body.onyx-text-resized :is(.grid-table__cell,.order-history__cell)[data-ps-label]::before {
  display: block;
  font-size: calc(.875rem * var(--onyx-text-factor));
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body.onyx-text-resized .order-history__cell--actions { display: flex; flex-wrap: wrap; gap: 12px; }
body.onyx-text-resized .order-history__cell--actions::before { display: none; }

/* Search and navigation; keep offcanvas visibility / focus rules intact. */
body.onyx-text-resized .onyx-header__actions .ps-searchbar__input {
  height: auto !important;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  line-height: 1.35 !important;
}
body.onyx-text-resized .onyx-header__actions .header-block__badge {
  height: auto;
  min-height: 16px;
  line-height: 1.2 !important;
  padding: 2px 4px;
}
body.onyx-text-resized .onyx-header__nav-inner { transform: none !important; min-width: 0; }
body.onyx-text-resized :is(.onyx-menu-source,.onyx-header__nav .ps-mainmenu--desktop) {
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}
body.onyx-text-resized .onyx-header__nav .ps-mainmenu__tree { min-width: 0; flex-wrap: wrap !important; }
body.onyx-text-resized .onyx-header__nav .ps-mainmenu__tree-link { white-space: normal !important; overflow-wrap: anywhere; }
body.onyx-text-resized .onyx-header__nav .submenu__right-items { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
body.onyx-text-resized #searchCanvas :is(.ps-searchbar__input,.js-search-input) {
  height: auto !important;
  min-height: 74px !important;
  padding-block: 12px !important;
  line-height: 1.35 !important;
}
body.onyx-text-resized :is(.onyx-help-panel__head > div,.onyx-help-panel__links a span,.offcanvas-title) {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.onyx-text-resized .onyx-help-panel__close { flex-shrink: 0; }
@media (min-width: 1200px) {
  body.onyx-text-resized .onyx-header__top-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding-block: 24px;
  }
  body.onyx-text-resized :is(.onyx-header__phone,.onyx-header__logo,.onyx-header__actions) {
    position: static !important;
    inset: auto !important;
    transform: none;
    min-width: 0;
    height: auto !important;
  }
  body.onyx-text-resized .onyx-header__actions { flex-wrap: wrap; justify-content: flex-end; }
}

/* Listing: complete sort labels, fewer cards where more room is needed. */
body.onyx-text-resized :is(.onyx-products-top,.onyx-products-top__controls) {
  height: auto !important;
  min-height: 44px !important;
  min-width: 0;
  flex-wrap: wrap;
}
body.onyx-text-resized .onyx-products-top__controls .products__sort-dropdown-button {
  height: auto !important;
  min-height: 44px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
  padding-block: 10px !important;
  line-height: 1.35 !important;
}
body.onyx-text-resized .onyx-filter-trigger { height: auto !important; min-height: 44px !important; padding-block: 10px !important; white-space: normal; }
body.onyx-text-resized .onyx-product-card { min-width: 0; max-width: 100%; }
body.onyx-text-resized .onyx-product-card__media { height: auto !important; aspect-ratio: auto; display: flex; flex-direction: column; }
body.onyx-text-resized .onyx-product-card__media > a:not(.onyx-product-card__cart--link) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 1;
}
body.onyx-text-resized .onyx-product-card__cart {
  position: static;
  inset: auto;
  height: auto !important;
  opacity: 1;
  transform: none;
  margin-top: auto;
}
body.onyx-text-resized :is(.onyx-product-card__cart button,.onyx-product-card__cart--link) {
  min-width: 0;
  width: 100%;
  height: auto !important;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 16px 12px;
}
body.onyx-text-resized .onyx-product-card__discount { height: auto; min-height: 48px; line-height: 1.2 !important; padding-block: 8px; }
body.onyx-text-resized .onyx-product-card__info { height: auto !important; }
body.onyx-text-resized .onyx-product-card__title { overflow-wrap: anywhere; white-space: normal; }
body.onyx-text-resized #js-product-list:not(.is-list-view) > .products,
body.onyx-text-resized .onyx-bestsellers .products,
body.onyx-text-resized .onyx-module-products--bestsellers .products,
body.onyx-text-resized .onyx-related .products {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
body.onyx-text-resized #js-product-list.is-list-view > .products,
body.onyx-text-resized #js-product-list.is-list-view .onyx-product-card {
  grid-template-columns: minmax(0, 1fr) !important;
}
body.onyx-text-resized #js-product-list.is-list-view .onyx-product-card {
  height: auto !important;
}
body.onyx-text-resized #js-product-list.is-list-view .onyx-product-card__info {
  padding: 20px !important;
}
body.onyx-text-resized #js-product-list.is-list-view .onyx-product-card__media {
  width: 100% !important;
  max-width: 100%;
}

/* Product information, quantity and CTA grow in normal document flow. */
body.onyx-text-resized .onyx-inline-breadcrumb { height: auto; min-height: 24px; flex-wrap: wrap; }
body.onyx-text-resized :is(.onyx-product-main__info,.onyx-product-meta dt,.onyx-product-meta dd,.onyx-feature-list dt,.onyx-feature-list dd) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
body.onyx-text-resized .onyx-product-meta > div { flex-wrap: wrap; }
body.onyx-text-resized .onyx-feature-list > div,
body.onyx-text-resized .onyx-product-safety .onyx-feature-list > div { grid-template-columns: minmax(0, 1fr); gap: 5px; }
body.onyx-text-resized .onyx-product-safety .onyx-feature-list dt { line-height: 1.5 !important; }
body.onyx-text-resized .onyx-product-buy .product__actions-qty-add {
  grid-template-columns: minmax(0, 1fr);
  padding-top: 20px;
}
body.onyx-text-resized .onyx-product-buy .product__actions-qty-add::before {
  position: static;
  inset: auto;
  font-size: calc(16px * var(--onyx-text-factor));
  line-height: 1.35;
}
body.onyx-text-resized .onyx-product-buy .product-actions__quantity {
  position: static;
  inset: auto;
  width: auto;
  max-width: 100%;
  height: auto;
  justify-self: start;
}
body.onyx-text-resized .onyx-product-buy :is(.qty-input,input[name="qty"]) { height: auto; min-height: 44px; }
body.onyx-text-resized .onyx-product-buy .product__add-to-cart-button {
  height: auto !important;
  min-height: 64px;
  white-space: normal;
  overflow-wrap: anywhere;
  padding-block: 16px;
}

/* Home category panels: readable cards rather than rotated narrow labels. */
body.onyx-text-resized .onyx-categories { height: auto !important; padding-bottom: 48px; }
body.onyx-text-resized .onyx-categories > h2 { line-height: 1.25 !important; }
body.onyx-text-resized .onyx-categories__grid,
body.onyx-text-resized .onyx-categories__grid[data-onyx-active] {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
  height: auto !important;
  min-height: 0;
}
body.onyx-text-resized .onyx-category-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  height: auto !important;
  min-height: 430px !important;
  min-width: 0;
  padding: 24px;
  transform: none !important;
}
body.onyx-text-resized .onyx-categories__grid > .onyx-category-card img { position: absolute; inset: 0; }
body.onyx-text-resized .onyx-categories__grid > .onyx-category-card > strong,
body.onyx-text-resized .onyx-category-card .onyx-category-card__active-copy {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0;
  opacity: 1 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.3 !important;
}
body.onyx-text-resized .onyx-category-card .onyx-category-card__dynamic-title { display: none !important; }
body.onyx-text-resized .onyx-category-card__active-copy :is(strong,span,em) {
  min-width: 0 !important;
  max-width: 100%;
  height: auto !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.35 !important;
}

/* Trending and footer no longer retain narrower pre-resize dimensions. */
body.onyx-text-resized :is(.onyx-trending__copy,.onyx-trending__products) {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100%;
}
body.onyx-text-resized .onyx-trending__controls { position: static !important; transform: none; justify-content: flex-end; margin-top: 18px; }
body.onyx-text-resized .onyx-trending__products .products { padding: 6px; }
body.onyx-text-resized .onyx-footer__newsletter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.onyx-text-resized .onyx-footer__links { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
body.onyx-text-resized :is(.onyx-footer__newsletter-form,.onyx-footer__column,.onyx-footer__contact) { min-width: 0; overflow-wrap: anywhere; }
body.onyx-text-resized .onyx-newsletter__line input { min-width: 0; max-width: 100%; width: 100%; }
body.onyx-text-resized .onyx-newsletter__line button { flex: 0 0 58px; }
body.onyx-text-resized .onyx-contactinfo__row { grid-template-columns: 24px minmax(0, 1fr); }
body.onyx-text-resized .onyx-contactinfo__row :is(a,span,strong) { min-width: 0; overflow-wrap: anywhere; }

/* Content pages / contact / help; preserve hiding and scroll in dialogs. */
body.onyx-text-resized :is(.onyx-cms-hero,.onyx-cms-section__content,.onyx-cms-feature__content,.onyx-contact-main,.onyx-contact-email,.onyx-contact-phone,.onyx-guide-card__title) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
body.onyx-text-resized .onyx-contact-bottom__row { flex-wrap: wrap; min-width: 0; }
body.onyx-text-resized .onyx-contact-bottom__row a { flex-shrink: 1; max-width: 100%; overflow-wrap: anywhere; }
body#cms.onyx-text-resized :is(.onyx-cms-hero__eyebrow,.onyx-cms-section__label,.onyx-cms-feature__eyebrow) {
  line-height: 1.5 !important;
  overflow-wrap: anywhere;
}
body.onyx-text-resized :is(.onyx-configurator-guide__button,.onyx-configurator-category-cta__button,.onyx-gift-card__button,.onyx-size-guide__download-link) {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
body.onyx-text-resized .onyx-configurator-guide__cta { flex-wrap: wrap; }
body.onyx-text-resized :is(.onyx-configurator-guide__cta,.onyx-configurator-guide__comfort,.onyx-configurator-category-cta) > * { min-width: 0; }

/* Larger sizes use fewer columns without reducing their actual font size. */
body.onyx-text-resized:is([data-onyx-text-scale="1.5"],[data-onyx-text-scale="1.75"],[data-onyx-text-scale="2"]) :is(.onyx-product-main,.onyx-trending__inner,.onyx-contact-main,.onyx-gift-card,.onyx-guides-intro,.onyx-configurator-guide__comfort,.onyx-configurator-category-cta) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: none;
  gap: 32px;
}
body.onyx-text-resized:is([data-onyx-text-scale="1.5"],[data-onyx-text-scale="1.75"],[data-onyx-text-scale="2"]) :is(.onyx-trending__copy,.onyx-trending__products,.onyx-trending__nav) { grid-area: auto; }
body.onyx-text-resized:is([data-onyx-text-scale="1.5"],[data-onyx-text-scale="1.75"],[data-onyx-text-scale="2"]) .onyx-product-main__gallery { max-width: 770px; width: 100%; }
body.onyx-text-resized:is([data-onyx-text-scale="1.5"],[data-onyx-text-scale="1.75"],[data-onyx-text-scale="2"]) .onyx-trending__products .products > * { flex: 0 0 100% !important; width: 100% !important; max-width: 100%; }
body.onyx-text-resized:is([data-onyx-text-scale="1.5"],[data-onyx-text-scale="1.75"],[data-onyx-text-scale="2"]) .onyx-footer__newsletter { display: block; }
body.onyx-text-resized:is([data-onyx-text-scale="1.5"],[data-onyx-text-scale="1.75"],[data-onyx-text-scale="2"]) .onyx-footer__newsletter-form { margin-top: 32px; }
body.onyx-text-resized:is([data-onyx-text-scale="1.5"],[data-onyx-text-scale="1.75"],[data-onyx-text-scale="2"]) .onyx-product-safety__section:first-child,
body.onyx-text-resized:is([data-onyx-text-scale="1.5"],[data-onyx-text-scale="1.75"],[data-onyx-text-scale="2"]) .onyx-product-tabs__body .onyx-product-tab.onyx-product-safety.is-active {
  grid-template-columns: minmax(0, 1fr);
}
body#cms.onyx-text-resized:is([data-onyx-text-scale="1.5"],[data-onyx-text-scale="1.75"],[data-onyx-text-scale="2"]) .onyx-cms-section--split {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 24px !important;
}
body.onyx-text-resized:is([data-onyx-text-scale="1.5"],[data-onyx-text-scale="1.75"],[data-onyx-text-scale="2"]) .onyx-configurator-guide__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Keep the tools above the old absolute home-page coordinate (1206px).
   Use the same rail at every custom text size; native browser zoom still applies.
   Dynamic viewport units and a scrollable height keep Reset reachable on short
   screens. Important positioning/display override the old home/mobile rules. */
body .onyx-accessibility,
body.onyx-text-resized .onyx-accessibility {
  --onyx-tools-top: clamp(130px, 34vh, 320px);
  position: fixed !important;
  inset: auto !important;
  top: var(--onyx-tools-top) !important;
  left: 0 !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 80px;
  max-width: calc(100vw - 12px);
  max-height: calc(100vh - var(--onyx-tools-top) - 12px);
  max-height: calc(100vh - var(--onyx-tools-top) - 12px - env(safe-area-inset-bottom, 0px));
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  z-index: 1050;
  box-sizing: border-box;
}
body .onyx-accessibility__item,
body.onyx-text-resized .onyx-accessibility__item {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  height: auto;
  padding: 8px 4px;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: normal;
  border: 0;
  border-bottom: 1px solid #eee;
}
body .onyx-accessibility__item:last-of-type {
  border-bottom: 0;
}
body .onyx-accessibility__item:focus-visible {
  outline-offset: -4px !important;
}
@supports (height: 100dvh) {
  body .onyx-accessibility,
  body.onyx-text-resized .onyx-accessibility {
    --onyx-tools-top: clamp(130px, 34dvh, 320px);
    max-height: calc(100dvh - var(--onyx-tools-top) - 12px - env(safe-area-inset-bottom, 0px));
  }
}
@media (max-height: 360px) {
  body .onyx-accessibility,
  body.onyx-text-resized .onyx-accessibility {
    --onyx-tools-top: 100px;
  }
}
@media (max-width: 991.98px) {
  body.onyx-text-resized #js-product-list:not(.is-list-view) > .products,
  body.onyx-text-resized .onyx-bestsellers .products,
  body.onyx-text-resized .onyx-module-products--bestsellers .products,
  body.onyx-text-resized .onyx-related .products {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.onyx-text-resized .onyx-products-top__controls {
    grid-template-columns: 44px 1fr 44px 44px !important;
    height: auto !important;
  }
  body.onyx-text-resized .onyx-products-top__controls .products__sort-dropdown { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 767.98px) {
  body.onyx-text-resized .onyx-categories__grid,
  body.onyx-text-resized .onyx-categories__grid[data-onyx-active] { grid-template-columns: minmax(0, 1fr) !important; }
  body.onyx-text-resized :is(.onyx-footer__newsletter,.onyx-footer__links) { display: grid; grid-template-columns: minmax(0, 1fr); }
  body.onyx-text-resized .onyx-trending__inner { display: block; }
  body.onyx-text-resized .onyx-trending__products .products > * { flex: 0 0 100% !important; width: 100% !important; }
  body.onyx-text-resized:is([data-onyx-text-scale="1.5"],[data-onyx-text-scale="1.75"],[data-onyx-text-scale="2"]) .onyx-configurator-guide__grid { grid-template-columns: minmax(0, 1fr); }
  body#cart.onyx-text-resized .cart-grid__aside-wrapper,
  body#checkout.onyx-text-resized .checkout-grid__aside-wrapper { padding-inline: 16px; }
}
