/* A photographic catalog, scoped away from the accepted homepage. */
.proporia-refined .photo-catalog{padding-top:58px;padding-bottom:76px;color:var(--atelier-text,#f1f0e9)}
.photo-catalog-heading{max-width:880px;margin-bottom:40px}
.proporia-refined .photo-catalog-heading h1{font:450 clamp(38px,4.5vw,64px)/1.08 "Instrument Sans",sans-serif;letter-spacing:-.035em;text-wrap:balance;margin:0 0 22px}
.photo-catalog-heading p{max-width:65ch;font-size:17px;line-height:1.65;color:#b5bdbe;margin:0}
.photo-filters{border-block:1px solid #343d40;padding:22px 0 0}
.photo-filter-main{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;align-items:end;gap:20px}
.photo-filter-fields{display:contents}
.photo-filter-toggle{display:none}
/* The list refreshes itself after each change, so „Pokaż lustra” is only the no-JS fallback (still the default button for Enter). */
@media(min-width:1001px){.photo-filters.is-auto .photo-filter-main{grid-template-columns:1.2fr 1fr 1fr}}
.photo-filters.is-auto .photo-filter-main>.button-primary{display:none}
.photo-filters label{display:flex;flex-direction:column;gap:9px;color:#b5bdbe;font-size:14px}
.photo-filters select,.photo-filters input[type=number]{box-sizing:border-box;width:100%;min-height:48px;border:1px solid #677377;background:#20282b;color:#f1f0e9;border-radius:0;padding:10px 12px;font:inherit;font-size:15px;color-scheme:dark}
.proporia-refined .photo-filters select{background-repeat:no-repeat;background-size:20px 20px;background-position:right 12px center;padding-right:38px}
.photo-filters input::placeholder{color:#b5bdbe;opacity:1}
.photo-filters .button-primary{display:flex;align-items:center;justify-content:center;gap:28px;min-height:48px;padding:10px 22px;background:#f1f0e9;color:#172023;border:0;font:500 15px "Instrument Sans",sans-serif;cursor:pointer}
.photo-filters .button-primary:hover{background:#dfc4a0}
.photo-filter-more{margin-top:18px;border-top:1px solid #343d40}
.photo-filter-more summary{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:16px;font-weight:500;color:#f1f0e9;cursor:pointer;list-style:none}
.photo-filter-more summary::-webkit-details-marker{display:none}
.photo-filter-more summary span{font-size:22px;font-weight:400}
.photo-filter-more[open] summary span{transform:rotate(45deg)}
.photo-filter-extra{display:grid;grid-template-columns:1fr 1fr 1.6fr 1fr;gap:20px;padding:10px 0 24px}
.photo-filter-extra .photo-check{grid-column:1/-1;flex-direction:row;align-items:center;min-height:44px;font-size:15px;color:#f1f0e9}
.photo-check input{width:18px;height:18px;accent-color:#dfc4a0;margin:0 4px 0 0}
.photo-results{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0;scroll-margin-top:100px;font-size:14px;color:#b5bdbe}
.photo-results p{margin:0}.photo-results strong{font-weight:500;color:#f1f0e9}.photo-results a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:5px}
.photo-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 26px}
.photo-product{min-width:0}
.photo-product-art{display:block;position:relative;overflow:hidden;aspect-ratio:1200/896;background:transparent}
.photo-product-art img{display:block;width:100%;height:100%;object-fit:cover;mask-image:linear-gradient(0deg,transparent,#000 12%);transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.photo-product:hover .photo-product-art img,.photo-product:focus-within .photo-product-art img{transform:scale(1.025)}
.photo-product-open{position:absolute;right:16px;bottom:16px;display:grid;place-items:center;width:42px;height:42px;background:#f1f0e9;color:#172023;border-radius:50%;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s}
.photo-product:hover .photo-product-open,.photo-product:focus-within .photo-product-open{opacity:1;transform:none}
.photo-product-tag{position:absolute;top:14px;left:14px;padding:7px 10px;font-size:13px;background:#101517;color:#f1f0e9}
.photo-product-heading{display:flex;justify-content:space-between;align-items:start;gap:14px;margin:17px 0 8px}
.proporia-refined .photo-product-heading h2{font:450 19px/1.35 "Instrument Sans",sans-serif;letter-spacing:-.015em;margin:0}
.photo-product-heading h2 span{display:block;font-size:16px;font-weight:400;letter-spacing:0;color:#b5bdbe;margin-top:5px}
.photo-product-heading h2 a{display:block;text-decoration:none}
.photo-product-price{white-space:nowrap;font:500 19px/1.35 "Instrument Sans",sans-serif;margin:0;font-variant-numeric:tabular-nums}
.photo-pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:56px 0 30px}
.photo-pagination a{display:grid;place-items:center;min-width:44px;height:44px;border:1px solid #677377;font-size:15px;text-decoration:none}
.photo-pagination a[aria-current=page]{background:#f1f0e9;border-color:#f1f0e9;color:#172023}
.photo-pagination a:hover{border-color:#dfc4a0}
.photo-page-previous svg{transform:rotate(180deg)}
.photo-page-gap{display:grid;place-items:center;min-width:24px;height:44px;color:#b5bdbe}
.photo-pagination .photo-page-mobile{display:none}
.photo-empty{padding:70px 0;max-width:600px}.photo-empty h2{font-size:30px}.photo-empty p{color:#b5bdbe}
.photo-catalog :focus-visible{outline:2px solid #dfc4a0;outline-offset:4px}
/* Three columns of ~300 px: the price goes under the title instead of breaking it. */
@media(min-width:1001px) and (max-width:1199px){.photo-product-heading{flex-direction:column;gap:6px}}
@media(max-width:1000px){.photo-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-filter-main{grid-template-columns:1fr 1fr}.photo-filter-extra{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.proporia-refined .photo-catalog{padding-top:36px;padding-bottom:48px}.photo-catalog-heading{margin-bottom:28px}.photo-catalog-heading p{font-size:16px}.photo-filter-main{gap:16px 12px}.photo-filters label{font-size:13px}.photo-filters select,.photo-filters input[type=number]{font-size:16px}.photo-filters .button-primary{gap:12px;padding:10px 12px}.photo-filter-extra{gap:16px 12px}.photo-product-grid{grid-template-columns:minmax(0,1fr);gap:34px}.photo-product-heading h2{font-size:20px}.photo-product-heading h2 span{font-size:16px}.photo-product-art{margin-inline:-6px}.photo-product-open{opacity:1;transform:none;width:38px;height:38px}.photo-pagination{gap:4px}.photo-pagination a{min-width:44px}.photo-pagination .photo-page-desktop{display:none}.photo-pagination .photo-page-mobile{display:grid}.photo-pagination .photo-page-gap{min-width:12px}.photo-results{font-size:13px}}
@media(prefers-reduced-motion:reduce){.photo-product-art img,.photo-product-open{transition:none;transform:none!important}}

/* Phones: one bar with „Filtry” and sorting; the rest opens below it. Without JS everything stays open. */
@media(max-width:767px){
/* #filtry: html keeps 100 px for the sticky desktop header; the phone header scrolls away. */
.photo-filters{scroll-margin-top:-88px}
.photo-filters.has-toggle .photo-filter-main{grid-template-columns:auto minmax(0,1fr)}
.photo-filters.has-toggle .photo-filter-toggle{order:-2;display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 14px;border:1px solid #677377;background:#20282b;color:#f1f0e9;font:500 16px "Instrument Sans",sans-serif;cursor:pointer}
.photo-filters.has-toggle .photo-filter-sort{order:-1}
.photo-filters.has-toggle .photo-filter-main>.button-primary{grid-column:1/-1}
.photo-filter-fields{display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:inherit}
.photo-filter-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;box-sizing:border-box;border-radius:11px;background:#dfc4a0;color:#172023;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.photo-filter-icon{margin-left:6px;font-size:22px;font-weight:400;line-height:1;transform:rotate(45deg);transition:transform .2s}
.photo-filters.is-collapsed .photo-filter-icon{transform:none}
.photo-filters.is-collapsed{padding-bottom:18px}
.photo-filters.is-collapsed .photo-filter-fields,.photo-filters.is-collapsed .photo-filter-main>.button-primary,.photo-filters.is-collapsed .photo-filter-more{display:none}
}
/* Phones: form and light one under the other, so the longest names („Ze światłem LED”, „Organiczne wydłużone”) are never cut. */
@media(max-width:480px){.photo-filter-fields{grid-template-columns:minmax(0,1fr)}}
@media(max-width:360px){.photo-filter-extra{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.photo-filter-icon{transition:none}}
