/* Browse products */
.mast-name {display:inline-flex; align-items:center; gap:8px}
.mast-name img {width:39px; height:30px}
.gallery {min-width:0}
.gallery-head {display:flex; justify-content:space-between; align-items:center; gap:16px; padding:8px 0 21px}
.gallery-head h1 {font-size:clamp(27px,2.65vw,42px); font-weight:680; letter-spacing:-.056em}
.gallery-head p {margin:7px 0 0; color:var(--muted); font-size:14px}
.browse-types {display:flex; flex-wrap:wrap; gap:6px; padding-bottom:17px; border-bottom:1px solid var(--line)}
.browse-types a {display:inline-flex; align-items:center; min-height:33px; font-size:12px; font-weight:550; padding:5px 13px; border-radius:20px; background:var(--raised); color:var(--muted)}
.browse-types a:hover {color:var(--strong); box-shadow:inset 0 0 0 1px var(--muted)}
.browse-types [aria-current] {background:var(--accent); color:var(--accent-text)}
.browse-types [aria-current]:hover {color:var(--accent-text)}
.gallery-toolbar,.gallery-options,.sort-form,.gallery-search {display:flex; gap:9px; align-items:center}
.gallery-toolbar {justify-content:space-between; margin:15px 0 9px}
.gallery-options {flex:none}
.gallery-search {border-radius:8px; border:1px solid var(--line); padding:0 8px; max-width:310px; min-width:0; flex:1}
.gallery-search .ico {width:15px; color:var(--muted)}
.gallery-search input {border:0; padding:8px 0; background:transparent; line-height:1.4; font-size:13px}
.gallery-search:focus-within {outline:1px solid var(--muted)}
.gallery-search input:focus-visible {outline:0}
.search-submit {display:grid; place-items:center; min-width:27px; min-height:30px; border-radius:5px}
.search-submit:hover {background:var(--raised)}
.sort-form select {width:auto; padding:7px; font-size:12px; background:var(--surface); cursor:pointer; min-height:34px}
.gallery-options .secondary {min-height:34px; padding:5px 10px; font-size:12px}
.gallery-options .ico {width:15px}
.gallery-filters {display:flex; align-items:flex-end; flex-wrap:wrap; gap:12px; border:1px solid var(--line); padding:13px; border-radius:8px}
.gallery-filters label {flex:1 1 125px; font-size:12px}
.gallery-filters select {margin-top:4px; font-size:13px}
.gallery-count {display:flex; align-items:center; flex-wrap:wrap; gap:5px; margin:12px 0; font-size:12px; color:var(--muted)}
.gallery-count strong {font-weight:550; color:var(--strong)}
.filter-token {display:inline-flex; align-items:center; padding:3px 6px; gap:4px; border-radius:5px; background:var(--raised)}
.filter-token .ico {width:12px; height:12px}
.cover-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:23px 16px}
.gallery-item.card {border:0; border-radius:0; background:transparent; overflow:visible}
.gallery-cover {display:grid; place-items:center; position:relative; border-radius:10px; overflow:hidden; aspect-ratio:2; background:var(--raised); isolation:isolate}
.gallery-cover > img {position:absolute;inset:0;width:100%; height:100%; display:block; object-fit:cover; transition:transform .23s ease-out}
.gallery-cover:hover img,.gallery-cover:focus-visible img {transform:scale(1.025)}
.cover-initial {font:650 clamp(30px,4vw,68px) var(--mono); color:var(--strong)}
.cover-open {position:absolute; bottom:9px; right:9px; border-radius:50%; background:#161619; color:white; width:27px; height:27px; display:grid; place-items:center; opacity:0; transform:translateY(3px); transition:.18s}
.cover-open .ico {width:15px}
.gallery-cover:hover .cover-open,.gallery-cover:focus-visible .cover-open {opacity:1; transform:none}
.gallery-info {padding:10px 2px 0}
.gallery-name {display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:6px}
.gallery-name h2 {font-size:19px; margin:0; line-height:1.3}
.gallery-price {font:11px var(--mono); color:var(--muted); white-space:nowrap}
.gallery-info > p {color:var(--muted); font-size:13px; line-height:1.5; margin:6px 0; overflow-wrap:anywhere}
.gallery-by,.gallery-info footer,.gallery-info footer div {display:flex; align-items:center; flex-wrap:wrap; gap:5px}
.gallery-by {font-size:12px; color:var(--muted)}
.gallery-by a:hover {text-decoration:underline}
.gallery-info footer {margin-top:7px; padding-top:4px; border-top:1px solid var(--hair); justify-content:space-between; font-size:11px; color:var(--muted)}
.gallery-info footer div {gap:2px}
.gallery-info footer .action {min-height:29px; padding:3px 5px; font-size:11px}
.gallery-info footer .action .ico {width:15px; height:15px}
.cover-grid .empty {grid-column:1/-1}
@media(min-width:1600px) { :root {--page:1510px} .cover-grid {grid-template-columns:repeat(3,minmax(0,1fr))} }
@media(max-width:1020px) { .cover-grid {grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:680px) { .gallery-toolbar {align-items:stretch; flex-direction:column} .gallery-search {max-width:none} .gallery-options {justify-content:space-between} .gallery-head {align-items:start; flex-wrap:wrap; padding:1px 0 13px} .gallery-head p {font-size:13px} .browse-types {gap:5px; padding-bottom:12px} .browse-types a {padding:5px 9px; min-height:30px; font-size:11px} }
@media(max-width:535px) { .cover-grid {grid-template-columns:1fr; gap:18px} .mast-name img {width:30px;height:24px} .gallery-head .primary {font-size:12px;min-height:31px;padding:5px 10px} .gallery-head {gap:9px} .gallery-filters {gap:8px} .gallery-filters label {flex-basis:100px} }
@media(prefers-reduced-motion:reduce){.gallery-cover:hover img,.gallery-cover:focus-visible img {transform:none}}
