/*
Theme Name: Heritage TCG Storefront
Theme URI: https://heritagetcg.com/
Author: Heritage TCG
Description: Fast, responsive WooCommerce storefront for Heritage TCG.
Version: 1.0.0
Text Domain: heritage-tcg
*/

:root{--navy:#041725;--navy2:#071f32;--yellow:#ffd21c;--ink:#081422;--muted:#687281;--line:#dde3e9;--white:#fff;--max:1200px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,Arial,sans-serif;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}.topbar{background:var(--yellow);font-weight:800;font-size:12px;text-align:center;padding:9px}.site-header{background:var(--navy);color:#fff;position:sticky;top:0;z-index:50}.header-main{display:grid;grid-template-columns:250px 1fr auto;align-items:center;gap:28px;padding:18px 0}.brand{font-weight:950;font-size:27px;letter-spacing:-1px}.brand b{color:var(--yellow)}.brand small{display:block;font-size:8px;letter-spacing:2px;font-weight:700}.search-form{display:flex;background:#fff;border-radius:5px;overflow:hidden}.search-form input{border:0;flex:1;padding:13px 16px;font-size:14px}.search-form button{border:0;background:var(--yellow);width:54px;font-size:20px}.header-actions{display:flex;gap:18px;font-size:22px}.nav{border-top:1px solid #173044}.nav ul{display:flex;justify-content:space-between;list-style:none;margin:0;padding:0}.nav a{display:block;padding:14px 10px;font-size:12px;font-weight:850}.hero{background:#05192d url('assets/heritage-hero.png') center/cover no-repeat;color:#fff;min-height:430px;display:flex;align-items:center}.hero-copy{width:50%;padding:44px 0}.eyebrow{color:var(--yellow);font-weight:900;letter-spacing:.5px}.hero h1{font-size:54px;line-height:.96;margin:12px 0 14px;text-transform:uppercase;letter-spacing:-2px}.hero h1 span{color:var(--yellow)}.hero p{font-size:17px;line-height:1.5;max-width:550px}.buttons{display:flex;gap:14px;margin:24px 0}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 28px;border-radius:5px;font-weight:900;font-size:13px;border:2px solid var(--yellow)}.btn.primary{background:var(--yellow);color:#071522}.btn.ghost{color:#fff}.trust-row{display:flex;gap:25px;margin-top:28px;font-size:12px;font-weight:800}.trust-row span:before{content:'✓';color:var(--yellow);border:2px solid var(--yellow);border-radius:50%;padding:2px;margin-right:8px}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;padding:24px 0}.cat-card{min-height:145px;border-radius:7px;overflow:hidden;position:relative;background:linear-gradient(135deg,#11314f,#071624);color:#fff;padding:18px;display:flex;align-items:flex-end;box-shadow:inset 0 0 0 1px #ffffff1f}.cat-card:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 80% 20%,#ffd21c55,transparent 40%)}.cat-card:nth-child(2):before{background:radial-gradient(circle at 80% 20%,#ff642f77,transparent 45%)}.cat-card:nth-child(3):before{background:radial-gradient(circle at 80% 20%,#b553ff77,transparent 45%)}.cat-card:nth-child(4):before{background:radial-gradient(circle at 80% 20%,#23a8ff66,transparent 45%)}.cat-card:nth-child(5):before{background:radial-gradient(circle at 80% 20%,#ffb42766,transparent 45%)}.cat-card div{position:relative}.cat-card strong{display:block;font-size:15px;margin-bottom:5px}.cat-card small{color:#d8e2eb}.section{padding:12px 0 36px}.section-title{display:flex;justify-content:space-between;align-items:center;border-left:5px solid var(--yellow);padding-left:12px;margin:0 0 18px}.section-title h2{font-size:23px;margin:0;text-transform:uppercase}.section-title a{font-size:12px;font-weight:900}.products{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.product-card{border:1px solid var(--line);border-radius:7px;padding:12px;position:relative;text-align:center;background:#fff}.product-card .thumb{height:175px;display:grid;place-items:center;background:linear-gradient(145deg,#f6f8fa,#e9edf2);border-radius:5px;margin-bottom:12px}.product-card .thumb:after{content:'HERITAGE TCG';font-weight:950;color:#a9b2bd;transform:rotate(-12deg)}.badge{position:absolute;top:8px;left:10px;background:var(--yellow);padding:6px 12px;border-radius:4px;font-size:10px;font-weight:900}.product-card h3{font-size:13px;line-height:1.35;min-height:36px;margin:4px}.price{font-size:20px;font-weight:950;margin:5px}.stars{color:#f5a400;font-size:13px;margin-bottom:9px}.add{display:block;background:var(--yellow);padding:10px;border-radius:4px;font-size:12px;font-weight:900}.benefits{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0}.benefit-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}.benefit{font-size:11px}.benefit strong{display:block;font-size:12px;margin-bottom:3px}.story{background:linear-gradient(90deg,#061c2d 0%,#0a263c 55%,#111f2d 100%);color:#fff;padding:42px 0}.story-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:30px;align-items:center}.story h2{font-size:36px;line-height:1;margin:0 0 15px}.stats{display:grid;grid-template-columns:1fr 1fr;border:1px solid #ffffff30;border-radius:7px}.stat{padding:22px;border:1px solid #ffffff14}.stat b{display:block;color:var(--yellow);font-size:25px}.guides{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.guide{border:1px solid var(--line);border-radius:6px;overflow:hidden}.guide-img{height:115px;background:linear-gradient(135deg,#0f3150,#6c2ca6,#f4b218)}.guide-body{padding:14px}.guide h3{font-size:15px;margin:0 0 8px}.guide p{font-size:12px;color:var(--muted);min-height:42px}.site-footer{background:#041725;color:#fff;padding:38px 0 18px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr) 1.6fr;gap:28px}.footer-grid h4{font-size:12px}.footer-grid ul{list-style:none;padding:0;font-size:12px;line-height:1.8;color:#c6d0d9}.newsletter{display:flex}.newsletter input{min-width:0;flex:1;background:#122d42;border:1px solid #355066;padding:12px;color:#fff}.newsletter button{border:0;background:var(--yellow);font-weight:900;padding:0 15px}.copyright{border-top:1px solid #ffffff1e;margin-top:28px;padding-top:18px;font-size:11px;color:#b8c5cf}.woocommerce main,.site-main{width:min(var(--max),calc(100% - 40px));margin:36px auto}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{width:auto!important;margin:0!important;border:1px solid var(--line);padding:14px;border-radius:7px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--yellow)!important;color:#081422!important;border-radius:4px!important}.page-hero{background:var(--navy);color:#fff;padding:55px 0}.page-hero h1{margin:0;font-size:42px}.content-page{width:min(860px,calc(100% - 40px));margin:45px auto;line-height:1.75}
@media(max-width:900px){.header-main{grid-template-columns:1fr auto}.search-form{grid-column:1/-1;grid-row:2}.nav{overflow:auto}.nav ul{min-width:760px}.hero-copy{width:70%}.hero h1{font-size:44px}.category-grid{grid-template-columns:repeat(2,1fr)}.category-grid .cat-card:last-child{grid-column:1/-1}.products{grid-template-columns:repeat(2,1fr)}.benefit-grid{grid-template-columns:repeat(2,1fr)}.story-grid{grid-template-columns:1fr}.guides{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.wrap{width:min(100% - 24px,var(--max))}.topbar{font-size:10px}.brand{font-size:21px}.header-actions{gap:10px}.hero{background-position:62% center;min-height:520px}.hero:before{content:'';position:absolute;inset:0;background:#03152288}.hero{position:relative}.hero-copy{position:relative;width:100%;align-self:flex-end}.hero h1{font-size:39px}.hero p{font-size:15px}.buttons{flex-direction:column;align-items:flex-start}.trust-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.category-grid,.products,.guides{grid-template-columns:1fr}.category-grid .cat-card:last-child{grid-column:auto}.benefit-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.woocommerce ul.products{grid-template-columns:1fr}.story h2{font-size:30px}}
.catalog-empty{border:1px solid var(--line);background:#f7f9fb;border-radius:8px;padding:34px;text-align:center}.catalog-empty h2,.catalog-empty h3{margin-top:0}.catalog-empty p{color:var(--muted);max-width:700px;margin:0 auto 20px}.woocommerce-product-search{display:flex;max-width:650px}.woocommerce-product-search input{flex:1;min-width:0;padding:12px;border:1px solid var(--line)}.woocommerce-product-search button{border:0;background:var(--yellow);font-weight:900;padding:0 20px}.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--muted)}.woocommerce div.product div.images img{border-radius:8px}.woocommerce div.product .product_title{line-height:1.12}.woocommerce-message,.woocommerce-info{border-top-color:var(--yellow)}.woocommerce-message:before,.woocommerce-info:before{color:#9b7a00}.screen-reader-text{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}
.hero-note{font-size:12px!important;color:#d8e2eb;max-width:610px!important;border-left:3px solid var(--yellow);padding-left:12px}.section-intro{max-width:820px;line-height:1.7;margin:0 0 25px;color:#d7e2ec}.content-band{background:var(--navy);color:#fff;padding:45px 0}.section-title.light{border-left-color:var(--yellow)}.format-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.format-grid article{background:#0b2940;border:1px solid #ffffff1c;border-radius:7px;padding:22px}.format-grid h3{color:var(--yellow);margin:0 0 10px;font-size:18px}.format-grid p{color:#d7e2ec;font-size:14px;line-height:1.6;margin:0}.game-section{padding-top:42px}.game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.game-grid a{border:1px solid var(--line);border-radius:7px;padding:22px;background:linear-gradient(145deg,#fff,#f4f7fa);transition:transform .2s,border-color .2s}.game-grid a:hover,.game-grid a:focus{transform:translateY(-3px);border-color:#d2aa00}.game-grid span{font-size:18px;font-weight:900}.game-grid p{font-size:13px;line-height:1.55;color:var(--muted);margin-bottom:0}.checklist-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:45px;align-items:start}.checklist-grid h2{font-size:36px;line-height:1.08;margin:10px 0 15px}.checklist-grid>div>p{line-height:1.7;color:#d7e2ec}.buying-checklist{list-style:none;counter-reset:checks;margin:0;padding:0;display:grid;gap:10px}.buying-checklist li{counter-increment:checks;background:#0b2940;border:1px solid #ffffff1c;border-radius:7px;padding:15px 18px 15px 55px;position:relative}.buying-checklist li:before{content:counter(checks);position:absolute;left:16px;top:14px;background:var(--yellow);color:var(--ink);font-weight:950;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}.buying-checklist b,.buying-checklist span{display:block}.buying-checklist span{color:#d7e2ec;font-size:13px;line-height:1.45;margin-top:3px}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.faq-grid details{border:1px solid var(--line);border-radius:7px;padding:18px;background:#fff}.faq-grid summary{font-weight:850;cursor:pointer}.faq-grid p{color:var(--muted);line-height:1.6;margin-bottom:0}
@media(max-width:900px){.format-grid{grid-template-columns:repeat(2,1fr)}.game-grid{grid-template-columns:repeat(2,1fr)}.checklist-grid{grid-template-columns:1fr}}
@media(max-width:560px){.format-grid,.game-grid,.faq-grid{grid-template-columns:1fr}.checklist-grid h2{font-size:30px}.content-band{padding:34px 0}}

/* Homepage composition matched to the approved storefront reference. */
.home-hero{background-image:linear-gradient(90deg,rgba(2,15,27,.96) 0%,rgba(2,15,27,.74) 38%,rgba(2,15,27,.05) 72%),url('assets/heritage-hero-v2.webp');background-position:center;background-size:cover;min-height:430px}.home-hero .hero-copy{padding:38px 0}.home-hero h1{font-size:52px}.home-hero p{max-width:525px}.home-hero .trust-row{display:grid;grid-template-columns:repeat(4,1fr);max-width:650px;gap:15px}.home-hero .trust-row span{display:flex;align-items:center;line-height:1.2}.home-categories{margin-top:0;padding-top:22px;padding-bottom:18px}.home-categories .cat-card{height:148px;padding:15px;background-size:cover;background-position:center;isolation:isolate}.home-categories .cat-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 10%,rgba(2,15,27,.94) 92%);z-index:-1}.home-categories .cat-card:before{z-index:-2;background-image:url('assets/heritage-hero-v2.webp');background-size:620px auto;background-repeat:no-repeat;opacity:1}.home-categories .cat-sealed:before{background-position:15% 45%}.home-categories .cat-singles:before{background-position:42% 40%}.home-categories .cat-releases:before{background-image:url('assets/heritage-story-v2.webp');background-position:70% 35%}.home-categories .cat-accessories:before{background-image:url('assets/heritage-story-v2.webp');background-position:92% 70%}.home-categories .cat-graded:before{background-position:75% 40%}.home-categories i{position:absolute;right:0;bottom:2px;border:1px solid #ffffff99;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-style:normal;font-size:20px;color:var(--yellow)}.featured-section{padding-bottom:20px}.featured-section .section-title{margin-bottom:14px}.product-rail{position:relative}.review-card{display:flex;flex-direction:column;min-height:292px}.review-card .thumb{height:150px;background-size:cover;background-position:center}.review-card .thumb:after{display:none}.review-card p{font-size:12px;line-height:1.45;color:var(--muted);min-height:52px;margin:6px 0 12px}.review-card .add{margin-top:auto}.card-art-1 .thumb{background-image:url('assets/heritage-story-v2.webp');background-position:88% 65%}.card-art-2 .thumb{background-image:url('assets/heritage-hero-v2.webp');background-position:65% center}.card-art-3 .thumb{background-image:url('assets/heritage-hero-v2.webp');background-position:86% center}.card-art-4 .thumb{background-image:url('assets/heritage-story-v2.webp');background-position:98% 75%}.card-art-5 .thumb{background-image:url('assets/heritage-story-v2.webp');background-position:61% 32%}.catalog-disclosure{font-size:12px;color:var(--muted);text-align:center;margin:14px auto 0;max-width:880px}.benefits{background:#fff}.benefit-grid{align-items:center}.benefit{position:relative;padding-left:44px;min-height:38px}.benefit b{position:absolute;left:0;top:0;color:var(--yellow);background:var(--navy);width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:11px}.home-story{background-image:linear-gradient(90deg,rgba(2,19,33,.98) 0%,rgba(2,19,33,.9) 42%,rgba(2,19,33,.22) 72%),url('assets/heritage-story-v2.webp');background-size:cover;background-position:center}.home-story .story-grid{grid-template-columns:1.25fr 1fr}.home-story .story-copy{max-width:565px}.home-story .story-copy p{line-height:1.55;color:#e2e9ef}.home-story .stats{background:rgba(2,19,33,.72);backdrop-filter:blur(3px)}.home-story .stat b{font-size:20px}.guides-section{padding-top:28px}.guide-img{background-size:cover;background-position:center}.guide-1{background-image:url('assets/heritage-hero-v2.webp');background-position:35% 45%}.guide-2{background-image:url('assets/heritage-story-v2.webp');background-position:90% 65%}.guide-3{background-image:url('assets/heritage-hero-v2.webp');background-position:78% 45%}.guide-4{background-image:url('assets/heritage-story-v2.webp');background-position:60% 25%}
@media(max-width:900px){.home-hero .trust-row{grid-template-columns:repeat(2,1fr)}.home-story .story-grid{grid-template-columns:1fr}.home-story .stats{max-width:650px}.review-card{min-height:310px}}
@media(max-width:560px){.home-hero{min-height:560px;background-position:64% center}.home-hero h1{font-size:39px}.home-hero .hero-copy{padding-bottom:30px}.home-hero .trust-row{grid-template-columns:1fr 1fr}.home-categories .cat-card{height:135px}.review-card{min-height:auto}.review-card p{min-height:0}.benefit{padding-left:48px}.home-story{background-position:62% center}.home-story .stats{grid-template-columns:1fr}}
.home-categories .cat-card:before{z-index:0}.home-categories .cat-card:after{z-index:1}.home-categories .cat-card div{z-index:2}
body.admin-bar .site-header{top:32px}@media(max-width:782px){body.admin-bar .site-header{top:46px}}
