/* commerce */
/* product list: sidebar, toolbar, grid */
.product-list-section{padding-block:clamp(28px,4vw,56px) clamp(48px,6vw,88px)}
.product-list-header{max-width:960px;margin-bottom:24px}
.product-list-header h1{margin-bottom:.2em}
.zm-facts{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:14px;color:var(--soft);margin-bottom:10px}
.zm-facts span + span::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--accent);margin:0 12px 3px 0;vertical-align:middle}
.product-list-header .zm-lede{font-size:17px}
.zm-plp{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.product-list-sidebar{min-width:0}
.nested-category-tree-wrapper ul{list-style:none;margin:0;padding:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
.nested-category-tree-wrapper ul::-webkit-scrollbar{display:none}
.category-link{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:8px 12px;border:1px solid var(--line-strong);border-radius:999px;text-decoration:none;font-size:14px;font-weight:600;background:#fff}
.category-link.active{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
.category-link.active .zm-facet-n{color:var(--on-ink-soft)}
.zm-facet-n{font-size:12px;color:var(--soft);font-weight:500}
.product-list-filters-container{margin-top:12px}
.product-list-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}
.product-list-filters-sidebar-title{display:none;font:700 15px/1 var(--head-font);letter-spacing:.14em;text-transform:uppercase;margin:0 0 6px}
.zm-facet{position:relative}
.zm-facet summary{list-style:none;display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid var(--line-strong);border-radius:var(--radius);background:#fff;font-size:14px;font-weight:600;cursor:pointer}
.zm-facet summary::-webkit-details-marker{display:none}
.zm-facet summary::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.zm-facet ul{list-style:none;margin:0;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);position:absolute;z-index:20;top:calc(100% + 4px);left:0;min-width:210px;max-width:min(300px,calc(100vw - 32px));box-shadow:0 12px 24px rgba(17,26,21,.1)}
.zm-facet:nth-last-of-type(-n+2) ul{left:auto;right:0}
.zm-facet li{margin:0}
.zm-facet label{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:15px;cursor:pointer}
.zm-facet label .zm-facet-n{margin-left:auto}
.zm-facet input{accent-color:var(--ink);width:16px;height:16px}
.product-list-clear-filters-button{background:none;border:0;padding:8px 4px;font-size:14px;text-decoration:underline;color:var(--soft)}
.product-list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.product-list-result-count{margin:0;font-size:14px;color:var(--soft)}
.zm-sort{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--soft)}
.zm-sort select{padding:7px 10px;border:1px solid var(--line-strong);border-radius:var(--radius);background:#fff;color:var(--text)}
.zm-empty{padding:24px 0;color:var(--soft)}
@media (min-width:1100px){
  .zm-plp{grid-template-columns:240px minmax(0,1fr);gap:40px;align-items:start}
  .product-list-sidebar{position:sticky;top:96px}
  .nested-category-tree-wrapper ul{display:block;overflow:visible}
  .category-item{margin:0}
  .category-link{display:flex;justify-content:space-between;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:10px 2px;background:none}
  .category-link.active{background:none;color:var(--accent);border-color:var(--accent)}
  .category-link.active .zm-facet-n{color:var(--accent)}
  .product-list-filters-container{margin-top:28px}
  .product-list-filters{display:block}
  .product-list-filters-sidebar-title{display:block;margin-bottom:10px}
  .zm-facet{border-bottom:1px solid var(--line)}
  .zm-facet summary{display:flex;justify-content:space-between;border:0;border-radius:0;padding:12px 2px;background:none}
  .zm-facet ul{position:static;box-shadow:none;border:0;padding:0 2px 12px;min-width:0;max-width:none;background:none}
}

/* product cards */
.product-list-layout-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px}
.product-list-item{display:flex;flex-direction:column;min-width:0}
.product-list-item-link{display:block;text-decoration:none}
.product-list-image-wrapper{position:relative;aspect-ratio:1/1;background:var(--field);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.product-list-item-image{margin:0;position:absolute;inset:0}
.grid-image-wrapper{position:absolute;inset:0;padding:8%}
.grid-item-image{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.product-list-item-image.is-photo .grid-image-wrapper{padding:0}
.product-list-item-image.is-photo .grid-item-image{object-fit:cover;mix-blend-mode:normal}
.grid-image-hover{position:absolute;inset:0;padding:inherit;opacity:0;transition:opacity .25s;background:var(--field)}
.has-second:hover .grid-image-hover{opacity:1}
.zm-badge{position:absolute;z-index:2;left:10px;top:10px;font:700 15px/1 var(--head-font);letter-spacing:.04em;text-transform:uppercase;background:var(--ink);color:var(--on-ink);padding:6px 8px;border-radius:2px}
.product-list-item-meta{display:flex;flex-direction:column;flex:1 0 auto;padding-top:12px}
.zm-card-kind{margin:0 0 4px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--soft)}
.product-list-item-title{font:600 16px/1.3 var(--body-font);text-transform:none;letter-spacing:0;margin:0 0 6px}
.zm-card-specs{list-style:none;margin:0 0 6px;padding:0;display:flex;flex-wrap:wrap;gap:2px 10px;font-size:14px;color:var(--text)}
.zm-card-specs li + li::before{content:"/";color:var(--line-strong);margin-right:10px}
.zm-card-rate{min-height:22px;margin:0 0 8px;font-size:13px;line-height:22px}
.zm-stars{display:inline-flex;align-items:center;gap:5px;color:var(--soft)}
.stars-mark{color:var(--accent);letter-spacing:1px}
.product-list-title-price{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.product-list-item-price{font:700 21px/1 var(--head-font);color:var(--head)}
.product-list-item-price small{font:500 12px/1 var(--body-font);color:var(--soft);text-transform:uppercase;letter-spacing:.08em}
.zm-swatches{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:nowrap;align-items:center;gap:6px}
.zm-swatch{display:block;width:16px;height:16px;border-radius:50%;border:1px solid rgba(0,0,0,.18)}
.zm-swatch-more{font-size:12px;color:var(--soft)}
.zm-road{justify-content:stretch}
.zm-road-link{display:flex;flex-direction:column;justify-content:flex-end;height:100%;min-height:220px;padding:20px;border:2px solid var(--ink);border-radius:var(--radius);text-decoration:none;background:var(--card)}
.zm-road-link:hover{background:var(--accent-soft)}
.zm-road .product-list-item-title{font:700 24px/1.05 var(--head-font);text-transform:uppercase}
@media (max-width:699px){
  [data-hide-phone]{display:none!important}
  .product-list-header .zm-lede{display:none}
  .product-list-header{margin-bottom:12px}
  .zm-road .product-list-item-title{font-size:19px}
  .zm-road-link{padding:14px;min-height:0}
}
@media (min-width:700px){.product-list-layout-container{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 20px}}
@media (min-width:1100px){.product-list-layout-container.zm-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* product detail */
.product-detail-section{padding-block:clamp(20px,3vw,40px) clamp(48px,6vw,88px)}
.product-content-wrapper{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.product-gallery{min-width:0}
.product-gallery-slides-item{position:relative;aspect-ratio:1/1;background:var(--field);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.product-gallery-slides-item-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:4%}
.product-gallery-thumbnails{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:10px}
.product-gallery-thumbnails-item{position:relative;aspect-ratio:1/1;padding:0;background:var(--field);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.product-gallery-thumbnails-item[aria-current="true"]{border:2px solid var(--ink)}
.product-gallery-thumbnails-item img{width:100%;height:100%;object-fit:contain}
.product-meta{min-width:0}
.product-title{font-size:clamp(34px,3.6vw,54px);margin-bottom:.25em}
.product-review-summary{min-height:22px;margin-bottom:10px;font-size:14px}
.product-price{margin-bottom:16px}
.product-price-value{font:700 34px/1 var(--head-font);color:var(--head)}
.product-price .zm-small{margin:6px 0 0}
.zm-hero-specs{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.zm-hero-specs li{font:700 15px/1 var(--head-font);letter-spacing:.06em;text-transform:uppercase;padding:8px 10px;border:1px solid var(--head);border-radius:2px}
.product-variants{margin-bottom:20px}
.variant-option-title{font-size:14px;font-weight:600;margin-bottom:10px}
.zm-swatch-row{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.zm-swatch-link{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border:1px solid var(--line-strong);border-radius:999px;text-decoration:none;font-size:14px;background:#fff}
.zm-swatch-link .zm-swatch{width:22px;height:22px}
.zm-swatch-link[aria-current="true"]{border:2px solid var(--ink);font-weight:600}
.product-add-to-cart{margin-bottom:8px}
.product-description{margin:24px 0}
.zm-tech{margin-top:28px}
.zm-tech h2{font-size:24px;margin-bottom:10px}
.zm-spec-table th,.zm-spec-table td{padding:11px 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.zm-spec-table th{width:42%;font-weight:600;color:var(--soft);padding-right:16px}
@media (min-width:1000px){
  .product-content-wrapper{grid-template-columns:minmax(0,58fr) minmax(0,42fr);gap:48px;align-items:start}
  .product-gallery{position:sticky;top:96px}
}

/* order bar */
.zm-buyrail{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;gap:14px;padding:10px var(--g);background:var(--ink);color:var(--on-ink);transform:translateY(110%);transition:transform .25s}
.zm-buyrail.is-on{transform:none}
.zm-buyrail p{margin:0}
.zm-buyrail .rname{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.zm-buyrail .rprice{font:700 20px/1 var(--head-font)}
.zm-buyrail .zm-btn{background:#fff;border-color:#fff;color:var(--ink)}
@media (max-width:599px){.zm-buyrail .rname{display:none}.zm-buyrail{justify-content:space-between}}

/* shelf prose under the grid */
.zm-shelf-prose{display:grid;gap:28px}
.zm-shelf-prose .fe-block + .fe-block{margin-top:0}
.zm-shelf-text{max-width:74ch}
.zm-shelf-figure img{aspect-ratio:4/5;object-fit:cover}
@media (min-width:900px){
  .zm-shelf-prose.has-figure{grid-template-columns:minmax(0,4fr) minmax(0,6fr);gap:56px;align-items:start}
  .zm-shelf-figure{position:sticky;top:96px}
}
