/* The collection: quiet typography, open space, and the clothes first. */
*, *::before, *::after { box-sizing: border-box; }
:root { --black: #171717; --white: #fff; --offwhite: #f6f6f6; --accent: #737373; }
body[data-catalog] { margin: 0; background: #fff; color: var(--black); font-family: 'Montserrat', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body[data-catalog] button, body[data-catalog] select, body[data-catalog] input { font-family: inherit; }
body[data-catalog] button, body[data-catalog] a { -webkit-tap-highlight-color: transparent; }
body[data-catalog] :focus-visible { outline: 2px solid #343434; outline-offset: 5px; }
.catalog-page { min-height: 65vh; padding-bottom: 84px; }
.catalog-heading { padding: 68px 24px 58px; text-align: center; }
.catalog-heading h1 { margin: 0; font-size: clamp(23px, 2.5vw, 32px); font-weight: 400; letter-spacing: .04em; line-height: 1.3; }
.catalog-heading p { max-width: 540px; margin: 20px auto 0; font-size: 12px; line-height: 1.9; font-weight: 400; color: #626262; }
#catalog { width: 100%; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 0 42px; border-top: 1px solid #e8e8e8; }
.catalog-count { margin: 0; color: #646464; font-size: 11px; line-height: 1.5; }
.catalog-filter-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0 8px 16px; border: 0; background: transparent; color: var(--black); font-size: 11px; cursor: pointer; }
.catalog-filter-toggle svg { width: 17px; height: 17px; }
.catalog-filter-toggle:disabled { color: #909090; cursor: default; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.catalog-card { min-width: 0; background: #f4f4f4; }
.catalog-product-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.catalog-image { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: #eeeeee; }
.catalog-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.catalog-image-label { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; padding: 25px; color: #747474; text-align: center; font-size: 11px; }
.catalog-image img + .catalog-image-label { visibility: hidden; }
.catalog-image.image-unavailable img { visibility: hidden; }
.catalog-image.image-unavailable .catalog-image-label { visibility: visible; }
.catalog-product-info { min-height: 100px; padding: 23px 22px 27px; text-align: center; }
.catalog-product-name { margin: 0; font-size: 12px; font-weight: 400; line-height: 1.7; }
.catalog-price { margin: 6px 0 0; font-size: 11px; color: #5e5e5e; line-height: 1.7; }
.catalog-card .catalog-product-link:focus-visible { outline-offset: -5px; }
@media (hover: hover) { .catalog-product-link:hover .catalog-image img { transform: scale(1.025); } .catalog-product-link:hover .catalog-product-name { text-decoration: underline; text-underline-offset: 4px; } }
.catalog-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 330px; padding: 60px 24px; text-align: center; background: #f6f6f6; }
.catalog-state h2 { margin: 0 0 12px; font-size: 18px; line-height: 1.5; font-weight: 400; }
.catalog-state p { max-width: 400px; margin: 0; color: #626262; font-size: 12px; line-height: 1.9; }
.catalog-state a, .catalog-state button { margin-top: 24px; padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--black); font-size: 11px; text-decoration: none; cursor: pointer; }
.catalog-loading { margin: 0; padding: 90px 24px; text-align: center; color: #626262; font-size: 12px; }
.catalog-pagination { padding: 42px 20px 0; text-align: center; }
.catalog-pagination p { margin: 0 0 20px; font-size: 11px; color: #646464; }
.catalog-more { min-width: 220px; min-height: 48px; padding: 12px 28px; border: 1px solid #383838; background: transparent; color: var(--black); font-size: 11px; cursor: pointer; }
.catalog-more:hover { background: #f4f4f4; }
.catalog-filter-dialog { position: fixed; inset: 0 0 0 auto; width: min(460px, 100%); height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: #fff; color: var(--black); }
.catalog-filter-dialog::backdrop { background: rgba(0, 0, 0, .32); }
.catalog-filter-form { display: flex; flex-direction: column; height: 100%; }
.catalog-filter-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 30px; border-bottom: 1px solid #e5e5e5; }
.catalog-filter-head h2 { margin: 0; font-size: 17px; font-weight: 400; }
.catalog-filter-close { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -12px -8px 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.catalog-filter-close svg { width: 20px; height: 20px; }
.catalog-filter-content { flex: 1; overflow-y: auto; padding: 10px 30px 30px; }
.catalog-filter-group { margin: 0; padding: 24px 0; border: 0; border-bottom: 1px solid #e5e5e5; }
.catalog-filter-group legend { float: left; width: 100%; margin-bottom: 18px; padding: 0; font-size: 12px; font-weight: 500; }
.catalog-filter-options { clear: both; display: flex; flex-direction: column; gap: 4px; }
.catalog-filter-option { display: flex; align-items: center; gap: 12px; min-height: 36px; font-size: 12px; line-height: 1.5; cursor: pointer; }
.catalog-filter-option input { flex-shrink: 0; width: 16px; height: 16px; margin: 0; accent-color: #222; cursor: pointer; }
.catalog-filter-select { display: block; clear: both; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bababa; border-radius: 0; background: #fff; color: var(--black); font-size: 12px; }
.catalog-filter-actions { padding: 22px 30px max(22px, env(safe-area-inset-bottom)); border-top: 1px solid #e5e5e5; }
.catalog-filter-reset { display: block; margin: 0 auto 19px; padding: 5px; border: 0; background: transparent; color: #535353; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.catalog-filter-apply { display: block; width: 100%; min-height: 48px; padding: 14px; border: 1px solid #1c1c1c; background: #1c1c1c; color: #fff; font-size: 11px; cursor: pointer; }
.catalog-filter-apply:hover { background: #353535; }
body.catalog-filter-open { overflow: hidden; }
[hidden] { display: none !important; }
@media (max-width: 1100px) { .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .catalog-toolbar { padding-right: 28px; padding-left: 28px; } }
@media (max-width: 700px) { .catalog-page { padding-bottom: 52px; } .catalog-heading { padding: 42px 24px 36px; } .catalog-heading p { max-width: 320px; margin-top: 16px; font-size: 11px; } .catalog-toolbar { min-height: 60px; padding-right: 20px; padding-left: 20px; } .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .catalog-product-info { min-height: 99px; padding: 17px 12px 24px; } .catalog-product-name { font-size: 11px; } .catalog-price { font-size: 10px; } .catalog-filter-head { padding-right: 24px; padding-left: 24px; } .catalog-filter-content, .catalog-filter-actions { padding-right: 24px; padding-left: 24px; } }
@media (prefers-reduced-motion: reduce) { .catalog-image img { transition: none; } }
