/* Shared collection geometry across desktop, tablet and phone. */
.collection{width:100%;max-width:1440px;margin-inline:auto;padding:56px clamp(16px,4vw,64px)}
.collection .section-top{max-width:100%;margin:0 auto 32px;align-items:flex-end;gap:12px 32px}
.collection .section-top h2{font-size:clamp(28px,2.8vw,42px);line-height:1.15;max-width:29ch}
.collection .section-top>p{max-width:32ch;font-size:15px}
.collection-gallery{width:100%;margin:0 0 40px}
.collection-gallery .portfolio-grid{width:100%;max-width:none;gap:32px 24px;align-items:stretch;justify-content:center}
.collection-gallery .portfolio-grid>figure{flex:0 0 calc((100% - 48px)/3);width:calc((100% - 48px)/3);max-width:none;min-width:0;align-self:stretch;display:flex;flex-direction:column}
.collection-gallery .portfolio-grid>figure>button:first-child{flex:none;display:flex;align-items:center;justify-content:center;aspect-ratio:1;width:100%;height:auto;min-height:0;overflow:hidden;background:#e9dfd3}
.collection-gallery .portfolio-grid>figure>button:first-child img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;margin:0}
.collection-gallery .portfolio-grid>figure>button:first-child img[src="portfolio-1.jpg"]{width:119.2846%;flex-shrink:0;margin-left:-19.2846%}
.collection-gallery .portfolio-grid>figure>button:first-child .shirt-color-photo{flex:none;width:100%;aspect-ratio:1}
.collection-gallery .portfolio-grid>figure figcaption{font-size:18px;line-height:1.4;min-height:2.8em;margin:4px 0 0;padding:0 6px;overflow-wrap:anywhere}
.collection-gallery .shirt-colors{gap:10px;padding:14px 0 8px;min-height:80px;align-content:center}
.collection-gallery .shirt-colors .shirt-swatch{flex:none;width:32px;height:32px;min-width:32px}
.collection-gallery .shirt-colors .color-name{font-size:13px}
.message-collection{margin-top:40px;padding:36px 0 0}
.message-collection h2{font-size:clamp(28px,2.8vw,42px);margin:0 0 28px}
.message-collection .verse-gallery{width:100%;max-width:none;gap:32px 24px;grid-template-columns:repeat(3,minmax(0,1fr))}
.message-collection .verse-gallery figure>button{aspect-ratio:1;background:#e9dfd3}
.message-collection .verse-gallery figcaption{font-size:18px;line-height:1.4;min-height:2.8em;margin:4px 0 0;padding:0 6px;overflow-wrap:anywhere}
#products{max-width:none}
@media(max-width:900px){
 .collection{padding-block:40px}
 .collection .section-top{display:block;margin-bottom:28px}
 .collection .section-top>p{margin-top:12px;max-width:none}
 .collection-gallery .portfolio-grid>figure{flex-basis:calc((100% - 20px)/2);width:calc((100% - 20px)/2)}
 .collection-gallery .portfolio-grid,.message-collection .verse-gallery{gap:28px 20px}
 .message-collection .verse-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .collection{padding:32px 16px}
 .collection .section-top h2{font-size:29px;max-width:none}
 .collection .section-top>p{font-size:14px;line-height:1.5}
 .collection-gallery .portfolio-grid,.message-collection .verse-gallery{gap:24px 12px}
 .collection-gallery .portfolio-grid>figure{flex-basis:calc((100% - 12px)/2);width:calc((100% - 12px)/2);max-width:none}
 .collection-gallery .portfolio-grid>figure figcaption,.message-collection .verse-gallery figcaption{font-size:15px;min-height:2.8em;padding:0 2px}
 .collection-gallery .shirt-colors{gap:6px;padding:12px 0 6px;min-height:72px}
 .collection-gallery .shirt-colors .shirt-swatch{width:28px;height:28px;min-width:28px}
 .collection-gallery .shirt-colors .color-name{font-size:12px}
 .message-collection{margin-top:28px;padding-top:28px}
 .message-collection h2{font-size:29px;line-height:1.2;margin-bottom:24px}
 .saints-picker{width:calc(100vw - 24px);padding:20px;max-height:calc(100dvh - 24px)}
 .saints-picker .options label{flex:1 1 100%;min-width:0}
 .saints-picker .options input{width:100%;min-height:44px}
}
@media(max-width:340px){
 .collection-gallery .portfolio-grid>figure{flex-basis:100%;width:100%;max-width:280px}
 .message-collection .verse-gallery{grid-template-columns:1fr}
}
