/* Collection covers, individual design cards and the product photo gallery. */
.zf-catalogue-section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.zf-catalogue-carousel { position: relative; }
.zf-catalogue-cover-track {
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0.25rem 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.zf-catalogue-cover-track::-webkit-scrollbar { display: none; }
.zf-catalogue-cover-track > li { flex: 0 0 calc((100% - 3.75rem) / 4); min-width: 0; scroll-snap-align: start; }
.zf-catalogue-cover-card { display: block; height: 100%; color: var(--zf-text); }
.zf-catalogue-cover { display: grid; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; place-items: center; background: var(--zf-surface); }
.zf-catalogue-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.zf-catalogue-cover-name { display: block; padding: 1rem 0.4rem 0.25rem; text-align: center; font-size: 0.875rem; line-height: 1.5; font-weight: 500; }
.zf-catalogue-arrow {
    position: absolute;
    top: 42%;
    z-index: 2;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid var(--lo-line);
    border-radius: 50%;
    color: var(--zf-text);
    background: var(--zf-background);
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.08);
}
.zf-catalogue-arrow--previous { left: -1rem; }
.zf-catalogue-arrow--next { right: -1rem; }
.zf-catalogue-arrow svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.4; }
.zf-catalogue-arrow:hover { background: var(--zf-surface); }
.zf-catalogue-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.25rem; }

.zf-storefront .zf-catalogue-heading { padding-block: 2.25rem 1.75rem; }
.zf-storefront .zf-catalogue-heading h1 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 500; letter-spacing: 0.08em; }
.zf-storefront .sg-catalog-layout { grid-template-columns: 14rem minmax(0, 1fr); gap: 2.5rem; margin-top: 1.75rem; }
.zf-storefront .sg-catalog-toolbar { min-height: 4rem; padding-block: 0.75rem; font-size: 0.8125rem; }
.zf-storefront .sg-catalog-toolbar select { min-height: 2.75rem; max-width: 14rem; border-radius: 0; padding-inline: 0.75rem 2rem; }
.zf-catalogue-sidebar { min-width: 0; }
.zf-storefront .sg-catalog-sidebar { position: static; max-height: none; overflow: visible; padding: 0; border: 0; }
.zf-catalogue-filter-toggle { display: none; }
.zf-catalogue-nav { margin-bottom: 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--lo-line); }
.zf-storefront .zf-catalogue-nav h2,
.zf-storefront .sg-catalog-filter-head h2 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; }
.zf-catalogue-nav ul { display: grid; gap: 0.25rem; margin-top: 0.75rem; max-height: 15rem; overflow-y: auto; scrollbar-width: thin; }
.zf-catalogue-nav a { display: block; padding: 0.55rem 0; color: var(--zf-muted); font-size: 0.8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.zf-catalogue-nav a:hover,
.zf-catalogue-nav a[aria-current="page"] { color: var(--zf-text); text-decoration: underline; text-underline-offset: 0.3em; }
.zf-storefront .sg-catalog-sidebar form { display: block; }
.zf-storefront .sg-catalog-sidebar input { border-radius: 0; }
.zf-storefront .sg-catalog-facet summary { min-height: 2rem; font-size: 0.8125rem; font-weight: 500; }
.zf-storefront .sg-catalog-facet-values { max-height: none; overflow: visible; gap: 0.125rem; }
.zf-storefront .sg-catalog-facet-values label { min-height: 2.25rem; font-size: 0.8125rem; }
.zf-storefront .sg-catalog-facet-values input { width: 1rem; height: 1rem; accent-color: var(--zf-primary); }
.zf-storefront .sg-catalog-breadcrumb { font-size: 0.75rem; line-height: 1.5; opacity: 1; color: var(--zf-muted); }
.zf-storefront .sg-catalog-results .zf-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.125rem; }
.zf-storefront .zf-products-grid .lo-card .lo-media { aspect-ratio: 2 / 3 !important; background: var(--zf-surface); }
.zf-storefront .zf-products-grid .lo-card .lo-media img { object-fit: contain !important; object-position: center !important; }
.zf-storefront .zf-products-grid .lo-card h3 { margin: 0; font-size: 0.8125rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.04em; }
.zf-storefront .zf-products-grid .lo-card > div:last-child { padding: 0.875rem 0 0.25rem; }
.zf-storefront .zf-products-grid .lo-card .zf-design-code { color: var(--zf-muted); font-size: 0.6875rem; letter-spacing: 0.03em; }
.zf-storefront .zf-products-grid .lo-card .text-xs { font-size: 0.8125rem; line-height: 1.5; }

.zf-storefront .zf-product-section { width: 100%; max-width: 1280px; margin-inline: auto; padding-block: 1.75rem 3.5rem; }
.zf-storefront .zf-product-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(1.5rem, 3vw, 2.5rem); }
.zf-storefront .zf-product-layout > .zf-design-gallery { width: 100%; max-width: 480px; margin-inline: auto; }
.zf-storefront .zf-product-panel { position: static; min-width: 0; padding-top: 0.5rem; }
.zf-storefront .zf-product-brand { color: var(--zf-muted); font-size: 0.75rem; letter-spacing: 0.12em; margin-bottom: 0.6rem; }
.zf-storefront .zf-product-title { color: var(--zf-text); font-size: clamp(1.5rem, 2.5vw, 2.125rem); font-weight: 500; line-height: 1.35; letter-spacing: 0.035em; overflow-wrap: anywhere; }
.zf-storefront .zf-product-meta { margin-block: 0.875rem 1.125rem; color: var(--zf-muted); font-size: 0.75rem; line-height: 1.5; }
.zf-storefront .zf-product-price { gap: 0.6rem; margin-bottom: 1rem; }
.zf-storefront .zf-product-price__now { color: var(--zf-text); font-size: 1.25rem; font-weight: 500; }
.zf-storefront .zf-product-option__legend { color: var(--zf-text); font-size: 0.8125rem; }
.zf-storefront .zf-product-option__values { gap: 0.5rem; }
.zf-storefront .zf-product-size { display: grid; min-width: 3rem; min-height: 2.75rem; padding: 0.6rem 0.85rem; place-items: center; border: 1px solid var(--lo-line); color: var(--zf-text); background: var(--zf-background); font-size: 0.8125rem; }
.zf-storefront .zf-product-option input:checked + .zf-product-size { border-color: var(--zf-primary); color: #fff; background: var(--zf-primary); }
.zf-storefront .zf-product-option input:disabled + .zf-product-size { opacity: 0.45; text-decoration: line-through; cursor: not-allowed; }
.zf-storefront .zf-product-option input:focus-visible + .zf-product-size { outline: 2px solid var(--zf-primary); outline-offset: 3px; }
.zf-storefront .zf-product-buy-row { margin-block: 1rem 0; }
.zf-storefront .zf-product-add { min-height: 3rem; font-size: 0.8125rem; letter-spacing: 0.12em; }
.zf-storefront [data-variant-cart-form][hidden],
.zf-storefront [data-variant-choice-prompt][hidden] { display: none !important; }

.zf-design-gallery { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "thumbnails"; align-items: start; gap: 0.875rem; min-width: 0; }
.zf-design-gallery:not(:has([data-gallery-thumbnails])) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage"; }
.zf-design-stage { position: relative; grid-area: stage; min-width: 0; }
.zf-design-image { position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border: 0; background: var(--zf-surface); cursor: zoom-in; touch-action: pan-y; }
.zf-design-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.zf-design-gallery[data-gallery-orientation="landscape"] .zf-design-image { aspect-ratio: var(--zf-gallery-image-ratio, 4 / 3); }
.zf-design-gallery[data-gallery-orientation="landscape"] .zf-design-image img { object-fit: contain; object-position: var(--zf-gallery-focal-position, center); }
.zf-design-zoom { position: absolute; right: 0.75rem; bottom: 0.75rem; display: grid; width: 2rem; height: 2rem; place-items: center; background: var(--zf-background); color: var(--zf-text); font-size: 1.25rem; line-height: 1; }
/* Sold-out badge: solid black label inset from the top-left of the image.
   Shared by the listing cards (.zf-soldout-flag) and the product gallery
   (.zf-design-badge) so both read the same. */
.zf-design-badge,
.zf-soldout-flag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-block;
  padding: 0.55rem 0.9rem;
  background: #111111;
  color: #ffffff;
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  -webkit-clip-path: none;
  clip-path: none;
}
.zf-design-thumbnails { display: flex; grid-area: thumbnails; flex-direction: row; gap: 0.65rem; margin: 0; padding: 0.125rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.zf-design-thumbnails li { flex: 0 0 80px; min-width: 0; }
.zf-design-thumbnails button { display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0.15rem; border: 1px solid transparent; background: var(--zf-surface); }
.zf-design-thumbnails button[aria-pressed="true"] { border-color: var(--zf-text); }
.zf-design-thumbnails img { display: block; width: 100%; height: 100%; object-fit: contain; }
.zf-design-empty { display: grid; grid-column: 1 / -1; width: 100%; aspect-ratio: 3 / 4; place-items: center; padding: 2rem; text-align: center; color: var(--zf-muted); background: var(--zf-surface); }
.zf-design-gallery .zf-gallery-lightbox { grid-area: auto; }
.zf-design-gallery .zf-gallery-lightbox__arrow[hidden] { display: none !important; }
.zf-design-gallery .zf-gallery-lightbox__stage:has(.zf-gallery-lightbox__arrow[hidden]) { grid-template-columns: minmax(0, 1fr); }
.zf-design-gallery .zf-gallery-lightbox__stage img { width: 100%; height: 100%; }
.zf-design-gallery .zf-gallery-lightbox__stage { touch-action: pan-y; }
.zf-storefront .zf-more-panel { min-width: 19rem; max-width: min(28rem, 90vw); max-height: min(36rem, 70vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.zf-design-gallery button:focus-visible,
.zf-catalogue-cover-card:focus-visible,
.zf-catalogue-arrow:focus-visible { outline: 2px solid var(--zf-primary); outline-offset: 3px; }

@media (max-width: 1199px) {
    .zf-catalogue-cover-track > li { flex-basis: calc((100% - 2.5rem) / 3); }
    .zf-catalogue-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .zf-storefront .sg-catalog-layout { grid-template-columns: 12.5rem minmax(0, 1fr); gap: 1.5rem; }
    .zf-storefront .sg-catalog-results .zf-products-grid { gap: 1.75rem 0.875rem; }
}
@media (max-width: 900px) {
    .zf-storefront .sg-catalog-layout { display: block; margin-top: 1rem; }
    .zf-storefront .sg-catalog-sidebar { margin-bottom: 1.5rem; border-block: 1px solid var(--lo-line); }
    .zf-catalogue-filter-toggle { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; cursor: pointer; font-size: 0.8125rem; font-weight: 500; }
    .zf-catalogue-filter-toggle::-webkit-details-marker { display: none; }
    .zf-catalogue-filter-toggle span { font-size: 1.25rem; transition: transform 0.15s; }
    .sg-catalog-sidebar[open] > .zf-catalogue-filter-toggle span { transform: rotate(45deg); }
    .zf-catalogue-filter-content { padding-block: 0.5rem 1.5rem; }
    .zf-storefront .sg-catalog-results .zf-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .zf-storefront .zf-product-layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .zf-storefront .zf-product-layout > .zf-design-gallery { max-width: 360px; }
    .zf-design-gallery { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "thumbnails"; }
    .zf-design-gallery:not(:has([data-gallery-thumbnails])) { grid-template-areas: "stage"; }
    .zf-design-stage { width: 100%; max-width: 100%; margin-inline: auto; }
    .zf-design-thumbnails { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; }
    .zf-design-thumbnails li { flex-basis: 72px; }
}
@media (max-width: 640px) {
    .zf-storefront .zf-catalogue-heading { padding: 1.65rem 1rem 1.35rem; }
    .zf-storefront .zf-catalogue-heading h1 { max-width: 20rem; margin-inline: auto; font-size: 1.35rem; line-height: 1.32; letter-spacing: 0.055em; }
    .zf-storefront .zf-catalogue-heading + .lo-section { padding-block: 1.65rem 2.5rem; }
    .zf-storefront .sg-catalog-breadcrumb { gap: 0.4rem 0.55rem; margin-bottom: 1.15rem; }
    .zf-storefront .sg-catalog-breadcrumb > span[aria-hidden="true"]:has(+ [aria-current="page"]) { display: none; }
    .zf-storefront .sg-catalog-breadcrumb > [aria-current="page"] { flex-basis: 100%; padding-top: 0.25rem; }
    .zf-catalogue-cover-track { gap: 0.75rem; }
    .zf-catalogue-cover-track > li { flex-basis: calc((100% - 0.75rem) / 2); }
    .zf-catalogue-cover-name { padding-top: 0.7rem; font-size: 0.75rem; }
    .zf-catalogue-arrow { width: 2rem; height: 2rem; }
    .zf-catalogue-arrow--previous { left: -0.75rem; }
    .zf-catalogue-arrow--next { right: -0.75rem; }
    .zf-catalogue-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.75rem; }
    .zf-storefront .sg-catalog-results .zf-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.75rem; }
    .zf-storefront .zf-products-grid .lo-card h3,
    .zf-storefront .zf-products-grid .lo-card .text-xs { font-size: 0.75rem; }
    .zf-storefront .sg-catalog-toolbar { gap: 0.5rem; flex-wrap: wrap; }
    .zf-storefront .sg-catalog-toolbar select { max-width: 12rem; font-size: 0.75rem; }
    .zf-storefront .zf-product-section { padding-top: 1.25rem; }
    .zf-storefront .zf-product-panel { padding-top: 0; }
    .zf-design-thumbnails li { flex-basis: 64px; }
}

/* ZF smooth product image motion 2026-10-06 */
.zf-storefront .lo-card .lo-media img {
  transform: translateZ(0) scale(1); transform-origin: center; backface-visibility: hidden;
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
.zf-storefront .lo-card .lo-media__secondary { opacity: 0; }
.zf-storefront .zf-design-image img {
  opacity: 1; transform: translateZ(0) scale(1); backface-visibility: hidden;
  transition: opacity 300ms cubic-bezier(0.22, 1, 0.36, 1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.zf-storefront .zf-design-image img.is-changing { opacity: 0.18; transform: scale(0.992); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .zf-storefront .lo-card:hover .lo-media img, .zf-storefront .lo-card:focus-within .lo-media img { transform: translateZ(0) scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .zf-storefront .lo-card .lo-media img, .zf-storefront .zf-design-image img { transition: none !important; transform: none !important; }
}
/* End ZF smooth product image motion 2026-10-06 */