/* Catalog-only layout: loaded after the legacy stylesheet. */
.shop-page { --catalog-line: #e5e2dd; color: #202020; background: #fff; }
.shop-page .shop-shell { width: 100%; max-width: none; margin-inline: auto; padding-inline: 50px; box-sizing: border-box; }
.shop-page .shop-catalog { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 4fr); gap: 24px; align-items: start; padding-block: 32px 56px; }
.shop-page .shop-results { min-width: 0; }
.shop-page .shop-filters { border: 1px solid var(--catalog-line); border-radius: 4px; scrollbar-width: thin; scrollbar-color: #c9c4bd transparent; }
.shop-page .shop-filters::-webkit-scrollbar { display: block; width: 4px; }
.shop-page .shop-filters::-webkit-scrollbar-thumb { background: #c9c4bd; border-radius: 4px; }
.shop-page .shop-filters__heading, .shop-page .shop-toolbar { min-height: 64px; height: auto; box-sizing: border-box; }
.shop-page .shop-filters__heading { padding: 16px; gap: 8px; }
.shop-page .shop-filters__heading strong { font-size: 16px; font-weight: 600; }
.shop-page .shop-filters__heading a { color: #666; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.shop-page .shop-filters__heading a:hover { color: #202020; }
.shop-page .shop-filter-group { display: block; min-width: 0; margin: 0; padding: 16px; border: 0; border-bottom: 1px solid var(--catalog-line); }
.shop-page .shop-filter-group legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; color: #202020; font-size: 14px; font-weight: 600; line-height: 20px; }
.shop-page .shop-filter-group legend + * { clear: both; }
.shop-page .shop-filter-group::after { content: ''; display: table; clear: both; }
.shop-page .shop-filter-group label { min-width: 0; min-height: 26px; gap: 9px; margin: 0 0 6px; font-size: 13px; line-height: 1.5; }
.shop-page .shop-filter-group label > span:not(.shop-color-filter__swatch):not(.screen-reader-text) { min-width: 0; overflow-wrap: anywhere; }
.shop-page .shop-filter-group input[type=checkbox], .shop-page .shop-filter-group input[type=radio] { flex: 0 0 16px; width: 16px; height: 16px; padding: 0; }
.shop-page .shop-filter-options { display: grid; gap: 3px; }
.shop-page .shop-filter-group--colors .shop-filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-page .shop-filter-group--colors .shop-color-filter { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; margin: 0; border: 1px solid transparent; border-radius: 50%; }
.shop-page .shop-color-filter input[type=checkbox] { position: absolute; width: 1px; height: 1px; min-width: 0; opacity: 0; }
.shop-page .shop-color-filter__swatch { width: 30px; height: 30px; box-sizing: border-box; }
.shop-page .shop-color-filter:has(input:checked) { border-color: #202020; background: #f5f3ef; }
.shop-page .shop-color-filter input:checked + .shop-color-filter__swatch { box-shadow: inset 0 0 0 2px #fff; }
.shop-page .shop-color-filter:has(input:checked)::after { content: 'Ã¢Å“â€œ'; position: absolute; right: -1px; bottom: -1px; width: 15px; height: 15px; border-radius: 50%; background: #202020; color: #fff; text-align: center; font: 11px/15px sans-serif; }
.shop-page .shop-price-inputs { gap: 8px; }
.shop-page .shop-price-inputs label { margin: 0; }
.shop-page .shop-price-inputs input { height: 40px; padding: 0 8px; box-sizing: border-box; font-size: 13px; background: #faf9f7; }
.shop-page .shop-filters__submit { display: block; width: calc(100% - 32px); margin: 16px; min-height: 44px; padding: 10px 8px; font-size: 13px; line-height: 1.4; letter-spacing: 0; }
.shop-page .shop-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 10px 0; border-bottom: 1px solid var(--catalog-line); }
.shop-page .shop-toolbar label { margin: 0; gap: 10px; }
.shop-page .shop-sort { width: auto; max-width: 100%; height: 40px; font-size: 13px; }
.shop-page .shop-products-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px 16px; padding: 0; background: transparent; align-items: stretch; }
.shop-page .shop-product-card { border: 1px solid #eeece8; background: #f7f6f3; border-radius: 4px; overflow: hidden; transition: box-shadow .18s ease; }
.shop-page .shop-product-card:hover { box-shadow: 0 6px 20px rgb(0 0 0 / 7%); }
.shop-page .shop-product-card .home-product-card__link { display: flex; flex-direction: column; min-width: 0; }
.shop-page .shop-product-card .home-product-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 12px; }
.shop-page .home-product-card__label { margin: 0 0 5px; font-size: 11px; font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 18px; }
.shop-page .home-product-card__title { height: 23px; font-size: 15px; line-height: 23px; }
.shop-page .home-product-card__meta { height: 38px; margin-top: 6px; line-height: 19px; color: #666; }
.shop-page .home-product-card__meta span { height: 19px; }
.shop-page .home-product-card__colors { min-height: 22px; margin: 6px 0 8px; flex-wrap: wrap; }
.shop-page .home-product-card__price { margin: auto 0 0; min-height: 44px; color: #151515; font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }
.shop-page .home-product-card__price del { display: inline; margin-left: 6px; color: #777; font-size: inherit; line-height: inherit; }
.shop-page .home-product-card__price ins { background: transparent; text-decoration: none; }
.shop-page .shop-products-empty { grid-column: 1 / -1; padding: 32px 20px; background: #f7f6f3; text-align: center; }
.shop-page .shop-category strong { font-weight: 500; line-height: 1.5; margin-top: 10px; }
.shop-page .shop-load-more-wrap { margin-top: 28px; }
@media (max-width: 1180px) {
  .shop-page .shop-catalog { grid-template-columns: 220px minmax(0,1fr); gap: 18px; }
  .shop-page .shop-products-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 12px; }
}
@media (max-width: 1024px) {
  .shop-page .shop-shell { padding-inline: 24px; }
  .shop-page .shop-products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .shop-page,
  .shop-page .shop-catalog,
  .shop-page .shop-results {
    min-width: 0;
    max-width: 100%;
  }

  .shop-page .shop-categories {
    overflow: hidden;
  }

  .shop-page .shop-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    overflow: visible;
  }

  .shop-page .shop-catalog {
    display: block;
  }

  .shop-page .shop-filter-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0 0 12px;
    padding: 0 14px;
    border: 1px solid #202020;
    border-radius: 0;
    background: #fff;
    color: #202020;
    visibility: visible;
    opacity: 1;
  }

  .shop-page .shop-filters {
    display: none !important;
    position: static;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    margin-bottom: 18px;
  }

  .shop-page .shop-filters.is-open {
    display: block !important;
  }

  .shop-page .shop-filter-group,
  .shop-page .shop-filters__heading {
    min-width: 0;
  }

  .shop-page .shop-load-more-wrap {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 24px;
    padding-top: 0;
  }

  .shop-page .shop-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 260px);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 600px) {
  .shop-page .shop-shell { width: 100%; padding-inline: 10px; }
  .shop-page .shop-catalog { padding-block: 20px 32px; }
  .shop-page .shop-toolbar { gap: 8px; min-height: 56px; margin-bottom: 12px; }
  .shop-page .shop-toolbar p { font-size: 12px; }
  .shop-page .shop-toolbar label { gap: 6px; font-size: 12px; }
  .shop-page .shop-toolbar label > span { display: flex; }
  .shop-page .shop-sort { max-width: 155px; padding-left: 8px; font-size: 12px; }
  .shop-page .shop-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }
  .shop-page .shop-product-card .home-product-card__body { padding: 10px 8px; }
  .shop-page .home-product-card__title { font-size: 13px; }
  .shop-page .home-product-card__price { font-size: 13px; }
  .shop-page .home-product-card__more { font-size: 10px; }
}

/* Category archive video uses the 12:5 banner format, up to 800px tall. */
.shop-category-video {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  max-height: 800px;
  aspect-ratio: 12 / 5;
  overflow: hidden;
  background: #1c1c1c;
  pointer-events: none;
  touch-action: pan-y;
}
.shop-category-video__poster {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
  pointer-events: none;
  touch-action: pan-y;
}
.shop-category-video__media {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  background: transparent;
  max-width: 100%;
  pointer-events: none;
  touch-action: pan-y;
}
/* The video remains visible even when a mobile browser delays autoplay events. */
.shop-category-video.is-playing .shop-category-video__media { opacity: 1; visibility: visible; }
.shop-category-video.is-playing .shop-category-video__poster { opacity: 0; visibility: hidden; }
.shop-category-video.is-fallback .shop-category-video__media { opacity: 0; visibility: visible; }
/* Keep decorative category video out of the touch hit-test and separate it from filters. */
.shop-page .shop-category-video { display: block; margin: 0 !important; line-height: 0; }
.shop-page .shop-category-video + .shop-catalog { margin-top: 24px !important; padding-top: 0 !important; }
@media (max-width: 600px) {
  .shop-page .shop-category-video + .shop-catalog { margin-top: 20px !important; }
}
