.catalog-modern-hero,
.catalog-modern-shell {
  color: var(--lt-color-ink);
  font-family: var(--lt-font-sans);
}

.catalog-modern-hero {
  background: transparent;
  border-bottom: 0;
}

.catalog-modern-shell {
  padding-bottom: 88px;
  background: #fff;
}

html,
body.catalog-wide-prototype,
body.catalog-wide-prototype main,
body.catalog-wide-prototype .view,
body.catalog-wide-prototype .catalog-modern-shell {
  background: #fff;
}

.catalog-modern-shell .catalog-modern-breadcrumbs {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-height: 34px;
  margin: 0 !important;
  padding: 0;
  align-items: center;
  gap: 9px;
  color: var(--lt-color-ink-soft);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.catalog-modern-shell .catalog-modern-breadcrumbs [data-route] {
  cursor: pointer;
}

.catalog-modern-shell .catalog-workhead {
  padding-top: 10px;
  padding-bottom: 16px;
  border-bottom-color: var(--lt-color-line);
}

.catalog-modern-shell .catalog-modern-search label {
  min-height: 50px;
  border-color: var(--lt-color-line-strong);
  border-radius: var(--lt-radius-md);
  box-shadow: none;
}

.catalog-modern-shell .catalog-modern-search label:focus-within {
  border-color: var(--lt-color-ink);
  box-shadow: 0 0 0 3px rgba(29, 29, 34, 0.06);
}

.catalog-modern-shell .catalog-modern-search .btn {
  border-radius: var(--lt-radius-md);
}

.catalog-modern-shell .catalog-search-hashtag {
  color: var(--lt-color-link);
  text-underline-offset: 3px;
}

.catalog-modern-shell .catalog-type-chip,
.catalog-modern-shell .catalog-quick-chip,
.catalog-modern-shell .catalog-selected-chip,
.catalog-modern-shell .catalog-toolbar-btn {
  border-color: var(--lt-color-line);
  box-shadow: none;
}

.catalog-modern-shell .catalog-type-chip:hover,
.catalog-modern-shell .catalog-quick-chip:hover,
.catalog-modern-shell .catalog-toolbar-btn:hover {
  border-color: var(--lt-color-ink-soft);
}

.catalog-modern-shell .catalog-results-control-row select {
  border-color: var(--lt-color-line-strong);
  border-radius: var(--lt-radius-md);
  background: var(--lt-color-paper);
  box-shadow: none;
}

.catalog-modern-shell .catalog-results-control-row {
  position: sticky;
  top: 126px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 8px 16px;
  margin-bottom: 18px;
  padding: 12px 0;
  align-items: center;
  background: var(--lt-color-paper);
}

.catalog-modern-shell .catalog-results-meta {
  display: contents;
}

.catalog-modern-shell .catalog-type-chips--toolbar,
.catalog-modern-shell .catalog-search-hashtags {
  grid-column: 1 / -1;
}

.catalog-modern-shell .catalog-search-hashtags {
  margin-top: 0;
}

.catalog-modern-shell .catalog-results-control-row .catalog-selected-chips {
  grid-column: 1;
  min-height: 36px;
  margin-top: 0;
  align-items: center;
}

.catalog-modern-shell .catalog-results-control-row select {
  grid-column: 2;
  align-self: center;
}

.catalog-modern-shell .catalog-type-chip--extra {
  display: none;
}

.catalog-modern-shell .catalog-type-chips--toolbar.is-expanded .catalog-type-chip--extra {
  display: inline-flex;
}

.catalog-modern-shell .catalog-type-more {
  display: inline-flex;
  min-height: 31px;
  padding: 0 12px;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--lt-color-line);
  border-radius: 999px;
  background: var(--lt-color-paper);
  color: var(--lt-color-ink);
  cursor: pointer;
  font: 650 12px/1 var(--lt-font-sans);
}

.catalog-modern-shell .catalog-type-more:hover,
.catalog-modern-shell .catalog-type-more:focus-visible {
  border-color: var(--lt-color-ink-soft);
}

.catalog-modern-shell .catalog-type-chips--toolbar.is-expanded .catalog-type-more span {
  transform: rotate(180deg);
}

.catalog-modern-shell .catalog-modern-layout {
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 24px;
}

.catalog-modern-shell .catalog-smart-sidebar {
  top: 126px;
  max-height: calc(100svh - 126px);
  padding: 18px;
  border-color: var(--lt-color-line);
  border-radius: var(--lt-radius-xs);
  background: #fff;
  box-shadow: none;
}

body.catalog-wide-prototype .catalog-modern-shell .catalog-smart-sidebar {
  top: 126px;
  max-height: calc(100svh - 126px);
}

.catalog-modern-shell .catalog-filter-head,
.catalog-modern-shell .catalog-filter-group {
  border-color: var(--lt-color-line);
}

.catalog-modern-shell .catalog-filter-group summary {
  min-height: 44px;
  letter-spacing: 0;
}

.catalog-modern-shell .catalog-results-panel {
  min-width: 0;
}

.catalog-modern-shell .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
}

.catalog-modern-shell .catalog-card-media {
  border-color: var(--lt-color-line);
  border-radius: var(--lt-radius-xs) var(--lt-radius-xs) 0 0;
  box-shadow: none;
}

.catalog-modern-shell .catalog-card-media-indicators {
  position: absolute;
  z-index: 4;
  right: 10px;
  bottom: 9px;
  left: 10px;
  display: flex;
  gap: 4px;
  pointer-events: none;
}

.catalog-modern-shell .catalog-card-media-segment {
  height: 2px;
  flex: 1 1 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.catalog-modern-shell .catalog-card-media-segment.is-video {
  position: relative;
  background: #df7772;
}

.catalog-modern-shell .catalog-card-video-toggle {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0 0 0 2px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #191920;
  box-shadow: 0 5px 14px rgba(0,0,0,.12);
  cursor: pointer;
  font-size: 9px;
}

.catalog-modern-shell .catalog-card-video-toggle.is-playing {
  background: #df7772;
  color: #fff;
}

.catalog-modern-shell .catalog-favorite-inline {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.catalog-modern-shell .catalog-card-cart-action {
  border-width: 1.5px;
}

.catalog-modern-shell .catalog-card-current-color {
  min-width: 0;
  overflow: hidden;
  color: var(--lt-color-ink-soft);
  font: 500 12px/1.2 var(--lt-font-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-modern-shell .catalog-card-swatches {
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
}

.catalog-modern-shell .catalog-card-color-link {
  flex: 0 0 auto;
}

.catalog-modern-shell .catalog-card-composition {
  height: auto;
  min-height: 34px;
  overflow: visible;
}

.catalog-modern-shell .catalog-composition-part {
  display: inline-block;
  max-width: 100%;
  break-inside: avoid;
  overflow-wrap: break-word;
  white-space: normal;
}

body.catalog-wide-prototype {
  --catalog-wide-edge: clamp(18px, 2.2vw, 44px);
  --catalog-wide-shell: min(2200px, calc(100vw - (var(--catalog-wide-edge) * 2)));
}

body.catalog-wide-prototype .catalog-modern-shell.page {
  width: var(--catalog-wide-shell);
  margin-right: auto;
  margin-left: auto;
}

body.catalog-wide-prototype .catalog-modern-shell .catalog-modern-breadcrumbs {
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0;
}

.product-gallery-stage > .product-gallery-image,
.product-gallery-stage > .product-gallery-video {
  position: absolute;
  inset: 0;
}

.product-gallery-stage > [hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  body.product-modal-open .product-premium-layout {
    display: block;
    max-height: calc(100dvh - 106px);
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.product-modal-open .product-split-gallery {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  body.product-modal-open .product-gallery-stage,
  body.product-modal-open .product-gallery-thumbs,
  body.product-modal-open .product-premium-info {
    max-height: none;
  }

  body.product-modal-open .product-premium-info {
    overflow: visible;
  }
}

@media (min-width: 1800px) {
  body.catalog-wide-prototype .catalog-modern-shell .catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 2200px) {
  body.catalog-wide-prototype .catalog-modern-shell .catalog-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.catalog-modern-shell .catalog-card-body {
  border-color: var(--lt-color-line);
  border-radius: 0 0 var(--lt-radius-xs) var(--lt-radius-xs);
  background: var(--lt-color-paper);
  box-shadow: none;
}

.catalog-modern-shell .catalog-card:hover .catalog-card-media,
.catalog-modern-shell .catalog-card:hover .catalog-card-body,
.catalog-modern-shell .catalog-card:focus-within .catalog-card-media,
.catalog-modern-shell .catalog-card:focus-within .catalog-card-body {
  border-color: rgba(29, 29, 34, 0.22);
  box-shadow: var(--lt-shadow-soft);
}

.catalog-modern-shell .catalog-card-title {
  letter-spacing: 0;
}

.catalog-modern-shell .catalog-card-stock-line {
  color: var(--lt-color-success);
}

.catalog-modern-shell .catalog-card-color-link {
  color: var(--lt-color-link);
}

.catalog-modern-shell .catalog-card-width,
.catalog-modern-shell .catalog-card-numbers {
  color: var(--lt-color-ink-soft);
}

.catalog-modern-shell .catalog-card-width {
  border-bottom: 0;
}

.catalog-modern-shell .catalog-card-swatch-popover,
.catalog-modern-shell .catalog-empty-state {
  border-color: var(--lt-color-line);
  border-radius: var(--lt-radius-xs);
  box-shadow: var(--lt-shadow-menu);
}

@media (max-width: 1350px) {
  .catalog-modern-shell .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .catalog-modern-shell .catalog-modern-layout {
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 20px;
  }

  .catalog-modern-shell .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .catalog-modern-shell .catalog-results-control-row {
    top: 104px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-modern-shell .catalog-type-chips--toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .catalog-modern-shell .catalog-type-chips--toolbar::-webkit-scrollbar {
    display: none;
  }

  .catalog-modern-shell .catalog-type-chips--toolbar .catalog-type-chip,
  .catalog-modern-shell .catalog-type-more {
    flex: 0 0 auto;
  }

  .catalog-modern-shell .catalog-card:nth-child(even) .catalog-card-swatch-popover {
    right: 0;
    left: auto;
  }

  body.product-modal-open #view-product {
    padding: 10px;
  }

  body.product-modal-open .product-page-nav,
  body.product-modal-open .product-premium-layout {
    width: calc(100vw - 20px);
  }

  body.product-modal-open .product-premium-layout {
    max-height: calc(100dvh - 84px);
  }

  body.product-modal-open .product-premium-info {
    padding: 28px 20px 36px;
  }

  .catalog-modern-shell .catalog-results-control-row .catalog-selected-chips {
    min-height: 0;
  }

  .catalog-modern-shell .catalog-modern-layout {
    display: block;
  }

  .catalog-modern-shell .catalog-smart-sidebar {
    display: none;
  }

  .catalog-modern-shell .catalog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-modern-shell .catalog-modern-search label,
  .catalog-modern-shell .catalog-modern-search .btn,
  .catalog-modern-shell .catalog-results-control-row select,
  .catalog-modern-shell .catalog-toolbar-btn {
    border-radius: var(--lt-radius-sm);
  }
}
