/* The same collection is available in the first HTML response and in the live gallery. */
.collection{padding-top:88px;padding-bottom:76px}
.collection-heading{align-items:flex-end;justify-content:space-between;margin-bottom:72px;gap:48px}
.collection-heading>p{border:0;padding:0;font-size:20px;line-height:1.5;max-width:22ch}
.collection .product-wall{display:block}
.collection-index{
  display:flex;flex-wrap:wrap;gap:0 20px;border-block:1px solid #d9d4ca;
  margin-bottom:38px;padding:4px 0;
}
.collection-index a{
  display:inline-flex;min-height:44px;align-items:center;font-size:13px;font-weight:700;
  text-decoration:underline;text-decoration-color:#948870;
}
.collection-index a:hover,.collection-index a:focus-visible{color:#953416;text-decoration-color:currentColor}
.collection-language-title{
  margin:0 0 20px;font-size:.875rem;font-weight:550;letter-spacing:.09em;text-transform:uppercase;
}
.collection-chapter{margin-bottom:56px;padding-top:20px;border-top:1px solid #d9d4ca}
.collection-chapter-title{
  margin:0 0 24px;color:#161514;font-size:clamp(1.65rem,3vw,2.5rem);
  font-weight:550;letter-spacing:-.045em;line-height:1.13;text-wrap:balance;
}
.collection-language-title,.collection-chapter-title{scroll-margin-top:1.5rem}
.chapter-products{display:grid;grid-template-columns:minmax(0,1fr);gap:48px}
.collection .chapter-products > .wall-card[data-product]{grid-column:auto;background:transparent;border:0;overflow:visible}
.collection .wall-caption{display:block;padding:0 0 22px;min-height:0}
.collection .wall-caption :is(h4,h5){font-size:clamp(30px,3.1vw,52px);line-height:1.06;letter-spacing:-.035em;margin:0 0 14px;text-wrap:balance}
.collection .wall-description{font-size:16px;line-height:1.6;max-width:48ch;margin:0 0 14px;color:#35332f}
.collection .wall-link{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;width:auto;height:auto;padding:7px 0;border:0;border-bottom:1px solid #15151555;border-radius:0;font-size:14px;color:#151515;background:none}
.collection .wall-link:after{width:16px;height:16px;transition:transform .25s var(--ease)}
.collection .wall-link:hover{background:none;border-color:currentColor}
.collection .wall-link:hover:after{transform:translate(2px,-2px)}
.collection .wall-preview{flex:none;background:var(--card-color);border:1px solid #15151520;border-radius:0;text-align:left;transition:border-color .25s}
.collection .wall-picture{padding:clamp(12px,2vw,28px)}
.collection .wall-card[data-product] .wall-preview img{height:420px;padding:0;object-fit:contain;object-position:center;transform:none;background:#fff}
.collection .wall-card[data-product=wolne] .wall-preview img{height:480px;background:#ff602c}
.collection .wall-card[data-product=kratownik] .wall-preview img{background:#fef9ed}
.collection .wall-card[data-product=remont] .wall-preview img,.collection .wall-card[data-product=inflacja] .wall-preview img,.collection .wall-card[data-product=zakupowe] .wall-preview img{height:360px}
.collection .wall-card[data-product=inflacja] .wall-preview img{background:#deedf5}
.collection .wall-card[data-product=zakupowe] .wall-preview img{background:#faf7f0}
.collection .wall-card[data-product=ilezostaje] .wall-preview img{object-fit:contain;object-position:center;background:#5b6f70}
.preview-action{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:12px 24px;border-top:1px solid #15151520;font-size:14px;font-weight:700;color:#151515}
.preview-action>span{display:block;flex:none;width:20px;height:20px;background:currentColor;mask:url('assets/arrow.svg') center/contain no-repeat;transition:transform .25s var(--ease)}
.collection .wall-preview:hover{border-color:#15151588}
.collection .wall-preview:hover .preview-action>span{transform:translate(3px,-3px)}
.collection .collection-note{font-size:14px;line-height:1.6;margin-top:56px;max-width:1650px}
@media (min-width:760px){
  .chapter-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
  .chapter-products[data-count="3"] > .wall-card:first-child,
  .collection .chapter-products[data-count="1"] > .wall-card{grid-column:1 / -1}
}
@media (min-width:1200px){
  .collection{padding-top:62px;background:#f8f6f0}
  .collection-heading{margin-bottom:32px}
  .collection-index{gap:0 28px;margin-bottom:40px}
  .collection-index a{font-size:14px}
  .collection-language-title{color:#171815;margin-bottom:28px}
  .collection-chapter{margin-bottom:64px;padding-top:28px;border-top-color:#cfc7b7}
  .collection-chapter-title{font-size:clamp(2.1rem,3.6vw,3.65rem);margin-bottom:24px}
  .chapter-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
  .chapter-products[data-count="3"]{grid-template-columns:minmax(0,1.52fr) minmax(0,1fr)}
  .chapter-products[data-count="3"] > .wall-card:first-child{grid-column:1;grid-row:span 2}
  .chapter-products[data-count="3"] > .wall-card:not(:first-child){grid-column:2}
  .collection .chapter-products > .wall-card[data-product]{
    display:flex;flex-direction:column;border:1px solid #ded8ca;border-radius:14px;
    padding:clamp(15px,1.5vw,24px);background:#fffdf7;
  }
  .collection .wall-caption{
    display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex:1;padding-bottom:15px;
  }
  .collection .wall-caption :is(h4,h5){font-size:clamp(1.3rem,2.25vw,2.45rem);margin:0 0 8px}
  .collection .wall-description{font-size:14px;line-height:1.5;margin:0}
  .collection .wall-link{flex:none;font-size:12px;gap:8px;color:#33281a}
  .collection .wall-link:after{width:12px;height:12px}
  .collection .wall-preview{
    display:flex;flex-direction:column;border:0;border-radius:8px;
    background:color-mix(in srgb,var(--card-color) 66%,#fffdf7);
  }
  .collection .chapter-products[data-count="2"] .wall-caption{align-items:flex-start}
  .collection .chapter-products[data-count="2"] .wall-link{align-self:flex-end}
  .collection .wall-picture{padding:clamp(10px,1.15vw,18px);display:grid;align-items:center;flex:1}
  .collection .chapter-products > .wall-card[data-product] .wall-preview img{
    width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;object-position:center;
    background:transparent;border-radius:4px;
  }
  .collection .chapter-products[data-count="3"] > .wall-card:not(:first-child) .wall-preview img{aspect-ratio:2.4}
  .collection .chapter-products[data-count="3"] > .wall-card:first-child .wall-preview{flex:1}
  .collection .chapter-products[data-count="3"] > .wall-card:first-child .wall-caption{flex:none}
  .collection .chapter-products[data-count="3"] > .wall-card:not(:first-child) .wall-caption h5{font-size:clamp(1.3rem,1.8vw,2rem)}
  .collection .chapter-products[data-count="3"] > .wall-card[data-preview-frame="calculator"]:not(:first-child){
    display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:14px;align-items:stretch;
  }
  .collection .chapter-products[data-count="3"] > .wall-card[data-preview-frame="calculator"] .wall-caption{
    flex-direction:column;align-items:flex-start;justify-content:center;padding:0;
  }
  .collection .chapter-products[data-count="3"] > .wall-card[data-preview-frame="calculator"] .wall-picture img{
    height:clamp(190px,14vw,226px);aspect-ratio:auto;
  }
  .collection .chapter-products[data-count="3"] > .wall-card[data-preview-frame="calendar"]:first-child .wall-picture img{
    height:clamp(390px,37vw,570px);aspect-ratio:auto;
  }
  .collection .wall-card[data-product] .preview-action{
    width:100%;min-height:44px;padding:8px 14px;font-size:13px;
  }
  .collection .preview-action>span{height:16px;width:16px}
  .collection-language--english{
    padding:clamp(28px,3.6vw,58px);border-radius:16px;
    color:#f6f3eb;background:#171815;
  }
  .collection-language--english .collection-language-title{color:#f6f3eb}
  .collection .collection-language--english .chapter-products > .wall-card[data-product]{
    display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;
    gap:clamp(32px,5vw,92px);border:0;border-radius:0;background:transparent;padding:0;
  }
  .collection-language--english .wall-caption{display:block;padding:0}
  .collection-language--english .wall-caption h4{font-size:clamp(2.3rem,4.3vw,4.6rem);margin-bottom:18px}
  .collection-language--english .wall-description{color:#cfcdc3;font-size:16px;margin-bottom:14px}
  .collection-language--english .wall-link{color:#f6f3eb;border-bottom-color:#696a62}
}
@media(max-width:999px){
  .collection{padding-top:64px;padding-bottom:56px}
  .collection-heading{gap:32px;margin-bottom:48px}
  .collection-heading h2{font-size:clamp(44px,6.5vw,64px)}
  .collection-heading>p{font-size:16px}
  .collection .wall-caption :is(h4,h5){font-size:32px}
  .collection .wall-description{font-size:15px}
  .collection .wall-card[data-product=ktp] .wall-preview img{object-fit:cover;object-position:center 67%}
  .collection .wall-card[data-product=ilezostaje] .wall-preview img{object-fit:cover;object-position:center 75%}
}
@media(min-width:760px) and (max-width:999px){
  .collection .wall-card[data-product=ktp] .wall-preview img{height:max(420px,50vw)}
}
@media(max-width:759px){
  .collection{padding-top:48px;padding-bottom:48px}
  .collection-heading{display:block;margin-bottom:48px}
  .collection-heading h2{font-size:clamp(38px,8.5vw,60px)}
  .collection-heading>p{font-size:16px;margin-top:24px;max-width:none}
  .collection-index{margin-bottom:32px}
  .collection-chapter{margin-bottom:48px;padding-top:16px}
  .collection-chapter-title{margin-bottom:24px}
  .collection .wall-caption{padding-bottom:18px}
  .collection .wall-caption :is(h4,h5){font-size:clamp(30px,8.8vw,42px)}
  .collection .wall-description{font-size:16px}
  .collection .wall-picture{padding:16px}
  .collection .wall-card[data-product] .wall-preview img{height:340px}
  .collection .wall-card[data-product=wolne] .wall-preview img{height:420px}
  .collection .wall-card[data-product=plotmetr] .wall-preview img{height:390px}
  .collection .wall-card[data-product=kratownik] .wall-preview img{height:280px}
  .collection .wall-card[data-product=remont] .wall-preview img,.collection .wall-card[data-product=inflacja] .wall-preview img,.collection .wall-card[data-product=zakupowe] .wall-preview img{height:300px}
  .collection .wall-card[data-product=ktp] .wall-preview img{object-fit:contain;object-position:center}
  .preview-action{padding:12px 16px}
}
@media(max-width:600px){.collection .wall-card[data-product=ktp] .wall-preview img{height:auto}}
@media(max-width:370px){
  .collection .wall-picture{padding:12px}
  .collection .wall-card[data-product=kratownik] .wall-preview img{height:260px}
  .collection .wall-card[data-product=remont] .wall-preview img,.collection .wall-card[data-product=inflacja] .wall-preview img,.collection .wall-card[data-product=zakupowe] .wall-preview img{height:260px}
}
