.comparison-page,
.wishlist-page {
  min-height: 0;
  padding: 22px 0 24px;
  background: #fff;
}

.comparison-page + .site-footer,
.wishlist-page + .site-footer { padding-top: 20px; border-top: 0; }

/* Match the final catalog rhythm, including WooCommerce's nested breadcrumb size. */
.collection-breadcrumbs { margin-bottom: 6px; color:#8791a1; font-size:14px; line-height:1.45; }
.collection-breadcrumbs .woocommerce-breadcrumb { margin: 0; font-size: .92em; line-height:1.45; }
.collection-page-heading { display:flex; align-items:flex-end; min-height:61px; padding-bottom:4px; margin-bottom:22px; border-bottom:1px solid #eceef1; }

.collection-page-heading > h1 {
  margin: 2px 0 0;
  color: var(--atlas-ink);
  font-size: 2.2rem;
  font-weight: 650;
  line-height: 1.08;
}

.comparison-page__intro,
.wishlist-page__intro {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--atlas-muted);
  font-size: .96rem;
  line-height: 1.55;
}

.comparison-page__content,
.wishlist-page__content {
  min-height: 320px;
}

.comparison-page__message,
.wishlist-page__message {
  display: grid;
  min-height: 250px;
  margin: 0;
  place-items: center;
  padding: 30px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #fbfcfe;
  color: var(--atlas-muted);
  text-align: center;
}

.collection-count {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: .76rem;
  font-weight: 650;
  white-space: nowrap;
}

.collection-toolbar-spacer { flex: 1 1 auto; }

.collection-text-button,
.collection-icon-button,
.collection-heart,
.collection-select {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.collection-text-button {
  display: inline-flex;
  min-height: 38px;
  gap: 8px;
  align-items: center;
  padding: 0 6px;
  color: #475569;
  font-size: .8rem;
  font-weight: 650;
}

.collection-text-button:hover { color: var(--atlas-red); }
.collection-text-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* Comparison concept 01: a classic matrix with real catalogue data. */
.collection-compare {
  position: relative;
  border-top: 1px solid var(--atlas-line);
}

.collection-compare__toolbar {
  position: sticky;
  z-index: 82;
  display: flex;
  min-height: 64px;
  gap: 18px;
  align-items: center;
  padding: 10px 0;
  background: #fff;
}

.collection-compare__toolbar-paging {
  display: flex;
  align-items: center;
}

.collection-compare__paging {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
}

.collection-compare__paging[hidden] { display: none; }

.collection-compare__paging-counter {
  min-width: 58px;
  color: #64748b;
  font-size: .75rem;
  font-weight: 650;
  text-align: center;
}

.collection-compare__paging-button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid #dce2ea;
  border-radius: 50%;
  background: #fff;
  color: #263246;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.collection-compare__paging-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.collection-compare__paging-button:hover:not(:disabled) { border-color: var(--atlas-red); box-shadow: 0 5px 14px rgba(15,23,42,.1); color: var(--atlas-red); transform: translateY(-1px); }
.collection-compare__paging-button:focus { outline: 0; }
.collection-compare__paging-button:focus-visible { outline: 2px solid rgba(237, 28, 36, .3); outline-offset: 2px; }
.collection-compare__paging-button:disabled { cursor: default; opacity: .34; }

.collection-switch {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #334155;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
}

.collection-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.collection-switch > span {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 20px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #d7dde5;
  transition: background-color .18s ease;
}
.collection-switch > span::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(15 23 42 / 18%);
  content: "";
  transition: transform .18s ease;
}
.collection-switch > input:checked + span { background: var(--atlas-red, #e30613); }
.collection-switch > input:checked + span::after { transform: translateX(14px); }
.collection-switch > input:focus-visible + span { outline: 2px solid var(--atlas-red, #e30613); outline-offset: 2px; }

.collection-compare__category {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #64748b;
  font-size: .78rem;
  font-weight: 650;
}

.collection-category-picker { position: relative; min-width: 190px; }
.collection-category-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  min-width: 190px;
  height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--atlas-line);
  border-radius: 8px;
  background: #fff;
  color: var(--atlas-ink);
  font: inherit;
}
.collection-category-picker summary::-webkit-details-marker { display: none; }
.collection-category-picker summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); margin-top: -4px; }
.collection-category-picker[open] summary { border-color: var(--atlas-red, #e30613); }
.collection-category-picker[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.collection-category-picker__choices { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; padding: 6px; background: #fff; border: 1px solid var(--atlas-line); border-radius: 10px; box-shadow: 0 8px 24px rgba(9,35,65,.14); }
.collection-category-picker__choices button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 6px; background: #fff; color: var(--atlas-ink); text-align: left; font: inherit; cursor: pointer; }
.collection-category-picker__choices button:is(:hover, :focus-visible, .is-active) { background: #fff1f2; color: var(--atlas-red, #e30613); }
.collection-category-picker__mobile { display: none; }

.collection-compare__modes { display: inline-flex; padding: 3px; border-radius: 10px; background: #f1f5f9; }
.collection-compare__modes button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: #64748b; cursor: pointer; font-size: .78rem; font-weight: 700; }
.collection-compare__modes button.is-active { background: #fff; box-shadow: 0 1px 4px rgba(15,23,42,.12); color: var(--atlas-ink); }

.collection-compare__scroller {
  overflow-x: auto;
  border: 1px solid var(--atlas-line);
  border-radius: 14px;
  background: #fff;
  overscroll-behavior-x: none;
  overscroll-behavior-inline: none;
}

.collection-compare__table {
  width: calc(208px + var(--compare-products) * var(--compare-column-width, 250px));
  min-width: 100%;
}

.collection-compare__scroller--trimmed { border: 0; }
.collection-compare__scroller--trimmed .collection-compare__table {
  box-sizing: content-box;
  min-width: 0;
  border: 1px solid var(--atlas-line);
  border-radius: 14px;
  overflow: clip;
}
.collection-compare__scroller--trimmed .collection-compare__row > .collection-compare__label {
  max-width: 100%;
}
.collection-compare__scroller--trimmed .collection-compare-product__gallery-arrow {
  z-index: 3;
}
.collection-compare__sticky--compact .collection-compare-product {
  min-height: 0;
  padding-block: 12px;
}
.collection-compare__row {
  display: grid;
  grid-template-columns: 208px repeat(var(--compare-products), var(--compare-column-width, 250px));
  border-bottom: 1px solid var(--atlas-line);
}

.collection-compare__row:last-child { border-bottom: 0; }
.collection-compare__row[data-zebra="odd"] > * { background: #fff; }
.collection-compare__row[data-zebra="even"] > * { background: #eef3f8; }
.collection-compare__row[data-same="true"] { transition: opacity .16s ease, visibility .16s ease; }
.collection-compare__table.show-differences .collection-compare__row[data-same="true"] { display: none; }

.collection-compare__label,
.collection-compare__value {
  min-width: 0;
  padding: 9px 14px;
  border-right: 1px solid var(--atlas-line);
}

.collection-compare__row > :last-child { border-right: 0; }
.collection-compare__label { position: sticky; left: 0; z-index: 20; background: #fbfcfe; color: #334155; font-size: .82rem; font-weight: 700; }
.collection-compare__value { align-content: center; color: #334155; font-size: .84rem; line-height: 1.4; text-align: center; }
.collection-compare__heads { align-items: stretch; }
.collection-compare__heads > .collection-compare__label { display: flex; align-items: flex-start; justify-content: flex-end; gap: 10px; padding-bottom: 20px; flex-direction: column; font-size: .88rem; }
.collection-compare__paging--sticky { max-width: 100%; gap: 5px; }
.collection-compare__paging--sticky .collection-compare__paging-counter { min-width: 52px; font-size: .7rem; }
.collection-compare__paging--sticky .collection-compare__paging-button { width: 32px; height: 32px; }

.collection-compare-product {
  position: relative;
  display: flex;
  min-height: 385px;
  min-width: 0;
  gap: 8px;
  padding: 18px 16px;
  border: 0;
  border-right: 1px solid var(--atlas-line);
  border-radius: 0;
  flex-direction: column;
}

.collection-compare-product:last-child { border-right: 0; }
.collection-compare-product__controls { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; gap: 2px; }
.collection-icon-button { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #64748b; }
.collection-icon-button:hover { background: #fff1f2; color: var(--atlas-red); }
.collection-icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.collection-icon-button--favorite.is-active { outline: none; background: #fff2f2; color: var(--atlas-red); }
.collection-icon-button--favorite.is-active svg { fill: none; }

.collection-compare-product__media {
  display: grid;
  height: 190px;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.collection-compare-product__gallery .collection-compare-product__media img { display: block; position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-height: 100% !important; object-fit: contain !important; }
.collection-compare-product__gallery { position: relative; }
.collection-compare-product__gallery.is-loading .collection-compare-product__media img { opacity: .58; }
.collection-compare-product__media img { transition: opacity .16s ease; }
.collection-compare-product__gallery-slide-copy { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.collection-compare-product__gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #dce2ea;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #263246;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.collection-compare-product__gallery-arrow--previous { left: 2px; }
.collection-compare-product__gallery-arrow--next { right: 2px; }
.collection-compare-product__gallery-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.collection-compare-product__gallery-arrow:hover { border-color: var(--atlas-red); background: #fff; box-shadow: 0 5px 14px rgba(15,23,42,.13); color: var(--atlas-red); transform: translateY(-50%) translateY(-1px); }
.collection-compare-product__gallery-arrow:focus,
.collection-compare-product__gallery-arrow:focus-visible { outline: 0; }
.collection-compare-product__gallery:has(.collection-compare-product__gallery-arrow:focus-visible) .collection-compare-product__gallery-arrow { opacity: 1; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
  .collection-compare-product__gallery:hover .collection-compare-product__gallery-arrow { opacity: 1; pointer-events: auto; }
}
@media (hover: none), (pointer: coarse) {
  .collection-compare-product__gallery-arrow { opacity: .88; pointer-events: auto; }
}
.collection-compare-product__title { min-height: 40px; color: var(--atlas-ink); font-size: .86rem; font-weight: 720; line-height: 1.4; text-decoration: none; }
.collection-compare-product__title:hover { color: var(--atlas-red); }
.collection-compare-product__price { display: flex; gap: 10px; align-items: baseline; margin-top: 2px; color: var(--atlas-ink); font-size: 1.02rem; }
.collection-compare-product__price .is-sale,
.collection-wishlist-product__purchase .is-sale { color: var(--atlas-red); }
.collection-compare-product__price del,
.collection-wishlist-product__purchase del { color: #8b94a3; font-size: .72em; font-weight: 500; text-decoration-thickness: 1px; }

.collection-stock {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #159447;
  font-size: .72rem;
  font-weight: 650;
}

.collection-stock::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.collection-stock.is-unavailable { color: #94a3b8; }

:is(.comparison-page, .collection-compare__sticky) .collection-compare-product .atlas-product-card__action.collection-compare-product__action {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: 44px !important;
  margin: auto 0 0 !important;
  align-self: stretch;
}
.collection-wishlist-product__actions { position: relative; width: 44px; height: 44px; margin-top: auto; margin-left: auto; }
:is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  gap: 9px !important;
  align-items: center;
  justify-content: center;
  padding: 0 14px !important;
  overflow: hidden;
  border: 1px solid var(--atlas-red) !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #f20b18 0%, #d4000c 100%) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: .82rem !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transform: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease !important;
}
:is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button::before {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l2.4 11.2a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 2-1.6L21 7H6'/%3E%3Ccircle cx='10' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l2.4 11.2a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 2-1.6L21 7H6'/%3E%3Ccircle cx='10' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
:is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button:not(.added)::after {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -42%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  content: "";
  pointer-events: none;
  transform: skewX(-18deg);
  transition: left .34s ease;
}
:is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}
@media (hover: hover) and (pointer: fine) {
  :is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button:hover,
  :is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button:focus-visible {
    width: 100% !important;
    gap: 9px !important;
    background: linear-gradient(135deg, #e30613 0%, #bd0711 100%) !important;
    box-shadow: none !important;
    font-size: .82rem !important;
    transform: none !important;
  }
  :is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button:not(.added):hover::after,
  :is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button:not(.added):focus-visible::after { left: 114%; }
}
:is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button.added {
  width: 100% !important;
  gap: 6px !important;
  justify-content: center !important;
  padding-right: 0 !important;
  padding-left: 50px !important;
  border: 1px solid var(--atlas-red) !important;
  border-radius: 12px !important;
  background: linear-gradient(90deg, var(--atlas-red) 0 50px, #fff 50px 100%) !important;
  box-shadow: none !important;
  color: var(--atlas-red) !important;
  font-size: .78rem !important;
}
:is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button.added::before { position: absolute; left: 15px; background: #fff; }
:is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button.added::after { margin-left: 0; content: "✓"; }
:is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button.added:hover,
:is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action .collection-cart-button.added:focus-visible {
  width: 100% !important;
  gap: 6px !important;
  background: linear-gradient(90deg, #bd0711 0 50px, #fff7f7 50px 100%) !important;
  box-shadow: none !important;
  font-size: .78rem !important;
  transform: none !important;
}
:is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action:has(.collection-cart-button.added:hover),
:is(.comparison-page, .collection-compare__sticky) .collection-compare-product__action:has(.collection-cart-button.added:focus-visible) {
  box-shadow: none !important;
  transform: none !important;
}
.collection-cart-button { outline: 0 !important; }
.collection-cart-button.is-disabled { border-color: #d5dae2 !important; background: #d5dae2 !important; cursor: not-allowed; }

.collection-compare__sticky {
  position: fixed;
  z-index: 81;
  display: block;
  overflow: visible;
  border: 1px solid var(--atlas-line);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15,23,42,.08);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  will-change: top;
}
.collection-compare__sticky.is-visible { opacity: 1; pointer-events: auto; visibility: visible; }
.collection-compare__sticky-viewport { width: 100%; overflow: hidden; touch-action: pan-y; }
.collection-compare__sticky-viewport.is-dragging { cursor: grabbing; user-select: none; }
.collection-compare__heads--sticky { width: calc(208px + var(--compare-products) * var(--compare-column-width, 250px)); min-width: 100%; background: #fff; will-change: transform; }

/* Optional, category-controlled dimension comparison. */
.collection-dimensions__scroller {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0;
  border-radius: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.collection-dimensions__scroller::-webkit-scrollbar { display: none; width: 0; height: 0; }
.collection-dimensions { --dimension-column: var(--compare-column-width, 250px); width: calc(208px + 5 * var(--dimension-column)); min-width: 100%; }
.collection-dimensions__stage { position: relative; display: grid; width: max-content; min-width: 100%; grid-template-columns: 208px repeat(var(--dimension-slots, 5), var(--dimension-column)); grid-auto-rows: max-content; align-content: start; align-items: stretch; }
.collection-dimensions__controls { position: sticky; left: 0; z-index: 5; display: flex; min-width: 0; min-height: 563px; padding: 20px 16px 18px; background: #fbfcfe; flex-direction: column; }
.collection-dimensions__toolbar-toggle { margin-left: 8px; white-space: nowrap; }
.collection-dimensions__setup { position: sticky; left: 0; z-index: 8; display: grid; width: min(1440px, calc(100vw - 72px)); min-width: min(1440px, calc(100vw - 72px)); padding: 14px 0 10px; border-top: 1px solid var(--atlas-line); border-bottom: 1px solid var(--atlas-line); background: #fff; box-sizing: border-box; }
.collection-dimensions__setup-toggle { display: none; }
.collection-dimensions__setup.is-niche-enabled { grid-template-columns: minmax(440px, 1.15fr) minmax(390px, .9fr) minmax(480px, 1.15fr); }
.collection-dimensions__setup > :is(.collection-dimensions__limits, .collection-dimensions__orientation-options, .collection-dimensions__clearance-options) { min-width: 0; padding: 0 18px; }
.collection-dimensions__setup > :is(.collection-dimensions__orientation-options, .collection-dimensions__clearance-options) { border-left: 1px solid #e6ebf1; }
.collection-dimensions__orientation-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto 65px; gap: 7px 8px; align-items: end; margin: 0; border: 0; }
.collection-dimensions__orientation-title,
.collection-dimensions__clearance-title { grid-column: 1 / -1; color: #334155; font-size: .72rem; font-weight: 750; line-height: 1.25; }
.collection-dimensions__orientation-option { display: inline-flex; height: 48px; gap: 7px; align-items: center; padding: 0 11px; border: 1px solid #dce2ea; border-radius: 8px; background: #fff; color: #334155; cursor: pointer; font-size: .7rem; font-weight: 700; box-sizing: border-box; }
.collection-dimensions__orientation-option:has(input:checked) { border-color: rgba(237,28,36,.5); background: #fff5f5; color: var(--atlas-red); box-shadow: inset 0 0 0 1px rgba(237,28,36,.08); }
.collection-dimensions__orientation-option input { margin: 0; accent-color: var(--atlas-red); }
.collection-dimensions__limits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto 65px; gap: 7px 10px; align-items: end; }
.collection-dimensions__limits-title { grid-column: 1 / -1; color: #334155; font-size: .72rem; font-weight: 750; line-height: 1.25; }
.collection-dimensions__limit { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: 13px 48px; gap: 4px; align-items: center; }
.collection-dimensions__limit strong { color: #64748b; font-size: .64rem; font-weight: 650; line-height: 1; text-align: center; }
.collection-dimensions__limit input { width: 100%; min-width: 0; height: 48px; padding: 0 6px; border: 1px solid #dce2ea; border-radius: 7px; background: #fff; color: var(--atlas-ink); font-size: 1rem; box-sizing: border-box; }
.collection-dimensions__limit input::placeholder { color: #94a3b8; font-size: .875rem; opacity: 1; }
.collection-dimensions__clearance-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto 65px; gap: 7px 8px; align-items: end; }
.collection-dimensions__orientation-option,
.collection-dimensions__clearance-option { align-self: end; }
.collection-dimensions__clearance-option { position: relative; display: flex; height: 48px; min-width: 0; gap: 7px; align-items: center; padding: 0 10px; border: 1px solid #e4e9f0; border-radius: 8px; background: #f8fafc; color: #334155; cursor: pointer; box-sizing: border-box; }
.collection-dimensions__clearance-option:has(input:checked) { border-color: rgba(237,28,36,.42); background: #fff7f7; box-shadow: inset 0 0 0 1px rgba(237,28,36,.08); }
.collection-dimensions__clearance-option input { flex: 0 0 auto; margin: 0; accent-color: var(--atlas-red); }
.collection-dimensions__clearance-copy { display: block; min-width: 0; }
.collection-dimensions__clearance-copy strong { display: block; overflow: visible; color: #334155; font-size: .68rem; line-height: 1.25; text-overflow: clip; text-wrap: balance; white-space: normal; }
.collection-dimensions__clearance-copy small { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: min(290px, calc(100vw - 40px)); padding: 9px 11px; border-radius: 8px; background: #172033; box-shadow: 0 10px 24px rgba(15,23,42,.2); color: #fff; font-size: .66rem; font-weight: 450; line-height: 1.4; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; visibility: hidden; }
.collection-dimensions__clearance-option:last-child .collection-dimensions__clearance-copy small { right: 0; left: auto; }
.collection-dimensions__clearance-option:hover .collection-dimensions__clearance-copy small,
.collection-dimensions__clearance-option:focus-within .collection-dimensions__clearance-copy small { opacity: 1; transform: translateY(0); visibility: visible; }
.collection-dimensions__clearance-summary { display: grid; grid-column: 1 / -1; grid-template-columns: auto repeat(3,minmax(0,1fr)); gap: 0; align-items: stretch; margin-top: 10px; padding: 10px 18px 0; border-top: 1px solid #eef1f5; color: #64748b; font-size: .63rem; line-height: 1.35; }
.collection-dimensions__clearance-summary-title { display: flex; max-width: 160px; align-items: center; padding-right: 16px; color: #334155; font-size: .68rem; line-height: 1.3; }
.collection-dimensions__clearance-summary-item { display: grid; grid-template-columns: repeat(3,minmax(0,auto)); gap: 4px 10px; align-content: center; padding: 0 14px; border-left: 1px solid #e6ebf1; }
.collection-dimensions__clearance-summary-item > strong { grid-column: 1 / -1; color: #334155; font-size: .66rem; text-align: center; }
.collection-dimensions__clearance-summary-item > span { white-space: nowrap; }
.collection-dimensions__bottom-navigation { position: sticky; left: 0; z-index: 7; display: flex; width: min(1440px, calc(100vw - 72px)); gap: 8px; align-items: center; padding: 12px 18px 4px; border-top: 1px solid var(--atlas-line); background: #fff; box-sizing: border-box; }
.collection-dimensions__bottom-navigation > span { color: #64748b; font-size: .72rem; font-weight: 650; white-space: nowrap; }
.collection-dimensions__ruler { position: relative; height: 395px; flex: 0 0 395px; margin: 0; }
.collection-dimensions__ruler-title { position: absolute; right: 2px; bottom: 0; left: 45px; display: flex; height: 30px; align-items: center; justify-content: center; color: #475569; font-size: .7rem; }
.collection-dimensions__ruler-scale { position: absolute; top: 0; right: 2px; bottom: 30px; left: 45px; box-sizing: border-box; border-bottom: 1px dashed #b7c2d0; border-left: 1px solid #9aa8ba; }
.collection-dimensions__ruler-tick { position: absolute; right: 100%; bottom: var(--ruler-position); width: 45px; padding-right: 11px; color: #64748b; font-size: .66rem; text-align: right; transform: translateY(50%); }
.collection-dimensions__ruler-tick::after { position: absolute; right: -5px; top: 50%; width: 9px; border-top: 1px solid #9aa8ba; content: ''; }
.collection-dimensions__pager { display: flex; gap: 7px; align-items: center; margin: 0; }
.collection-dimensions__pager > span { margin-right: 2px; color: #64748b; font-size: .72rem; font-weight: 650; }
.collection-dimensions__product { display: flex; min-width: 0; min-height: 563px; align-items: center; padding: 20px 15px 18px; background: #fff; flex-direction: column; text-align: center; }
.collection-dimensions__figure { position: relative; display: grid; width: 100%; height: 395px; grid-template-rows: 1fr 30px; align-items: end; justify-items: center; border-bottom: 1px dashed #b7c2d0; }
.collection-dimensions__image-stage { position: relative; display: grid; max-width: calc(100% - 10px); max-height: 365px; align-self: end; justify-items: center; overflow: visible; }
.collection-dimensions__image-box { position: relative; display: block; max-width: 100%; max-height: 365px; align-self: end; overflow: visible; transition: none; }
.collection-dimensions__image-box img { position: absolute; display: block; max-width: none; max-height: none; object-fit: contain; object-position: center bottom; }
.collection-dimensions__image-box img:not(.is-normalized) { inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; }
.collection-dimensions__height-label,
.collection-dimensions__width-label { color: #475569; font-size: .68rem; font-weight: 700; }
.collection-dimensions__height-label { position: absolute; top: -22px; left: 50%; z-index: 2; white-space: nowrap; transform: translateX(-50%); }
.collection-dimensions__width-label { position: relative; display: flex; width: min(100%, 132px); align-items: center; align-self: center; justify-content: center; }
.collection-dimensions__width-label::before,
.collection-dimensions__width-label::after { width: 15px; border-top: 1px solid #9aa8ba; content: ''; }
.collection-dimensions__width-label::before { margin-right: 7px; }
.collection-dimensions__width-label::after { margin-left: 7px; }
.collection-dimensions__measurements { display: grid; width: 100%; min-height: 34px; place-items: center; padding: 7px 5px 0; color: #475569; font-size: .7rem; }
.collection-dimensions__measurements .collection-dimensions__depth { grid-column: 1 / -1; }
.collection-dimensions__title {
  display: -webkit-box;
  min-height: 2.7em;
  max-height: 2.7em;
  margin-top: 9px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--atlas-ink);
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}
.collection-dimensions__title:hover { color: var(--atlas-red); }
.collection-dimensions__sku { min-height: 1.35em; margin-top: 4px; color: #94a3b8; font-size: .66rem; line-height: 1.35; }
.collection-dimensions__sku.is-empty { visibility: hidden; }
.collection-dimensions__installation {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
}
.collection-dimensions__required { margin-top: 9px; color: #475569; font-size: .68rem; line-height: 1.4; }
.collection-dimensions__status { display: inline-flex; min-height: 28px; align-items: center; margin-top: 11px; padding: 5px 9px; border-radius: 999px; font-size: .68rem; line-height: 1.2; }
.collection-dimensions__status[hidden] { display: none; }
.collection-dimensions__status.is-neutral { background: #f1f5f9; color: #64748b; }
.collection-dimensions__status.is-fit { background: #eaf8f0; color: #0b8a49; }
.collection-dimensions__status.is-failed { background: #fff0f1; color: #d40814; }
.collection-dimensions__status.is-warning { background: #fff8e6; color: #9a6500; }
.collection-dimensions__empty { min-height: 563px; background: #fff; }
.collection-dimensions__guide { position: absolute; z-index: 9; right: 0; left: 48px; display: none; height: 0; border-top: 1px dashed currentColor; color: #dc2626; pointer-events: none; }
.collection-dimensions__guide.is-positioned { display: block; }
.collection-dimensions__guide--hover { z-index: 12; display: none; border-top-width: 2px; color: var(--atlas-red); }
.collection-dimensions__guide--hover.is-visible.is-positioned { display: block; }
.collection-dimensions__guide--maximum { color: #e07a12; opacity: .86; }
.collection-dimensions__guide--maximum.is-universal-horizontal { color: #8b5cf6; }
.collection-dimensions__guide--maximum.is-horizontal { color: #2563eb; }
.collection-dimensions__guide > strong { position: absolute; top: 0; left: 0; max-width: 185px; padding: 2px 5px; border-radius: 4px; background: #fff; color: currentColor; font-size: .62rem; line-height: 1.2; transform: translateY(-50%); }
.collection-dimensions__guide--maximum > strong { top: -2px; left: 6px; transform: translateY(-100%); }
.collection-dimensions__row { display: contents; }
.collection-dimensions__row-values { display: contents; }
.collection-dimensions__row > strong,
.collection-dimensions__row-values > span {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  padding: 9px 14px;
  border-top: 1px solid var(--atlas-line);
  background: #fff;
  box-sizing: border-box;
  color: #334155;
  font-size: .8rem;
  line-height: 1.4;
}
.collection-dimensions__row > strong { position: sticky; left: 0; z-index: 5; background: #fbfcfe; font-size: .76rem; }
.collection-dimensions__row-values > span { justify-content: center; border-left: 1px solid #edf0f4; text-align: center; }
.collection-dimensions__row[data-zebra="even"] > strong,
.collection-dimensions__row[data-zebra="even"] .collection-dimensions__row-values > span { background: #f6f8fb; }

/* Wishlist concept 08: select cards and compare them from a bottom drawer. */
.collection-wishlist__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--atlas-line);
}

.collection-wishlist__hint { color: var(--atlas-muted); font-size: .82rem; }

.collection-wishlist__categories { display: flex; gap: 8px; margin: -4px 0 18px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.collection-wishlist__categories::-webkit-scrollbar { display: none; }
.collection-wishlist__category { min-height: 38px; flex: 0 0 auto; padding: 8px 14px; border: 1px solid #dce2ea; border-radius: 999px; background: #fff; color: #475569; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 700; }
.collection-wishlist__category:hover { border-color: #ef9aa0; color: var(--atlas-red); }
.collection-wishlist__category.is-active { border-color: var(--atlas-red); background: #fff1f2; color: var(--atlas-red); }

.wishlist-page__grid.collection-wishlist__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.collection-wishlist-product {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 480px;
  padding: 20px 18px 18px;
  border: 1px solid var(--atlas-line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.collection-wishlist-product:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,23,42,.07); }
.collection-wishlist-product.is-selected { border-color: #ef8088; box-shadow: 0 0 0 1px rgba(227,6,19,.12), 0 14px 30px rgba(15,23,42,.07); }

.collection-select,
.collection-heart {
  position: absolute;
  top: 16px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
}

.collection-select { left: 16px; border: 1px solid #cbd5e1; background: #fff; color: #fff; }
.collection-select.is-active { border-color: var(--atlas-red); background: var(--atlas-red); }
.collection-select svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.collection-heart { right: 16px; color: var(--atlas-red); }
.collection-heart:hover { background: #fff1f2; }
.collection-heart svg { width: 22px; height: 22px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; }

.collection-wishlist-product__media { display: grid; height: 245px; overflow: hidden; place-items: center; margin: 4px 0 12px; }
.collection-wishlist-product__media img { display: block; width: 100% !important; height: 100% !important; max-height: 245px; object-fit: contain; }
.collection-wishlist-product__meta { display: flex; min-height: 18px; gap: 8px; align-items: center; justify-content: space-between; color: #7c899d; font-size: .68rem; line-height: 1.3; }
.collection-wishlist-product__meta > span:last-child { text-align: right; }
.collection-wishlist-product__title { display: block; min-height: 44px; margin-top: 4px; color: var(--atlas-ink); font-size: .88rem; font-weight: 720; line-height: 1.42; }
.collection-wishlist-product > .collection-stock { position: absolute; top: 18px; right: 16px; z-index: 2; max-width: calc(100% - 76px); justify-content: flex-end; text-align: right; }

.collection-wishlist-product__quick-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 10px 0 7px; }
.collection-wishlist-product__quick-actions :is(button,a) { display: inline-flex; min-width: 0; min-height: 40px; align-items: center; justify-content: center; padding: 8px 10px; border: 1px solid #dce2ea; border-radius: 9px; background: #fff; color: #334155; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 720; line-height: 1.2; text-align: center; text-decoration: none; }
.collection-wishlist-product__quick-actions :is(button,a):hover { border-color: #ef9aa0; background: #fff7f7; color: var(--atlas-red); }
.collection-wishlist-product__quick-actions .collection-wishlist-product__remove { color: var(--atlas-red); }

.collection-wishlist-product__specs {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  margin: 12px 0 16px;
  color: #64748b;
  font-size: .72rem;
  line-height: 1.35;
}

.collection-wishlist-product__specs dt,
.collection-wishlist-product__specs dd { min-width: 0; margin: 0; padding: 4px 0; border-bottom: 1px solid #edf0f4; overflow-wrap: anywhere; }
.collection-wishlist-product__specs dd { color: #334155; font-weight: 650; text-align: right; }

.collection-wishlist-product__purchase { display: grid; min-height: 76px; gap: 8px; align-content: end; margin-top: 0; }
.collection-wishlist-product__purchase > strong { display: flex; min-width: 0; min-height: 24px; gap: 8px; align-items: baseline; color: var(--atlas-ink); font-size: 1.08rem; white-space: nowrap; }
.wishlist-page .collection-wishlist-product .atlas-product-card__action.collection-wishlist-product__actions { position: relative !important; right: auto !important; bottom: auto !important; left: auto !important; z-index: auto; width: 100% !important; height: 44px !important; margin: 0 !important; }
.wishlist-page .collection-wishlist-product .atlas-product-card__action.collection-wishlist-product__actions:has(.collection-cart-button.added),
.wishlist-page .collection-wishlist-product .atlas-product-card__action.collection-wishlist-product__actions:has(.collection-cart-button.added):is(:hover,:focus-within,:active) { width: 100% !important; box-shadow: none !important; transform: none !important; }
.wishlist-page .collection-wishlist-product__actions .collection-cart-button.button { position: relative !important; right: auto !important; bottom: auto !important; left: auto !important; display: inline-flex !important; width: 100% !important; min-width: 0 !important; height: 44px !important; min-height: 44px !important; gap: 6px !important; align-items: center; justify-content: center; padding: 0 12px !important; overflow: hidden; border: 1px solid var(--atlas-red) !important; border-radius: 11px !important; background: linear-gradient(135deg,#f20b18 0%,#d4000c 100%) !important; box-shadow: none !important; color: #fff !important; font-size: .82rem !important; font-weight: 750 !important; white-space: nowrap; transition: background .18s ease, transform .18s ease !important; }
.wishlist-page .collection-wishlist-product__actions .collection-cart-button.button::before { width: 18px; height: 18px; flex: 0 0 18px; }
.wishlist-page .collection-wishlist-product__actions .collection-cart-button.button.added { --atlas-action-icon-color: var(--atlas-red); gap: 6px !important; padding: 0 9px !important; border-color: rgba(227,6,19,.72) !important; border-radius: 9px !important; background: #fff !important; color: var(--atlas-red) !important; font-size: .72rem !important; font-weight: 720 !important; }
.wishlist-page .collection-wishlist-product__actions .collection-cart-button.button.added::before { width: 17px; height: 17px; flex: 0 0 17px; }
.collection-wishlist-product__actions .collection-cart-button.is-disabled { border-color: #d5dae2 !important; background: #d5dae2 !important; }

.collection-server-preview__toolbar { display: flex; min-height: 52px; align-items: center; gap: 18px; padding: 0 10px; border-bottom: 1px solid var(--atlas-line); color: #64748b; font-size: .8rem; }
.collection-server-preview__toolbar strong { padding: 7px 12px; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: .74rem; }
.collection-server-preview__grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; padding-top: 16px; }
.collection-server-preview__card { position: relative; display: grid; min-width: 0; min-height: 480px; align-content: end; padding: 16px 18px; border: 1px solid #dbe2ea; border-radius: 11px; background: #fff; }
.collection-server-preview__stock { position: absolute; top: 18px; right: 16px; color: #079447; font-size: .68rem; font-weight: 700; }
.collection-server-preview__stock.is-unavailable { color: #7c899d; }
.collection-server-preview__media { display: grid; height: 250px; place-items: center; margin-bottom: 12px; }
.collection-server-preview__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.collection-server-preview__meta { display: flex; min-height: 18px; justify-content: space-between; gap: 8px; color: #7c899d; font-size: .68rem; }
.collection-server-preview__name { min-height: 44px; margin-top: 4px; color: var(--atlas-ink); font-size: .88rem; font-weight: 720; line-height: 1.42; text-decoration: none; }
.collection-server-preview__quick { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 10px 0 7px; }
.collection-server-preview__quick :is(span,a) { display: grid; min-height: 40px; place-items: center; padding: 8px; border: 1px solid #dce2ea; border-radius: 9px; color: #334155; font-size: .74rem; font-weight: 720; text-align: center; text-decoration: none; }
.collection-server-preview__purchase { display: grid; min-height: 76px; align-content: end; gap: 8px; }
.collection-server-preview__purchase strong { min-height: 24px; color: var(--atlas-ink); font-size: 1.08rem; }
.collection-server-preview__purchase span { display: grid; min-height: 44px; place-items: center; border-radius: 11px; background: linear-gradient(135deg,#f20b18 0%,#d4000c 100%); color: #fff; font-size: .82rem; font-weight: 750; }
@media (max-width: 1100px) { .collection-server-preview__grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 700px) { .collection-server-preview__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) { .collection-server-preview__grid { grid-template-columns: minmax(0,1fr); } }

.collection-drawer {
  position: fixed;
  right: auto;
  bottom: 12px;
  left: 50%;
  z-index: 80;
  display: grid;
  width: min(1440px, calc(100vw - 32px));
  grid-template-columns: minmax(230px, .8fr) minmax(320px, 1.6fr) minmax(230px, .75fr);
  min-height: 96px;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #d7dee8;
  border-radius: 14px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 48px rgba(15,23,42,.15);
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity .2s ease, transform .2s ease;
  visibility: hidden;
  backdrop-filter: blur(12px);
}

.collection-drawer.is-visible { opacity: 1; transform: translate(-50%, 0); visibility: visible; }
.collection-drawer__summary { display: flex; min-width: 0; gap: 12px; align-items: center; }
.collection-drawer__summary > div { display: flex; min-width: 0; flex-direction: column; }
.collection-drawer__summary strong { color: var(--atlas-ink); font-size: .9rem; }
.collection-drawer__summary small { margin-top: 3px; color: var(--atlas-muted); font-size: .68rem; }
.collection-drawer__icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 50%; background: #fff0f1; color: var(--atlas-red); }
.collection-drawer__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.collection-drawer__products { display: flex; min-width: 0; gap: 9px; }
.collection-drawer__product { display: grid; min-width: 0; max-width: 180px; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; align-items: center; padding: 7px 9px; border: 1px solid var(--atlas-line); border-radius: 9px; background: #fff; }
.collection-drawer__product img { display: block; width: 44px; height: 44px; object-fit: contain; }
.collection-drawer__product span { overflow: hidden; font-size: .66rem; font-weight: 650; line-height: 1.3; text-overflow: ellipsis; }
.collection-drawer__more { display: grid; min-width: 42px; height: 42px; place-items: center; align-self: center; border-radius: 50%; background: #f1f5f9; color: #475569; font-size: .72rem; font-weight: 750; }

.collection-drawer__compare {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #d4000c;
  border-radius: 8px;
  background: linear-gradient(135deg,#f20b18 0%,#d4000c 100%);
  box-shadow: 0 4px 11px rgba(227,6,19,.2);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 750;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.wishlist-page .collection-wishlist-product__actions .collection-cart-button.button:not(.added)::after,
.collection-drawer__compare::after { position: absolute; top: -30%; bottom: -30%; left: -42%; width: 28%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent); content: ""; pointer-events: none; transform: skewX(-18deg); transition: left .34s ease; }
@media (hover: hover) and (pointer: fine) {
  .wishlist-page .collection-wishlist-product__actions .collection-cart-button.button:hover:not(.is-disabled),
  .wishlist-page .collection-wishlist-product__actions .collection-cart-button.button:focus-visible:not(.is-disabled),
  .collection-drawer__compare:hover:not(:disabled),
  .collection-drawer__compare:focus-visible:not(:disabled) { outline: 0; border-color: #bd0711 !important; background: linear-gradient(135deg,#e30613 0%,#bd0711 100%) !important; box-shadow: 0 6px 16px rgba(227,6,19,.26) !important; transform: translateY(-2px); }
  .wishlist-page .collection-wishlist-product__actions .collection-cart-button.button:hover:not(.is-disabled),
  .wishlist-page .collection-wishlist-product__actions .collection-cart-button.button:focus-visible:not(.is-disabled) { gap: 6px !important; box-shadow: none !important; }
  .wishlist-page .collection-wishlist-product__actions .collection-cart-button.button.added:is(:hover,:focus-visible) { border-color: rgba(227,6,19,.72) !important; background: #fff6f7 !important; color: var(--atlas-red) !important; box-shadow: none !important; transform: none !important; }
  .wishlist-page .collection-wishlist-product__actions .collection-cart-button.button:not(.added):is(:hover,:focus-visible)::after,
  .collection-drawer__compare:is(:hover,:focus-visible)::after { left: 114%; }
}
.wishlist-page .collection-wishlist-product__actions .collection-cart-button.button:active:not(.is-disabled),
.collection-drawer__compare:active:not(:disabled) { box-shadow: 0 3px 8px rgba(227,6,19,.18) !important; transform: translateY(1px) scale(.985); }
.wishlist-page .collection-wishlist-product__actions .collection-cart-button.button:active:not(.is-disabled) { box-shadow: none !important; }
.wishlist-page .collection-wishlist-product__actions .collection-cart-button.button.added:active:not(.is-disabled) { border-color: rgba(227,6,19,.72) !important; background: #fff !important; box-shadow: none !important; transform: none !important; }
.collection-drawer__compare:disabled { background: #cfd5dd; cursor: not-allowed; }

@media (max-width: 1100px) {
  .wishlist-page__grid.collection-wishlist__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collection-drawer { grid-template-columns: minmax(210px, .9fr) 1.4fr minmax(220px, .8fr); }
  .collection-drawer__product:nth-child(n+3) { display: none; }
}

@media (max-width: 800px) {
  .collection-compare__toolbar { flex-wrap: wrap; gap: 10px 14px; }
  .collection-compare__toolbar > .collection-compare__modes { display: none; }
  .collection-toolbar-spacer { display: none; }
  .collection-compare__toolbar .collection-switch { margin-left: auto; }
  .collection-compare__table { width: calc(150px + var(--compare-products) * var(--compare-column-width, 210px)); min-width: 100%; }
  .collection-compare__row { grid-template-columns: 150px repeat(var(--compare-products), var(--compare-column-width, 210px)); }
  .collection-compare__heads--sticky { width: calc(150px + var(--compare-products) * var(--compare-column-width, 210px)); }
  .collection-dimensions { --dimension-column: 210px; width: calc(150px + 5 * var(--dimension-column)); }
  .collection-dimensions__stage { grid-template-columns: 150px repeat(var(--dimension-slots, 5), var(--dimension-column)); }
  .collection-dimensions__setup,
  .collection-dimensions__setup.is-niche-enabled { width: max(920px, calc(100vw - 30px)); min-width: max(920px, calc(100vw - 30px)); grid-template-columns: minmax(320px,1.1fr) minmax(270px,.9fr) minmax(330px,1.1fr); padding: 12px 0 9px; }
  .collection-dimensions__setup > :is(.collection-dimensions__limits, .collection-dimensions__orientation-options, .collection-dimensions__clearance-options) { padding: 0 12px; }
  .collection-dimensions__limits { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .collection-dimensions__orientation-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .collection-dimensions__clearance-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .collection-dimensions__clearance-summary { grid-template-columns: repeat(2,minmax(210px,1fr)); overflow-x: auto; }
  .collection-dimensions__bottom-navigation { width: calc(100vw - 30px); padding: 10px 8px 2px; }
  .collection-dimensions__controls { min-height: 487px; padding: 14px 10px; }
  .collection-dimensions__ruler { height: 316px; flex-basis: 316px; }
  .collection-dimensions__ruler-title { left: 36px; }
  .collection-dimensions__ruler-scale { top: 0; bottom: 30px; left: 36px; }
  .collection-dimensions__ruler-tick { width: 36px; padding-right: 9px; }
  .collection-dimensions__limit input { font-size: 16px; }
  .collection-dimensions__limit input::placeholder { font-size: 10px; }
  .collection-dimensions__product { min-height: 487px; padding: 14px 10px; }
  .collection-dimensions__figure { height: 316px; }
  .collection-dimensions__image-box { max-height: 286px; }
  .collection-dimensions__toolbar-toggle { margin-left: 0; }
  .collection-dimensions__guide { left: 38px; }
  .collection-compare-product { min-height: 350px; padding: 14px 12px; }
  .collection-compare-product__media { height: 160px; }
  .wishlist-page__grid.collection-wishlist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-drawer { grid-template-columns: 1fr auto; }
  .collection-drawer__products { display: none; }
}

@media (max-width: 560px) {
  .comparison-page__intro,
  .wishlist-page__intro { margin-bottom: 22px; font-size: .88rem; }
  .collection-compare__toolbar {
    display: grid;
    min-height: 0;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
  }
  .collection-compare__category { display: contents; }
  .collection-compare__category-label { display: none; }
  .collection-category-picker { display: block; width: 100%; min-width: 0; grid-row: 1; grid-column: 1 / -1; }
  .collection-category-picker summary {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    box-sizing: border-box;
    padding: 0 38px 0 14px;
    border-radius: 9px;
    font-size: .9rem;
  }
  .collection-category-picker__choices {
    top: calc(100% + 7px);
    max-height: min(60vh, 340px);
    overflow-y: auto;
    padding: 6px;
    border-color: #dfe3e8;
    border-radius: 10px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .15);
  }
  .collection-category-picker__choices button {
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 7px;
  }
  .collection-category-picker__choices button.is-active {
    background: #fff0f1;
    color: var(--atlas-red, #e30613);
    font-weight: 700;
  }
  .collection-category-picker__choices button.is-active::after {
    float: right;
    content: "✓";
  }
  .collection-category-picker__mobile {
    display: none;
  }
  .collection-compare__toolbar > .collection-compare__modes { grid-row: 2; grid-column: 1; justify-self: start; }
  .collection-compare__toolbar > .collection-compare__toolbar-paging { grid-row: 2; grid-column: 2; justify-self: end; }
  .collection-compare__toolbar .collection-switch {
    width: auto;
    margin-left: 0;
    grid-row: 3;
    grid-column: 1;
    order: initial;
    white-space: normal;
  }
  .collection-compare__toolbar > .collection-text-button {
    margin-left: 0;
    grid-row: 3;
    grid-column: 2;
    justify-self: end;
  }
  .wishlist-page__grid.collection-wishlist__grid { grid-template-columns: 1fr; }
  .collection-wishlist-product { min-height: 0; }
  .collection-wishlist-product__media { height: 220px; }
  .collection-wishlist__hint { display: none; }
  .collection-drawer { right: auto; bottom: 8px; left: 50%; width: calc(100vw - 16px); grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .collection-drawer__summary { display: none; }
  .collection-drawer__compare { width: 100%; }

  .collection-compare__toolbar-paging .collection-compare__paging-button,
  .collection-compare__heads .collection-compare__paging-button,
  .collection-dimensions__bottom-navigation .collection-compare__paging-button { display: none; }

  .collection-compare__paging { min-height: 32px; }
  .collection-compare__paging-counter { min-width: 0; font-size: .72rem; }

  .collection-compare__table {
    width: calc(var(--compare-products) * var(--compare-column-width, 170px));
  }

  .comparison-page .collection-compare__scroller:not(.collection-dimensions__scroller) {
    scroll-snap-type: x mandatory;
  }

  .comparison-page .collection-compare__scroller.is-animating:not(.collection-dimensions__scroller) {
    scroll-snap-type: none;
  }

  .collection-compare__row {
    grid-template-columns: repeat(var(--compare-products), var(--compare-column-width, 170px));
  }

  .collection-compare__row > .collection-compare__label {
    position: sticky;
    left: 0;
    z-index: 24;
    grid-column: 1 / -1;
    width: calc(100vw - 30px);
    min-height: 26px;
    padding: 4px 8px;
    border-right: 0;
    border-bottom: 1px solid var(--atlas-line);
    box-sizing: border-box;
    font-size: .74rem;
    line-height: 1.2;
  }

  .collection-compare__row > .collection-compare__value {
    min-height: 28px;
    padding: 4px 6px;
    font-size: .76rem;
    line-height: 1.2;
    scroll-snap-align: start;
    text-align: center;
  }

  .collection-compare__row:not(.collection-compare__heads)[data-zebra] > .collection-compare__label { background: #fff; }
  .collection-compare__row:not(.collection-compare__heads)[data-zebra] > .collection-compare__value { background: #eef3f8; }

  .collection-compare__heads > .collection-compare__label {
    min-height: 40px;
    padding-bottom: 9px;
    justify-content: center;
  }

  .collection-compare__heads--sticky {
    width: calc(var(--compare-products) * var(--compare-column-width, 170px));
    grid-template-columns: repeat(var(--compare-products), var(--compare-column-width, 170px));
  }

  .collection-compare__heads--sticky > .collection-compare__label,
  .collection-compare__heads--sticky .collection-compare-product__gallery,
  .collection-compare__heads--sticky .collection-compare-product__controls { display: none; }

  .collection-compare__heads--sticky .collection-compare-product {
    min-height: 0;
    gap: 8px;
    padding: 14px 12px;
  }

  .collection-dimensions__scroller {
    scroll-padding-left: 42px;
    scroll-snap-type: none;
    touch-action: pan-y;
  }

  .collection-dimensions__scroller.is-dragging { cursor: grabbing; user-select: none; }

  .collection-dimensions {
    --dimension-column: var(--compare-column-width, 154px);
    width: calc(42px + 5 * var(--dimension-column));
  }

  .collection-dimensions__stage {
    grid-template-columns: 42px repeat(var(--dimension-slots, 5), var(--dimension-column));
  }

  .collection-dimensions__setup,
  .collection-dimensions__setup.is-niche-enabled {
    width: calc(100vw - 30px);
    min-width: calc(100vw - 30px);
    max-width: calc(100vw - 30px);
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
  }

  .collection-dimensions__setup-toggle {
    display: flex;
    width: 100%;
    min-height: 60px;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 0;
    background: #fff;
    color: #172033;
    cursor: pointer;
    font: inherit;
    text-align: left;
  }

  .collection-dimensions__setup-toggle-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .collection-dimensions__setup-toggle-copy strong {
    font-size: .76rem;
    line-height: 1.25;
  }

  .collection-dimensions__setup-toggle-copy small {
    overflow: hidden;
    color: #64748b;
    font-size: .68rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .collection-dimensions__setup-toggle-indicator {
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid #dce2ea;
    border-radius: 50%;
  }

  .collection-dimensions__setup-toggle-indicator::before {
    position: absolute;
    top: 11px;
    left: 12px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: '';
    transform: rotate(45deg);
    transition: transform .16s ease, top .16s ease;
  }

  .collection-dimensions__setup.is-mobile-expanded .collection-dimensions__setup-toggle-indicator::before {
    top: 14px;
    transform: rotate(225deg);
  }

  .collection-dimensions__setup:not(.is-mobile-expanded) > :is(
    .collection-dimensions__limits,
    .collection-dimensions__orientation-options,
    .collection-dimensions__clearance-options,
    .collection-dimensions__clearance-summary
  ) { display: none; }

  .collection-dimensions__setup > :is(
    .collection-dimensions__limits,
    .collection-dimensions__orientation-options,
    .collection-dimensions__clearance-options
  ) {
    padding: 12px 14px;
    border-top: 1px solid #eef1f5;
    border-left: 0;
  }

  .collection-dimensions__limits,
  .collection-dimensions__orientation-options,
  .collection-dimensions__clearance-options {
    grid-template-rows: auto 65px;
  }

  .collection-dimensions__limits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collection-dimensions__orientation-options,
  .collection-dimensions__clearance-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .collection-dimensions__orientation-option,
  .collection-dimensions__clearance-option { min-height: 52px; height: auto; padding: 7px 8px; }

  .collection-dimensions__clearance-copy strong { font-size: .64rem; }

  .collection-dimensions__clearance-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 0;
    padding: 12px 14px;
    overflow: visible;
  }

  .collection-dimensions__clearance-summary-title {
    max-width: none;
    padding: 0;
  }

  .collection-dimensions__clearance-summary-item {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 8px 0 0;
    border-top: 1px solid #eef1f5;
    border-left: 0;
  }

  .collection-dimensions__clearance-summary-item > span {
    font-size: .61rem;
    text-align: center;
    white-space: normal;
  }

  .collection-dimensions__controls {
    min-height: 487px;
    padding: 14px 2px;
    background: #fff;
  }

  .collection-dimensions__ruler { height: 316px; flex-basis: 316px; }
  .collection-dimensions__ruler-title { right: 0; left: 0; font-size: .52rem; }
  .collection-dimensions__ruler-scale { right: 0; left: 24px; }
  .collection-dimensions__ruler-tick { width: 24px; padding-right: 6px; font-size: .52rem; }
  .collection-dimensions__ruler-tick::after { right: -3px; width: 6px; }

  .collection-dimensions__product {
    min-height: 487px;
    padding: 14px 7px 16px;
    scroll-margin-left: 42px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .collection-dimensions__image-box { overflow: hidden; }

  .collection-dimensions__title {
    min-height: 3.9em;
    max-height: 3.9em;
    -webkit-line-clamp: 3;
    font-size: .72rem;
    line-height: 1.3;
  }

  .collection-dimensions__sku { font-size: .58rem; }

  .collection-dimensions__installation {
    min-height: 26px;
    padding: 4px 6px;
    font-size: .61rem;
  }

  .collection-dimensions__required {
    margin-top: 7px;
    font-size: .59rem;
    line-height: 1.3;
  }

  .collection-dimensions__status {
    min-height: 26px;
    margin-top: 8px;
    padding: 4px 6px;
    font-size: .61rem;
  }

  .collection-dimensions__empty { display: none; }
  .collection-dimensions__value-placeholder { display: none; }

  .collection-dimensions__guide {
    left: 21px;
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  .collection-dimensions__guide > strong {
    position: sticky;
    left: 4px;
    display: inline-block;
    max-width: 118px;
    font-size: .54rem;
  }

  .collection-dimensions__guide--maximum > strong {
    padding: 0 4px;
    background: transparent;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 0 4px #fff;
  }

  .collection-dimensions__row {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    height: 54px;
    min-height: 54px;
    max-height: 54px;
  }

  .collection-dimensions__row > strong {
    position: sticky;
    left: 0;
    z-index: 8;
    display: flex;
    width: calc(100vw - 30px);
    height: 26px;
    min-height: 0;
    padding: 4px 8px;
    overflow: hidden;
    border-top: 1px solid var(--atlas-line);
    border-bottom: 1px solid var(--atlas-line);
    box-sizing: border-box;
    align-items: center;
    background: #fbfcfe;
    font-size: .68rem;
    line-height: 1.2;
    text-align: left;
  }

  .collection-dimensions__row-values {
    display: grid;
    width: max-content;
    height: 28px;
    margin-left: 42px;
    grid-template-rows: 28px;
    align-items: stretch;
  }

  .collection-dimensions__row-values > span {
    display: flex;
    height: 28px;
    min-height: 0;
    padding: 4px 6px;
    overflow: hidden;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    line-height: 1.2;
    text-align: center;
  }

  .collection-dimensions__pager .collection-compare__paging-button,
  .collection-dimensions__bottom-navigation .collection-compare__paging-button {
    width: 40px;
    height: 40px;
  }

  .collection-dimensions__bottom-navigation {
    width: calc(100vw - 30px);
    min-height: 56px;
    justify-content: flex-end;
    padding: 8px 12px;
  }

  .collection-dimensions__bottom-navigation > span { margin-right: auto; font-size: .74rem; }
}

@media(max-width:767px){
  .comparison-page,.wishlist-page{padding-top:6px;}
  .collection-breadcrumbs{margin-bottom:6px;font-size:13px;}
  .collection-page-heading{min-height:0;padding-bottom:12px;margin-bottom:14px;}
  .collection-page-heading > h1{font-size:1.72rem;}
  .comparison-page__intro,.wishlist-page__intro{margin-bottom:14px;}
}
.collection-empty { padding: 12px 0 32px; }
.collection-empty--compare{margin:12px 0 32px;padding:38px 20px;background:#fafbfc;border-radius:14px;text-align:center;}
.collection-empty__scale{display:grid;place-items:center;width:80px;height:80px;margin:0 auto 20px;border-radius:50%;background:#fff0f2;color:#ed0016;}
.collection-empty__scale svg{width:50px;height:50px;fill:none;stroke:currentColor;stroke-width:1.4;}
.collection-empty--compare h2{margin:0 0 12px;font-size:26px;color:#10213c;line-height:1.3;}
.collection-empty--compare p{margin:0 0 24px;color:#61758e;line-height:1.6;}
.collection-empty__actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;}
.collection-empty__actions a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:10px 20px;border:1px solid #dce3eb;border-radius:8px;background:#fff;color:#102846;text-decoration:none;font-weight:600;}
.collection-empty__actions .collection-empty__primary{background:#ed0016;border-color:#ed0016;color:#fff;}
.collection-empty__actions [hidden]{display:none!important;}
.collection-empty__actions .collection-empty__wishlist{min-height:52px;gap:8px;font-size:1rem;font-weight:500;color:#65758b;transition:color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease;}
.collection-empty__wishlist svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.4;}
@media(hover:hover) and (pointer:fine){.collection-empty__actions .collection-empty__wishlist:hover,.collection-empty__actions .collection-empty__wishlist:focus-visible{background:#fff5f5;color:#e30613;box-shadow:0 6px 16px rgba(227,6,19,.13);transform:translateY(-1px);}}
.collection-empty--compare .collection-empty__categories{text-align:left;margin-top:28px;}
@media(prefers-reduced-motion:reduce){.collection-empty__actions .collection-empty__wishlist{transition:none;}}
.collection-empty__intro { display:flex; align-items:center; gap:20px; padding:24px; background:#f6f8fa; border-radius:12px; }
.collection-empty__heart { display:grid; place-items:center; flex:0 0 56px; height:56px; border-radius:50%; color:#ed0016; background:#fff0f2; font-size:34px; }
.collection-empty__intro h2 { margin:0 0 6px; font-size:22px; color:#09203e; }
.collection-empty__intro p { margin:0; color:#61758e; }
.collection-empty__categories { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-top:20px; }
.collection-empty__categories a { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:100px; padding:24px; border:1px solid #dfe5ed; border-radius:10px; background:#fafbfc; color:#102846; font-weight:600; text-decoration:none; }
.collection-empty__categories a span:last-child { color:#ed0016; font-size:24px; }
.collection-empty__categories a:hover { border-color:#ed0016; background:#fff7f7; }
@media(max-width:700px) { .collection-empty__categories { grid-template-columns:repeat(2,minmax(0,1fr)); } .collection-empty__intro { padding:18px; gap:12px; } .collection-empty__categories a { padding:16px; } }
@media(max-width:480px) { .collection-empty__categories { grid-template-columns:1fr; } }
@media (prefers-reduced-motion: reduce) {
  .collection-wishlist-product,
  .collection-drawer,
  .collection-compare__sticky,
  .collection-switch span,
  .collection-switch span::after,
  .collection-dimensions__setup-toggle-indicator::before { transition: none; }
}

@media(max-width:767px){.collection-compare-product{transition:transform .15s ease,box-shadow .15s ease;background:#fff}.collection-compare-product.atlas-card-touch-active{transform:translateY(1px) scale(.985);box-shadow:inset 0 0 0 1px rgba(17,24,39,.16),0 5px 14px rgba(15,23,42,.08)}}
@media(prefers-reduced-motion:reduce){.collection-compare-product{transition:none!important}.collection-compare-product.atlas-card-touch-active{transform:none!important}}

/* One native link covers the mobile product card; controls stay independent. */
@media(max-width:767px){
 .collection-compare-product{position:relative;isolation:isolate;transition:background-color .15s ease,box-shadow .15s ease;touch-action:pan-x pan-y}
 .collection-compare-product__title{position:static!important}
 .collection-compare-product__title::after{content:"";position:absolute;inset:0;z-index:2;cursor:pointer}
 .collection-compare-product__controls,.collection-compare-product__action{z-index:3}
 .collection-compare-product__action{position:relative}
 .collection-compare-product.atlas-card-touch-active,.collection-compare-product:has(.collection-compare-product__title:active){transform:none!important;outline:none!important;border-color:#c7cbd0!important;box-shadow:0 0 0 1px #c7cbd0!important;background:#fff!important}
 .collection-compare-product__title:hover{color:var(--atlas-ink)}
}

/* Compare cards and the table use the storefront's neutral surfaces. */
.comparison-page .collection-category-picker summary,
.comparison-page .collection-category-picker__mobile {
  border-color: #e9edf2;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgb(25 39 56 / 7%), 0 8px 20px rgb(25 39 56 / 7%);
}
.comparison-page .collection-category-picker[open] summary,
.comparison-page .collection-category-picker summary:focus-visible {
  border-color: var(--atlas-red, #e30613);
}
.comparison-page .collection-compare__scroller,
.comparison-page .collection-compare__table,
.comparison-page .collection-compare__row,
.comparison-page .collection-compare__row > :is(.collection-compare__label, .collection-compare__value, .collection-compare-product),
.collection-compare__sticky .collection-compare-product {
  border-color: #e2e2e2;
}
.comparison-page .collection-compare__row[data-zebra="even"] > * { background: #f0f0f0; }
.collection-compare__heads:not(.collection-compare__heads--sticky) > .collection-compare-product { background: #fff; }
.comparison-page .collection-compare__row:not(.collection-compare__heads) > .collection-compare__label { font-size: 15px; }
.comparison-page .collection-compare__toolbar-paging:empty,
.comparison-page .collection-server-preview--compare .collection-server-preview__toolbar { display: none; }

@media (max-width: 800px) {
  .comparison-page .collection-server-preview--compare .collection-server-preview__card:nth-child(n + 3) { display: none; }
  .comparison-page .collection-compare--pair .collection-compare__toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 14px;
  }
  .collection-compare--pair .collection-compare__toolbar > .collection-compare__category { grid-area: 1 / 1 / 2 / -1; width: 100%; }
  .collection-compare--pair .collection-compare__category-label,
  .collection-compare--pair .collection-toolbar-spacer,
  .collection-compare--pair .collection-compare__heads > .collection-compare__label { display: none; }
  .collection-compare--pair .collection-category-picker,
  .collection-compare--pair .collection-category-picker summary { width: 100%; min-width: 0; }
  .collection-compare--pair .collection-category-picker summary { min-height: 44px; }
  .collection-compare--pair .collection-compare__toolbar > :is(.collection-switch, .collection-text-button) { grid-row: 2; margin-left: 0; }
  .collection-compare--pair .collection-compare__toolbar > .collection-text-button { justify-self: end; }
  .comparison-page .collection-compare--pair .collection-compare__scroller {
    overflow: visible;
    border: 0;
    border-radius: 0;
    scroll-snap-type: none;
  }
  .comparison-page .collection-compare--pair .collection-compare__table { width: 100%; min-width: 0; border: 0; }
  .collection-compare--pair .collection-compare__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
  }
  .collection-compare--pair .collection-compare__heads {
    position: sticky;
    z-index: 30;
    column-gap: 8px;
    margin-bottom: 8px;
    background: #fff;
    clip-path: inset(var(--comparison-hidden-media, 0px) 0 0);
  }
  .collection-compare--pair .collection-compare-product {
    border: 0;
    min-height: 0;
    padding: 14px 10px 10px;
    touch-action: pan-y;
  }
  .collection-compare--pair .collection-compare-product__media { height: clamp(112px, 37vw, 190px); }
  .collection-compare--pair .collection-compare-product__controls { inset: 6px 4px auto auto; }
  .collection-compare--pair .collection-compare-product__title {
    min-height: 2.8em;
    overflow-wrap: anywhere;
  }
  .collection-compare--pair .collection-compare-product__action .collection-cart-button {
    box-sizing: border-box;
    padding-inline: 6px !important;
    text-align: center;
  }
  .collection-compare--pair .collection-compare-product__action .collection-cart-button.added::before {
    display: none;
  }
  .collection-compare--pair .collection-compare-product:has(.collection-compare-product__title:active) { box-shadow: none !important; }
  .collection-compare--pair .collection-compare__pair-picker {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
  }
  .collection-compare__pair-picker .collection-compare__paging-button {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e4e7eb;
    border-radius: 50%;
    background: rgb(255 255 255 / 94%);
    color: var(--atlas-ink, #111827);
    pointer-events: auto;
    transform: none;
  }
  .collection-compare__pair-picker .collection-compare__paging-button:focus-visible {
    outline: 2px solid var(--atlas-red, #e30613);
    outline-offset: 2px;
  }
  .collection-compare--pair .collection-compare__row:not(.collection-compare__heads) {
    padding-block: 6px 10px;
  }
  .comparison-page .collection-compare--pair .collection-compare__row:not(.collection-compare__heads) > .collection-compare__label {
    position: static;
    grid-column: 1 / -1;
    width: auto;
    min-height: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: #f0f0f0;
    color: var(--atlas-ink, #111827);
    text-align: center;
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .comparison-page .collection-compare--pair .collection-compare__row > .collection-compare__value {
    min-height: 0;
    padding: 8px 10px 3px;
    border: 0;
    background: #fff;
    color: var(--atlas-ink, #111827);
    text-align: center;
    font-size: .83rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
}
