/* Shared section rhythm across the storefront and school pages. */
:root{--section-space:clamp(40px,4.4vw,64px);--section-gap:clamp(24px,3vw,44px)}
body .shop-section,body.product-category-page .shop-section,body.home-page:not(.product-category-page) .shop-section{padding-top:var(--section-space);padding-bottom:var(--section-space)}
body .how-section,body.home-page:not(.product-category-page) .how-section,body .group-section{padding-top:var(--section-space);padding-bottom:var(--section-space);column-gap:var(--section-gap);row-gap:28px}
body .section-heading,body.product-category-page .section-heading{margin-bottom:28px;gap:24px}
body .how-section li{padding-top:20px;padding-bottom:20px}
body .school-store-bar,body.product-category-page .school-store-bar{margin-bottom:28px}
body .shirt-fit-guide{margin-top:32px;margin-bottom:36px}
@media(max-width:760px){
 :root{--section-space:36px;--section-gap:24px}
 body .section-heading,body.product-category-page .section-heading{margin-bottom:24px;gap:16px}
 body .how-section,body .group-section{row-gap:24px}
 body .how-section li{padding-top:18px;padding-bottom:18px}
}

/* Compact footer and matching spacing on product, collection and information pages. */
body footer{min-height:0;padding-top:26px;padding-bottom:22px;gap:10px}
body footer .footer-logo,body.home-page footer .footer-logo{width:clamp(240px,24vw,320px);max-width:80vw}
body .design-section{margin-bottom:36px}
body .design-section:last-child{margin-bottom:0}
body .design-section-title{margin-top:16px;margin-bottom:20px;padding-bottom:12px}
body .design-detail{min-height:0;padding-top:24px;padding-bottom:var(--section-space)}
body .design-detail-grid{gap:clamp(24px,3vw,40px)}
body .local-size-page{padding-top:24px;padding-bottom:var(--section-space)}
body .local-size-page .shirt-fit-guide{margin-top:24px;margin-bottom:32px}
body .local-size-page .shirt-fit-guide:last-child{margin-bottom:0}
body .coming-soon{min-height:0;padding-top:var(--section-space);padding-bottom:var(--section-space)}
@media(max-width:760px){
 body footer{padding-top:22px;padding-bottom:20px;gap:8px}
 body footer .footer-logo,body.home-page footer .footer-logo{width:240px;max-width:78vw}
 body .design-section{margin-bottom:28px}
 body .design-detail,body .local-size-page{padding-top:20px}
 body .design-detail-grid{gap:24px}
}

/* Keep the home shopping choices and the next section in one comfortable flow. */
body.home-page:not(.product-category-page) .home-school-picker{padding-top:20px;padding-bottom:20px;gap:20px}
body.home-page:not(.product-category-page) .category{padding-top:17px;padding-bottom:17px}
body.home-page:not(.product-category-page) .shop-section{padding-bottom:18px}
body.home-page:not(.product-category-page) .shop-section{padding-top:clamp(28px,3vw,44px)}
body.home-page:not(.product-category-page) .how-section{padding-top:32px}
body.home-page:not(.product-category-page) .how-section li{padding-top:16px;padding-bottom:16px}
/* Match the first hero's top breathing room to the other section transitions. */
body.home-page .brand-hero{min-height:520px;padding-top:44px;padding-bottom:78px}
@media(max-width:760px){
 body.home-page .brand-hero{min-height:0;gap:24px;padding-top:34px;padding-bottom:76px}
 body.home-page:not(.product-category-page) .home-school-picker{padding-top:18px;padding-bottom:18px;gap:12px}
 body.home-page:not(.product-category-page) .shop-section{padding-bottom:14px}
 body.home-page:not(.product-category-page) .shop-section{padding-top:26px}
 body.home-page:not(.product-category-page) .how-section{padding-top:28px;row-gap:22px}
}

/* Give school merchandise more room while preserving complete garment views. */
@media(min-width:1001px){
 body.school-store-page .marcus-hero{grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr);gap:clamp(24px,3vw,48px);padding-left:clamp(28px,4vw,72px);padding-right:clamp(28px,4vw,72px)}
 body.school-store-page .marcus-hero-copy h1{font-size:clamp(3.5rem,5.5vw,6rem)}
}
body.school-store-page .marcus-hero-media{width:100%;min-width:0}
/* Sizing and return controls have identical outer dimensions on every collection. */
body .collection-actions .size-guide-button,body .collection-actions>.previous-page-button,
body .marcus-shirt-actions .size-guide-button,body .marcus-shirt-actions>.previous-page-button{
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
 width:230px;min-width:230px;height:46px;min-height:46px;padding:10px 14px;
 border-width:1px;border-style:solid;border-radius:6px;font:700 13px/1.3 Arial,sans-serif;letter-spacing:0;text-align:center;
}
@media(max-width:520px){
 body .collection-actions,body .marcus-shirt-actions{gap:12px}
 body .collection-actions .size-guide-button,body .collection-actions>.previous-page-button,
 body .marcus-shirt-actions .size-guide-button,body .marcus-shirt-actions>.previous-page-button{width:210px;min-width:210px}
}
@media(min-width:1001px){body.school-store-page .hero-category-strip .category{min-width:0;font-size:clamp(.65rem,.85vw,.9rem);padding-left:3px;padding-right:3px}}

/* October 24: closer homepage transitions without compressing the artwork. */
body.home-page:not(.product-category-page) .shop-section{padding-top:22px;padding-bottom:8px}
body.home-page:not(.product-category-page) .section-heading{margin-bottom:18px}
body.home-page:not(.product-category-page) .home-school-picker{padding-top:12px;padding-bottom:14px}
body.home-page:not(.product-category-page) .home-school-heading{margin-bottom:10px}
body.home-page:not(.product-category-page) .category{padding-top:14px;padding-bottom:14px}
body.home-page:not(.product-category-page) .how-section{padding-top:20px;padding-bottom:32px}
body.home-page:not(.product-category-page) .group-section{padding-top:32px;padding-bottom:32px}
@media(max-width:760px){
 body.home-page:not(.product-category-page) .shop-section{padding-top:20px;padding-bottom:6px}
 body.home-page:not(.product-category-page) .section-heading{margin-bottom:16px}
 body.home-page:not(.product-category-page) .home-school-picker{padding-top:12px;padding-bottom:12px}
 body.home-page:not(.product-category-page) .how-section{padding-top:18px;padding-bottom:28px}
 body.home-page:not(.product-category-page) .group-section{padding-top:28px;padding-bottom:28px}
}

/* Compact the marked space above Find your colors on the main school selector. */
body.home-page:not(.product-category-page) .home-school-picker{padding-top:8px;padding-bottom:12px}
body.home-page:not(.product-category-page) .home-school-heading{position:relative;margin-bottom:8px}
body.home-page:not(.product-category-page) .home-school-heading p{position:absolute;left:0;top:50%;transform:translateY(-50%);margin:0}
@media(max-width:760px){
 body.home-page:not(.product-category-page) .home-school-heading p{position:static;transform:none;margin-bottom:3px}
}

/* Bright, readable category labels across storefront navigation. */
body .category-strip .category,body .hero-category-strip .category{color:#ffff00}
body .category-strip .category:hover,body .category-strip .category:focus-visible,body .hero-category-strip .category:hover,body .hero-category-strip .category:focus-visible{color:#ffff00}

/* Keep the homepage description’s intended phrase on its lower line. */
#category-description{white-space:pre-line}
