/* A compact catalogue shelf, scoped to the homepage featured section. */
#featured-products{width:calc(100% - 64px)!important;max-width:1120px!important;margin:34px auto 52px!important;padding:28px 0 0!important;border-top:1px solid #dce8f1}
#featured-products .sw-section-head{margin-bottom:24px!important}
#featured-products .sw-section-head h2{font-size:clamp(27px,3vw,36px)!important;line-height:1.15!important;letter-spacing:-.035em!important;margin:0 0 9px!important}
#featured-products .sw-section-head>p{font-size:14px!important;line-height:1.6!important;color:#59738a!important;margin:0!important}
#featured-products .sw-tabs{display:flex!important;justify-content:center;flex-wrap:wrap;gap:6px!important;width:fit-content;margin:20px auto 0!important;padding:5px!important;background:#edf4f9;border:1px solid #dce7ef;border-radius:14px}
#featured-products .sw-tabs button{min-height:44px;padding:10px 18px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#435f77!important;font-size:13px!important;line-height:1.3!important;transition:background .2s,color .2s,box-shadow .2s}
#featured-products .sw-tabs button.active{background:#fff!important;color:#07558d!important;box-shadow:0 3px 10px #062f5910!important}
#featured-products .home-featured-grid.active{display:flex!important;gap:18px!important;padding:0 2px 12px!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth}
#featured-products .home-featured-grid.active::-webkit-scrollbar{display:none}
#featured-products .home-product-panel.active{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;padding:0!important;overflow:visible!important}
#featured-products .home-featured-grid[hidden]{display:none!important}
#featured-products .product-card{display:flex!important;flex:0 0 calc((100% - (var(--home-visible) - 1)*18px)/var(--home-visible))!important;flex-direction:column!important;width:calc((100% - (var(--home-visible) - 1)*18px)/var(--home-visible))!important;min-width:0!important;max-width:none!important;scroll-snap-align:start;border:1px solid #dee8f0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 4px 14px #062f5906!important;overflow:hidden!important;transition:transform .25s,box-shadow .25s,border-color .25s}
#featured-products .home-product-panel .product-card{flex:none!important;width:auto!important}
#featured-products .product-image{display:block!important;width:100%!important;aspect-ratio:1/1!important;height:auto!important;max-height:none!important;margin:0!important;background:linear-gradient(145deg,#f6fafc,#edf4f8)!important;overflow:hidden}
#featured-products .product-image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;padding:0;transform:none!important;transition:transform .35s cubic-bezier(.2,.7,.3,1)}
#featured-products .product-bottom{min-height:0!important;flex:1;display:flex!important;flex-direction:column!important;gap:8px!important;padding:14px!important}
#featured-products .product-meta{min-width:0;flex:1}
#featured-products .product-meta .category{font-size:10px!important;letter-spacing:.1em!important;color:#557489!important;line-height:1.4!important}
#featured-products .product-school-tags{display:flex!important;align-items:center;gap:5px!important;margin:6px 0!important;font-size:11px!important;line-height:1.4!important;color:#567189!important;min-width:0}
#featured-products .product-school-tags svg{width:13px!important;height:13px!important;flex-shrink:0}
#featured-products .product-school-tags span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#featured-products .product-meta h3{margin:6px 0!important;min-height:38px!important;font-size:15px!important;line-height:1.3!important;letter-spacing:-.015em!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#featured-products .product-meta p{margin:0 0 9px!important;font-size:11px!important;line-height:1.45!important;color:#637d90!important}
#featured-products .card-price-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px!important}
#featured-products .card-price-row strong{font-size:17px!important;line-height:1.4!important;color:#082f52!important}
#featured-products .card-price-row del{font-size:11px!important;color:#788998!important}
#featured-products .card-price-row em{font-size:10px!important;padding:3px 5px!important;background:#eaf5ee!important;color:#276444!important;border-radius:4px}
#featured-products .card-swatches{margin-top:8px!important;gap:6px!important}
#featured-products .card-sizes{margin-top:8px;color:#60788c;font-size:10px}
#featured-products .card-sizes>span{display:block;margin-bottom:5px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
#featured-products .card-sizes>div{display:flex;flex-wrap:wrap;gap:4px}
#featured-products .card-sizes button{min-width:29px;padding:4px 5px;border:1px solid #d4e1ea;border-radius:5px;background:#fff;color:#45657b;font-size:10px;line-height:1;cursor:pointer}
#featured-products .card-sizes button.selected{border-color:#0a477b;background:#0a477b;color:#fff}
#featured-products .card-sizes button:disabled{opacity:.35;cursor:not-allowed}
#featured-products .card-cart{margin-top:auto!important;width:100%!important;padding-top:3px!important}
#featured-products .card-cart button{width:100%!important;min-height:44px!important;padding:10px 12px!important;border-radius:9px!important;background:#0a477b!important;font-size:12px!important;box-shadow:none!important;transition:background .2s}
#featured-products .card-cart button svg{width:16px!important;height:16px!important}
#featured-products .wishlist{width:44px!important;height:44px!important;top:10px!important;right:10px!important;background:#fffffff0!important;box-shadow:0 3px 12px #062f590b!important;border:1px solid #e3ebf2!important;border-radius:50%!important}
#featured-products .wishlist svg{width:18px!important;height:18px!important}
#featured-products .sw-products-more{margin-top:24px!important}
#featured-products .home-category-section{margin-top:56px;padding-top:34px;border-top:1px solid #dce8f1}
#featured-products .home-category-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
#featured-products .home-category-head h3{margin:3px 0 7px;font-size:clamp(23px,2.5vw,31px);line-height:1.15;letter-spacing:-.03em;color:#082f52}
#featured-products .home-category-head p{margin:0;color:#59738a;font-size:13px;line-height:1.5}
#featured-products .home-category-kicker{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#1674a9}
#featured-products .home-category-head>a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;min-height:42px;padding:9px 15px;border:1px solid #ccddeb;border-radius:9px;color:#0a477b;font-size:12px;background:#fff}
#featured-products .home-category-head>a svg{width:15px;height:15px}
#featured-products .home-category-more{margin-top:18px!important;text-align:right}
#featured-products .home-category-more a{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:9px 16px!important;border:1px solid #ccddeb;border-radius:10px;font-size:12px!important;background:#fff;color:#0a477b}
#featured-products .sw-products-more a{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 18px!important;border:1px solid #ccddeb;border-radius:10px;font-size:13px!important;background:white;transition:background .2s}
#featured-products .sw-empty{grid-column:1/-1}
#featured-products a:focus-visible,#featured-products button:focus-visible{outline:3px solid #198bd4;outline-offset:3px}
@media(hover:hover) and (pointer:fine){#featured-products .product-card:hover{transform:translateY(-4px)!important;border-color:#afcfe5!important;box-shadow:0 12px 24px #062f5912!important}#featured-products .product-card:hover .product-image img{transform:scale(1.045)!important}#featured-products .card-cart button:hover{background:#0878bd!important}#featured-products .sw-products-more a:hover{background:#edf6fc}}
@media(max-width:1023px){#featured-products .product-card{flex-basis:calc((100% - 16px)/2)!important;width:calc((100% - 16px)/2)!important}#featured-products{max-width:680px!important}#featured-products .product-image{max-height:none!important;aspect-ratio:1/1!important}}
@media(max-width:560px){#featured-products{width:calc(100% - 28px)!important;margin:26px auto 34px!important;padding-top:22px!important}#featured-products .home-featured-grid.active{gap:12px!important}#featured-products .product-card{flex-basis:calc(100% - 34px)!important;width:calc(100% - 34px)!important}#featured-products .product-image{aspect-ratio:1/1!important}#featured-products .product-image img{padding:0}#featured-products .product-bottom{padding:10px!important}#featured-products .product-meta h3{font-size:14px!important;min-height:37px!important}#featured-products .card-price-row strong{font-size:16px!important}#featured-products .sw-tabs{gap:2px!important;width:100%;border-radius:12px}#featured-products .sw-tabs button{flex:1;padding:8px 5px!important;font-size:11px!important}#featured-products .sw-section-head>p{font-size:13px!important}}
@media(max-width:640px){#featured-products .home-category-head{align-items:flex-start;flex-direction:column;gap:13px}#featured-products .home-category-head>a{width:max-content}}
@media(prefers-reduced-motion:reduce){#featured-products .product-card,#featured-products .product-image img,#featured-products .sw-tabs button,#featured-products .card-cart button,#featured-products .sw-products-more a{transition:none!important}#featured-products .product-card:hover,#featured-products .product-card:hover .product-image img{transform:none!important}}

/* Keep the storefront content visible even when Chrome restores a mid-page scroll position. */
.schoolwear-theme main>section.reveal-ready,
.schoolwear-theme .home-category-section.reveal-ready,
.schoolwear-theme .sw-categories [data-reveal].reveal-ready{opacity:1!important;transform:none!important}
#featured-products .home-product-panel .product-card{flex-basis:auto!important;width:auto!important}

/* The tabbed panel is a static grid, so it needs its own column counts on small screens. */
@media(max-width:1023px){#featured-products .home-product-panel.active{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){#featured-products .home-product-panel.active{gap:12px!important}}

/* Collection banners match the scale and finish of the catalogue shelf. */
#home-collections{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:calc(100% - 64px)!important;max-width:1240px!important;margin:8px auto 24px!important;padding:18px 0!important;gap:16px!important;overflow:visible!important}
#home-collections .sw-collection-banner{position:relative;display:flex!important;align-items:center;flex:none!important;grid-column:auto!important;width:auto!important;min-width:0;min-height:290px!important;border:1px solid #d9e6ef!important;border-radius:16px!important;overflow:hidden;box-shadow:0 5px 18px #062f5907;transition:transform .25s,box-shadow .25s,border-color .25s}
#home-collections .boys{background:linear-gradient(135deg,#f0f7fc,#e1edf7)!important}
#home-collections .girls{background:linear-gradient(135deg,#fff8f5,#f5e8e5)!important}
#home-collections .accessories{background:linear-gradient(135deg,#fffaf0,#f4eddc)!important}
#home-collections .sw-collection-banner>span{position:relative;z-index:3;display:flex;flex-direction:column;align-items:flex-start;width:60%!important;padding:22px 0 22px 20px!important}
#home-collections .sw-collection-banner small{font-size:10px!important;letter-spacing:.11em!important;font-weight:700;color:#506c82!important;text-transform:uppercase}
#home-collections .sw-collection-banner strong{display:block;max-width:100%;margin-top:10px!important;font-size:24px!important;line-height:1.15!important;letter-spacing:-.035em!important;color:#0a3458!important}
#home-collections .sw-collection-banner p{font-size:13px!important;line-height:1.5!important;margin:10px 0 16px!important;color:#526c81!important}
#home-collections .sw-collection-banner b{min-height:44px!important;padding:0 12px!important;border-radius:8px!important;font-size:11px!important;background:#fff!important;color:#0a4775!important;border:1px solid #cedee9;box-shadow:0 3px 8px #062f5908!important}
#home-collections .sw-collection-banner b svg{transition:transform .25s}
#home-collections .sw-collection-banner img{z-index:2;filter:drop-shadow(0 10px 12px #062f591c);transition:transform .35s}
#home-collections .product-one{right:0!important;bottom:22px!important;width:42%!important;height:73%!important;transform:rotate(3deg)}
#home-collections .product-two{right:0!important;bottom:5px!important;width:27%!important;height:40%!important;transform:rotate(-7deg)}
#home-collections .sw-collection-banner:focus-visible{outline:3px solid #198bd4;outline-offset:4px}
@media(hover:hover) and (pointer:fine){#home-collections .sw-collection-banner:hover{transform:translateY(-3px);border-color:#b3ccdf!important;box-shadow:0 12px 26px #062f5911}#home-collections .sw-collection-banner:hover .product-one{transform:rotate(1deg) translateY(-4px)}#home-collections .sw-collection-banner:hover .product-two{transform:rotate(-4deg) translateY(-3px)}#home-collections .sw-collection-banner:hover b svg{transform:translateX(3px)}}
@media(min-width:761px) and (max-width:1023px){#home-collections{grid-template-columns:repeat(2,minmax(0,1fr))!important}#home-collections .accessories{grid-column:1/-1!important;min-height:240px!important}#home-collections .accessories>span{width:56%!important}#home-collections .accessories .product-one{width:28%!important;right:10%!important}#home-collections .accessories .product-two{width:20%!important;right:2%!important}}
@media(max-width:760px){#home-collections{grid-template-columns:1fr!important;width:calc(100% - 28px)!important;gap:12px!important;margin-bottom:8px!important}#home-collections .sw-collection-banner{min-height:240px!important}#home-collections .sw-collection-banner>span{width:60%!important;padding:22px 0 22px 20px!important}#home-collections .sw-collection-banner strong{font-size:23px!important;max-width:235px}#home-collections .sw-collection-banner p{max-width:240px}#home-collections .product-one{height:88%!important;bottom:12px!important;width:39%!important}#home-collections .product-two{height:48%!important;width:24%!important}}
@media(prefers-reduced-motion:reduce){#home-collections .sw-collection-banner,#home-collections .sw-collection-banner img,#home-collections .sw-collection-banner b svg{transition:none!important}#home-collections .sw-collection-banner:hover,#home-collections .sw-collection-banner:hover b svg{transform:none!important}#home-collections .sw-collection-banner:hover .product-one{transform:rotate(3deg)}#home-collections .sw-collection-banner:hover .product-two{transform:rotate(-7deg)}}

.school-journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.school-journal-card{overflow:hidden;border:1px solid #d7e5f1;border-radius:18px;background:#fff;text-decoration:none;color:#0b3259;transition:transform .2s,box-shadow .2s}.school-journal-card>img{width:100%;aspect-ratio:16/9;object-fit:cover}.school-journal-card>div{padding:22px}.school-journal-card small{color:#54728f;font-size:12px}.school-journal-card h3{font-size:21px;line-height:1.35;margin:10px 0}.school-journal-card p{font-size:14px;line-height:1.65;color:#54728f;margin-bottom:18px}.school-journal-card b{font-size:14px}.school-journal-card:hover,.school-journal-card:focus-visible{transform:translateY(-4px);box-shadow:0 12px 24px #15375612}.school-journal-card:focus-visible{outline:3px solid #138ee6;outline-offset:3px}@media(max-width:720px){.school-journal-grid{grid-template-columns:1fr}.school-journal-card h3{font-size:20px}}@media(prefers-reduced-motion:reduce){.school-journal-card{transition:none}.school-journal-card:hover{transform:none}}
