/* Category portraits */
#shopCategories .section-heading { margin-bottom: clamp(24px, 4vw, 52px); }
#categoryShowcase { row-gap: clamp(20px, 3vw, 38px); }
#categoryShowcase .category-tile {
    display: flex; flex-direction: column; align-items: center;
    height: auto; aspect-ratio: auto; overflow: visible;
    background: transparent; color: #352d27; text-align: center;
}
#categoryShowcase .category-tile[hidden] { display: none; }
#categoryShowcase .category-tile::after { content: none; }
#categoryShowcase .category-art {
    position: relative; inset: auto; z-index: auto; display: grid; place-items: center;
    width: min(76%, 172px); height: auto; aspect-ratio: 1; border-radius: 50%;
    overflow: hidden; background: #eee5d8; outline: 1px solid #d7cab7; outline-offset: 5px;
}
#categoryShowcase .category-tile-copy {
    position: static; padding: 16px 6px 0; width: 100%; color: inherit;
}
#categoryShowcase .category-tile-copy strong { font: 400 clamp(18px, 2vw, 26px)/1.12 Georgia, serif; }
#categoryShowcase .category-tile-copy span { color: #655a4f; }
#categoryShowcase .category-tile-copy b { display: none; }

/* Trending spotlight */
#trendingSection { background: #173b35; color: #fcf5e8; padding: clamp(18px, 4vw, 52px); }
#trendingSection .recent-heading { border: 0; padding: 0; margin-bottom: 24px; }
#trendingTitle { color: inherit; font-style: italic; }
#trendingTrack { gap: clamp(6px, 1vw, 14px); grid-auto-rows: clamp(140px, 15vw, 225px); }
#trendingTrack .product, #trendingTrack .product-visual, #trendingTrack .product-image { height: 100%; min-height: 0; }
#trendingTrack .product-image { aspect-ratio: auto; }
#trendingTrack .product:first-child:not(:only-child) { grid-row: span 2; }
#trendingTrack:not([data-columns="1"]):not([data-columns="2"]) .product:first-child:not(:only-child) { grid-column: span 2; }
#trendingTrack .product:only-child { grid-column: 1/-1; grid-row: span 2; }

/* Recently added prints */
#recentSection { overflow: visible; }
#recentSection .recent-heading { border-top: 0; padding-top: 0; }
#recentTitle { font-family: var(--sans, system-ui), sans-serif; letter-spacing: -.045em; font-weight: 600; }
#recentTrack { align-items: start; gap: clamp(14px, 2vw, 32px); }
#recentTrack .product-visual {
    padding: clamp(6px, 1vw, 12px); padding-bottom: clamp(16px, 2.3vw, 34px);
    background: #fffdf8; border: 1px solid #e1d9cb; box-shadow: 0 5px 12px #3d312312;
}
#recentTrack .product-image { aspect-ratio: 5/4; }
#recentTrack .product:nth-child(even) { margin-top: clamp(12px, 2.5vw, 36px); }

/* Gallery contact sheet */
#products:not(.list-view) { display: block; columns: 3; column-gap: 7px; }
#products:not(.list-view) .product { break-inside: avoid; margin: 0 0 7px; }
#products:not(.list-view) .product-image { aspect-ratio: 1; }
#products:not(.list-view) .product:nth-child(3n+1) .product-image { aspect-ratio: 3/4; }
#products:not(.list-view) .product:nth-child(3n+2) .product-image { aspect-ratio: 5/4; }
#products.small-collection:not(.list-view) { columns: 2; }
@media (max-width: 720px) {
    #trendingTrack { grid-auto-rows: auto; }
    #trendingTrack .product:first-child, #trendingTrack .product:first-child:not(:only-child) { grid-column: 1/-1; grid-row: auto; }
    #trendingTrack .product-image { aspect-ratio: 1; }
    #trendingTrack .product:first-child .product-image { aspect-ratio: 3/2; }
    #products:not(.list-view) { columns: 2; }
    #recentTrack .product-image { aspect-ratio: 1; }
}
