.nav .active{color:#fff}
.shop-page{padding:76px 0 110px}
.shop-hero{display:grid;grid-template-columns:1fr 520px;gap:70px;align-items:end;margin-bottom:58px}
.shop-hero h1{font-size:clamp(92px,10vw,160px);line-height:.72;letter-spacing:-.08em;margin:28px 0 0}
.shop-hero p{max-width:720px;color:#929caa;line-height:1.7;font-size:16px;margin:38px 0 0}
.shop-source-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.shop-source-links a{position:relative;min-height:160px;padding:19px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(150deg,#0e1218,#090c10);display:flex;flex-direction:column;justify-content:flex-end;transition:.2s ease}
.shop-source-links a:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.27)}
.shop-source-links span{position:absolute;top:18px;left:18px;color:#687281;font-size:8px;font-weight:900;letter-spacing:.14em}
.shop-source-links strong{font-size:15px}
.shop-source-links b{position:absolute;right:18px;top:15px;font-size:20px;color:#87909f}
.shop-toolbar{position:sticky;top:94px;z-index:12;display:flex;align-items:center;gap:14px;padding:12px;border:1px solid var(--line);border-radius:18px;background:rgba(10,13,18,.90);backdrop-filter:blur(18px);margin-bottom:14px}
.filter-group{display:flex;gap:6px}
.shop-filter,.shop-category{border:1px solid transparent;background:transparent;color:#7e8897;border-radius:999px;padding:10px 13px;font:800 10px/1 inherit;cursor:pointer;transition:.18s ease}
.shop-filter:hover,.shop-category:hover{color:#fff;background:rgba(255,255,255,.04)}
.shop-filter.active,.shop-category.active{background:#f4f6f9;color:#090b0e}
.category-filter{padding-left:12px;border-left:1px solid var(--line)}
.sort-control{margin-left:auto;display:flex;align-items:center;gap:9px;color:#6d7786;font-size:9px;font-weight:900;letter-spacing:.1em}
.sort-control select{border:1px solid var(--line);background:#11151c;color:#fff;border-radius:11px;padding:10px 36px 10px 12px;font-weight:700}
.shop-status-row{display:flex;justify-content:space-between;align-items:center;padding:5px 4px 17px;color:#687281;font-size:9px;font-weight:850;letter-spacing:.11em}
.shop-sync{display:flex;gap:8px;align-items:center}.shop-sync i{width:7px;height:7px;border-radius:50%;background:#ffc857;box-shadow:0 0 0 5px rgba(255,200,87,.08)}.shop-sync.live i{background:var(--green);box-shadow:0 0 0 5px rgba(125,255,155,.08)}
.shop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.product-card{position:relative;min-width:0;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#0b0e13;transition:.22s ease}
.product-card:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.27)}
.product-media{position:relative;aspect-ratio:4/3;background:#181b20;overflow:hidden}
.product-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.product-card[data-category="parts"] .product-media{background:#cdcdcd}
.product-card[data-category="parts"] .product-media img{object-fit:contain;object-position:center;padding:0}
.product-card[data-category="other"] .product-media img{object-fit:contain;padding:8px}.product-card:hover img{transform:scale(1.025)}
.product-source{position:absolute;top:12px;left:12px;border-radius:999px;padding:8px 10px;background:rgba(5,7,10,.70);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(10px);font-size:7px;font-weight:900;letter-spacing:.13em}
.product-category{position:absolute;top:12px;right:12px;border-radius:999px;padding:8px 10px;background:rgba(5,7,10,.70);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(10px);font-size:7px;font-weight:900;letter-spacing:.13em;color:#aeb6c3}
.product-body{padding:18px;min-height:135px;display:flex;flex-direction:column}
.product-body h2{font-size:16px;line-height:1.27;letter-spacing:-.025em;margin:0 0 18px}
.product-bottom{margin-top:auto;display:flex;align-items:end;justify-content:space-between;gap:16px}
.product-price{font-size:17px;font-weight:900}.product-open{color:#8f98a7;font-size:9px;font-weight:900;letter-spacing:.1em}
.shop-empty{border:1px dashed var(--line2);border-radius:20px;padding:55px;text-align:center;color:#8d96a5}.shop-empty strong{display:block;color:#fff;margin-bottom:8px}
@media(max-width:1100px){.shop-hero{grid-template-columns:1fr}.shop-source-links{max-width:650px}.shop-grid{grid-template-columns:repeat(3,1fr)}.shop-toolbar{flex-wrap:wrap}.sort-control{margin-left:0}.category-filter{border-left:0;padding-left:0}}
@media(max-width:760px){.shop-page{padding-top:50px}.shop-grid{grid-template-columns:repeat(2,1fr)}.shop-source-links{grid-template-columns:1fr 1fr}.shop-toolbar{position:static}.filter-group{flex-wrap:wrap}.product-body{min-height:150px}}
@media(max-width:520px){.shop-grid{grid-template-columns:1fr}.shop-source-links{grid-template-columns:1fr}.product-body{min-height:auto}}

/* v1.5.1 — 3D product thumbnails keep their native proportions */
.product-card[data-category="parts"]:hover .product-media img{
  transform:none;
}

/* v1.6.0 — normalized 3D product presentation */
.product-card[data-category="parts"] .product-media{
  background:#cdcdcd;
}
.product-card[data-category="parts"] .product-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:0;
  transform:none!important;
}
.product-card[data-category="parts"]:hover .product-media img{
  transform:none!important;
}


/* v1.6.12 — compact Home-style Patreon / Gumroad source cards */
.shop-source-links.ck-shop-platforms{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;min-width:0}
.shop-source-links .ck-shop-platform{position:relative;isolation:isolate;display:grid!important;grid-template-columns:58px minmax(0,1fr) auto;grid-template-rows:auto 1fr;align-items:center;column-gap:14px;min-width:0;min-height:126px;padding:17px 17px 16px!important;overflow:hidden;border-radius:20px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));transition:transform .2s ease,border-color .2s ease,background .2s ease}
.shop-source-links .ck-shop-platform:before{content:"";position:absolute;z-index:-1;width:130px;height:130px;border-radius:50%;left:-42px;bottom:-68px;background:radial-gradient(circle,rgba(255,255,255,.08),transparent 70%);pointer-events:none}
.shop-source-links .ck-shop-platform:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.22);background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.016))}
.shop-source-links .ck-source-index{position:absolute!important;top:12px!important;left:14px!important;color:#728096;font-size:8px;font-weight:900;letter-spacing:.14em;margin:0!important}
.shop-source-links .ck-shop-mark{position:static!important;grid-column:1;grid-row:1/3;align-self:center;width:58px;font-size:64px;line-height:.78;font-weight:950;letter-spacing:-.09em;color:transparent;-webkit-text-stroke:1px rgba(245,247,251,.78);opacity:.95;transform:translateY(5px);pointer-events:none;margin:0!important}
.shop-source-links .ck-shop-copy{position:static!important;grid-column:2;grid-row:1/3;display:flex;flex-direction:column;justify-content:center;min-width:0;padding-top:4px;margin:0!important}
.shop-source-links .ck-shop-copy>span{position:static!important;color:#758399;font-size:7px;line-height:1.3;font-weight:900;letter-spacing:.14em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform:none!important}
.shop-source-links .ck-shop-copy>strong{position:static!important;color:#f5f7fb;font-size:19px;line-height:1.05;letter-spacing:-.035em;margin:6px 0 5px;transform:none!important}
.shop-source-links .ck-shop-copy>em{position:static!important;color:#93a0b2;font-size:11px;font-style:normal;line-height:1.35;white-space:normal;transform:none!important}
.shop-source-links .ck-shop-platform>b{grid-column:3;grid-row:1/3;align-self:start;justify-self:end;color:#aab5c5;font-size:16px;line-height:1}
.shop-source-links .ck-shop-platform:after{content:"";position:absolute;left:17px;right:17px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.20),transparent);opacity:.75}
@media(max-width:820px){.shop-source-links.ck-shop-platforms{grid-template-columns:1fr}.shop-source-links .ck-shop-platform{min-height:112px}}
@media(max-width:520px){.shop-source-links .ck-shop-platform{grid-template-columns:50px minmax(0,1fr) auto;padding:15px!important;min-height:104px}.shop-source-links .ck-shop-mark{width:50px;font-size:56px}.shop-source-links .ck-shop-copy>strong{font-size:18px}}
/* v2.5.3.3: clean state when Patreon/Gumroad cover cannot be fetched */
.product-media.no-live-cover{background:radial-gradient(circle at 30% 20%,rgba(105,255,145,.08),transparent 48%),#0b0f14!important}
.product-media.no-live-cover::after{content:"LIVE COVER UNAVAILABLE";position:absolute;inset:0;display:grid;place-items:center;color:#465264;font-size:9px;font-weight:900;letter-spacing:.13em;pointer-events:none}
.product-media.no-live-cover .product-source,.product-media.no-live-cover .product-category{z-index:2}

/* v3.2.0-r8 — cleaner filter pill layout */
.shop-toolbar{flex-wrap:wrap;row-gap:12px}
.filter-group{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.shop-filter,.shop-category{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:11px 16px;font-size:11px;line-height:1;white-space:nowrap}
.category-filter{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.sort-control{margin-left:auto;min-height:40px}
@media(max-width:980px){.sort-control{margin-left:0;width:100%;justify-content:flex-start}.category-filter{border-left:0;padding-left:0}}

/* R63 shop cleanup */
.shop-status-row{display:none!important}.shop-grid{margin-top:0!important}

/* R66 top-of-page spacing balance */
.shop-page{padding-top:48px!important}
.shop-hero{gap:54px!important;margin-bottom:42px!important;align-items:center!important}
.shop-hero h1{margin-top:18px!important}
.shop-hero p{margin-top:28px!important}
@media(max-width:760px){.shop-page{padding-top:34px!important}.shop-hero{margin-bottom:30px!important}.shop-hero p{margin-top:20px!important}}
