/* Compact gallery grid for the Hats collection only; product detail pages are unchanged. */
.hats-head{padding-top:clamp(54px,6vw,90px);padding-bottom:clamp(24px,4vw,44px)}
.hats-head h1{margin-bottom:16px}
.hats-collection-section{padding-top:0;padding-bottom:clamp(56px,7vw,100px)}
.hats-collection-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));column-gap:clamp(14px,2vw,28px);row-gap:clamp(32px,4vw,55px)}
.hats-collection-grid>.hat-card{grid-column:span 2;min-width:0}
.hats-collection-card .hat-card-image{display:block;background:#efede8;overflow:hidden;line-height:0}
.hats-collection-card .hat-card-image img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center}
.hats-collection-card .hat-card-image:hover img{filter:brightness(.96)}
.hats-collection-card .hat-card-image:focus-visible,.hats-collection-card h2 a:focus-visible,.hats-collection-card .hat-collection-view:focus-visible{outline:2px solid #524337;outline-offset:4px}
.hats-collection-card .hat-card-copy{padding-top:13px}
.hats-collection-grid .hat-card-copy h3{font-family:var(--serif);font-size:clamp(1.12rem,1.8vw,1.52rem);font-weight:400;line-height:1.25;margin:0 0 7px;min-height:2.5em}
.hats-collection-grid .hat-price{font-family:var(--serif);font-size:clamp(1.05rem,1.4vw,1.25rem);line-height:1.2;margin:0 0 9px}
.hats-collection-card .hat-collection-view{display:inline-block;margin-top:0;font-size:.76rem;letter-spacing:.045em}
.hats-collection-note{color:var(--muted);font-size:.92rem;line-height:1.6;max-width:720px;margin:clamp(40px,5vw,65px) 0 0}
@media(max-width:1060px){
  .hats-collection-grid{grid-template-columns:repeat(6,minmax(0,1fr));column-gap:clamp(14px,3vw,26px)}
  .hats-seasonal-grid>.hat-card:nth-child(4){grid-column:3/span 2}
}
@media(max-width:680px){
  .hats-collection-grid{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(12px,3vw,20px);row-gap:35px}
  .hats-seasonal-grid>.hat-card:nth-child(4){grid-column:auto / span 2}
  .hats-western-grid>.hat-card:nth-child(3){grid-column:2/span 2}
  .hats-collection-grid .hat-card-copy h3{font-size:clamp(1rem,3.8vw,1.25rem);min-height:2.5em}
  .hats-collection-grid .hat-price{font-size:1.03rem}
  .hats-collection-card .hat-collection-view{font-size:.74rem}
  .hats-collection-note{margin-top:38px}
}

/* Separate editorial collection groupings; keep the card widths uniform. */
.hats-collection-section .hats-section-heading{
  font-family:var(--serif);font-size:clamp(1.55rem,2.7vw,2.25rem);font-weight:400;
  line-height:1.25;letter-spacing:-.01em;margin:0 0 clamp(24px,3vw,36px)
}
.hats-collection-section.hats-western-section{padding-top:0}
@media(min-width:1061px){
  .hats-western-grid>.hat-card:first-child{grid-column:2/span 2}
}
@media(max-width:1060px){
  .hats-western-grid>.hat-card:first-child{grid-column:auto/span 2}
}
@media(max-width:680px){
  .hats-collection-section .hats-section-heading{font-size:1.55rem;margin-bottom:22px}
  .hats-collection-section.hats-western-section{padding-top:0}
}
