/* Chicago Trains shared stylesheet: all pages use this single file. */
:root{font-family:Arial,Helvetica,sans-serif;color:#222;background:#f8f8f6;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a{color:inherit}img{display:block;max-width:100%}
.skip,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.skip:focus{clip:auto;width:auto;height:auto;left:1rem;top:1rem;z-index:10;background:#fff;padding:.7rem;overflow:visible}
.site-header{background:#fff}.masthead{display:block;max-width:1320px;margin:auto}.masthead img{width:100%;height:auto}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem max(20px,calc((100vw - 1220px)/2));border-top:1px solid #eee;border-bottom:1px solid #ddd}
.brand{font-size:1.2rem;font-weight:800;text-decoration:none;white-space:nowrap}.nav-links{display:flex;gap:1.4rem;flex-wrap:wrap;align-items:center}
.nav-links a{text-decoration:none;font-size:.93rem}.nav-links a:hover,.footer a:hover{text-decoration:underline}
.nav-links a[aria-current="page"]{color:#814a2a;text-decoration:underline;text-underline-offset:5px}
.search-label{margin-left:auto}.search-label input{width:205px;max-width:100%;border:1px solid #b9c4c9;border-radius:3px;padding:9px 10px;font:inherit}
main{max-width:1320px;margin:auto}h1{font-size:clamp(2rem,4.2vw,3.5rem);line-height:1.1;margin:.6rem 0 1rem}
h2{font-size:clamp(1.55rem,3vw,2.35rem);line-height:1.18;margin:.4rem 0 1rem}p{line-height:1.65}
.eyebrow{font-size:.76rem;letter-spacing:.15em;font-weight:800;color:#8d4d29}
.button{display:inline-block;background:#232a30;color:#fff;text-decoration:none;padding:.85rem 1.1rem;border-radius:3px;font-weight:700;margin-top:.6rem}
.button.light{background:#fff;color:#222}.button:hover{filter:brightness(.9)}
.footer{background:#202529;color:#f2f2f2}.footer-inner{max-width:1200px;margin:auto;padding:3rem 1.5rem;display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:2rem}
.footer-inner strong{display:block;margin-bottom:1rem}.footer-inner a{display:block;margin:.6rem 0;text-decoration:none}
.footer-inner p{color:#d1d5d8;font-size:.9rem}.copyright{border-top:1px solid #40464a;text-align:center;padding:1.2rem;font-size:.82rem;color:#c8cdd1}


/* === HOME PAGE ONLY === */

.home-page .hero{align-items:end;background:#28323b;display:flex;min-height:410px;position:relative}
.home-page .hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.home-page .hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.83),rgba(0,0,0,.23))}
.home-page .hero-content{position:relative;z-index:1;color:#fff;max-width:670px;padding:clamp(2rem,6vw,5rem)}
.home-page .hero .eyebrow,.home-page .logo-feature .eyebrow{color:#f1c49e}
.home-page .intro{padding:3rem 1.5rem;text-align:center;max-width:820px;margin:auto}
.home-page .category{display:grid;grid-template-columns:1.25fr 1fr;align-items:stretch;margin:0 1.5rem 2rem;background:#fff;box-shadow:0 1px 10px #0000000d}
.home-page .category-photo{min-height:340px}.home-page .category-photo img{width:100%;height:100%;object-fit:cover}
.home-page .category-copy{padding:clamp(1.6rem,4vw,3.5rem);align-self:center}.home-page .reverse .category-photo{order:2}
.home-page .logo-feature{background:#34383b;color:#fff;margin:0 1.5rem 3rem;padding:clamp(2rem,5vw,4rem);display:flex;gap:2rem;align-items:center;justify-content:space-between}
.home-page .logo-feature>div{max-width:720px}


/* === STATION SHIRTS PAGE ONLY === */

.station-page .hero{height:250px;position:relative;overflow:hidden;margin-top:12px}
.station-page .hero img,.station-page .feature>img{width:100%;height:100%;object-fit:cover}
.station-page .hero img{object-position:center 53%}
.station-page .hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.35),rgba(0,0,0,.12))}
.station-page .hero h1{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;text-align:center;margin:0;padding:24px;color:#fff;font-size:clamp(24px,3.1vw,39px);text-shadow:0 2px 8px #000}
.station-page .feature{height:395px;position:relative;overflow:hidden;margin-top:12px}
.station-page .feature>img{object-position:center}
.station-page .feature-panel{position:absolute;top:26px;left:26px;width:365px;max-width:calc(100% - 52px);background:#edf0f2;padding:28px 30px;color:#143641}
.station-page .feature-panel h2{font-size:28px;margin:0 0 16px}
.station-page .feature-panel p{font-size:16px;line-height:1.45;margin:0}
.station-page .about{padding:26px 24px 40px;background:#f4f6f7}
.station-page .about h2{margin-top:0}
.station-page .about p{max-width:800px}


/* === PRODUCT GRID === */

.catalog{padding:16px 8px 40px}
.catalog-heading{padding:4px 8px 14px}
.catalog-heading h2{font-size:22px;margin:0 0 6px}
.catalog-heading p{font-size:14px;margin:0;color:#52626a}
.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.product-card{min-width:0;border:1px solid #edf0f1;border-radius:3px;padding:6px 6px 10px;display:flex;flex-direction:column;background:#fff}
.product-card .product-image{display:inline-block;position:relative;margin:-6px -6px 2px;padding:6px}
.product-card .product-image::after{position:absolute;content:'';top:0;left:0;width:100%;height:100%;background:#000;opacity:0.03;pointer-events:none;}
.product-card img{width:100%;aspect-ratio:1/1.1;object-fit:contain;}
.product-card img.withbgcolor{width:100%;aspect-ratio:1/1.1;object-fit:contain;background:#f5f6f7}
.product-card .product-title{font-size:13px;line-height:1.4;margin:9px 2px 4px;min-height:54px}
.product-card .price{font-size:20px;font-weight:700;margin:0 2px 12px}
.product-card .purchase-links{display:flex;flex-direction:column;gap:7px;margin-top:auto}
.product-card .amazon-link,.product-card .ebay-link{display:block;border-radius:18px;text-align:center;padding:10px 8px;text-decoration:none;font-size:13px;font-weight:700}
.product-card .amazon-link{background:#ffd814;color:#171717}
.product-card .amazon-link:hover{background:#f7ca00}
.product-card .ebay-link{border:1px solid #2864b4;background:#fff;color:#174b8d}
.product-card .ebay-link:hover{background:#eaf2ff}
.product-card .links-pending{color:#67727a;text-align:center;font-size:12px;padding:10px 0}
.product-card .no-results{text-align:center;padding:30px}


/* === RESPONSIVE === */

@media(max-width:1000px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.nav{align-items:flex-start;flex-wrap:wrap;gap:12px}.nav-links{gap:.85rem}.search-label{width:100%;margin-left:0}.search-label input{width:100%}
.home-page .hero{min-height:470px}.home-page .category{grid-template-columns:1fr}.home-page .category-photo{min-height:240px}.home-page .reverse .category-photo{order:0}.home-page .logo-feature{align-items:flex-start;flex-direction:column}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.station-page .hero{height:215px}.station-page .feature{height:310px}.station-page .feature-panel{width:310px;padding:20px}.station-page .feature-panel h2{font-size:23px}.station-page .feature-panel p{font-size:14px}
.footer-inner{grid-template-columns:1fr 1fr}.footer-inner>div:first-child{grid-column:1/-1}}
@media(max-width:520px){.nav-links{gap:12px}.nav-links a{font-size:12px}.brand{font-size:1rem}
.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.station-page .hero{height:175px}.station-page .feature{height:300px}.station-page .feature-panel{top:15px;left:15px;max-width:calc(100% - 30px);padding:15px 18px;background:rgba(237,240,242,.95)}.station-page .feature-panel h2{font-size:21px;margin-bottom:8px}.station-page .feature-panel p{font-size:13px}.station-page .product-title{font-size:12px}.station-page .price{font-size:18px}}
@media(max-width:450px){.footer-inner{grid-template-columns:1fr}.footer-inner>div:first-child{grid-column:auto}}
