/* Balanced category presentation: generous product scale without awkward cropping. */
.collections .section-head{margin-bottom:44px}
.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:20px}
.collection-card,.collection-card.tall,
.collection-card[data-category="classic-inserts"],
.collection-card[data-category="shoulder-straps"],
.collection-card[data-category="hardware-protectors"]{
  grid-column:auto;grid-row:auto;min-height:0;height:auto;aspect-ratio:4/3;padding:28px
}
.collection-card .category-photo,.collection-card.tall .category-photo{inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.collection-card[data-category="shoulder-straps"] .category-photo{object-fit:contain;object-position:center;background:#f7f3ed;padding:2% 12%}
.collection-card[data-category="bag-pillows"] .category-photo{object-position:center 46%}
.collection-card[data-category="hardware-protectors"] .category-photo{object-position:center 45%}
.collection-card:has(.category-photo):after{background:linear-gradient(to bottom,rgba(24,18,15,0) 42%,rgba(28,20,17,.18) 66%,rgba(28,20,17,.82) 100%)}
.collection-card span{max-width:80%;font-size:clamp(28px,2.5vw,40px);line-height:1.02}

/* Collection detail: make uploaded products occupy the frame consistently. */
.category-view-hero{min-height:520px;padding-block:58px}
.category-view-object.has-photo{width:min(520px,42vw);aspect-ratio:1;background:#eee7de}
.category-view-object.has-photo img{width:100%;height:100%;margin:0;object-fit:cover;object-position:center;mix-blend-mode:normal}
.category-view-products{padding-top:72px}
.overlay-product-grid{gap:34px 22px}
.overlay-product-visual{aspect-ratio:1/1.06;background:#f2ece4;border:1px solid rgba(35,29,25,.08)}
.overlay-product-visual img{inset:-3%;width:106%;height:106%;padding:0;object-fit:contain;object-position:center;background:#f7f3ed;mix-blend-mode:multiply}
.overlay-product-info{padding:17px 3px 0;gap:16px}
.overlay-product-info h3{font-size:clamp(22px,2vw,29px);line-height:1.05}
.overlay-product-info>span{flex:0 0 auto;font-size:18px}

@media(max-width:900px){
  .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .collection-card,.collection-card.tall,.collection-card[data-category="classic-inserts"],.collection-card[data-category="shoulder-straps"],.collection-card[data-category="hardware-protectors"]{aspect-ratio:1/1.08;padding:23px}
  .category-view-object.has-photo{width:min(520px,82vw)}
}
@media(max-width:600px){
  .collection-grid{grid-template-columns:1fr;gap:14px}
  .collection-card,.collection-card.tall,.collection-card[data-category="classic-inserts"],.collection-card[data-category="shoulder-straps"],.collection-card[data-category="hardware-protectors"]{aspect-ratio:4/3;padding:22px}
  .collection-card[data-category="shoulder-straps"]{aspect-ratio:4/3}
  .collection-card span{font-size:29px}
  .category-view-hero{min-height:0;padding-top:48px;padding-bottom:48px}
  .category-view-object.has-photo{width:88vw}
  .overlay-product-grid{gap:34px}
  .overlay-product-visual{aspect-ratio:1}
}
