/* First screen is a title screen. Categories belong after the metric strip. */
.home-stage{--stage-scene:url('assets/optimized/home/panamera-turbo-s-detailed-dark.webp')}
.store-stage{--stage-scene:url('assets/optimized/store/porsche-lineup-parts-dark.webp')}
html[data-theme="light"] .home-stage{--stage-scene:url('assets/optimized/home/panamera-turbo-s-detailed-light.webp')}
html[data-theme="light"] .store-stage{--stage-scene:url('assets/optimized/store/porsche-lineup-parts-light.webp')}
.store-stage{display:grid;grid-template-rows:104px 62px minmax(0,1fr);height:calc(100vh / var(--porscha-scale,1));min-height:800px}
.store-stage::before{background-image:linear-gradient(180deg,rgba(10,12,14,.8),transparent 145px),linear-gradient(90deg,rgba(10,12,14,.88),rgba(10,12,14,.72) 36%,transparent 57%),var(--stage-scene);background-size:cover}
html[data-theme="light"] .store-stage::before{background-image:linear-gradient(180deg,rgba(255,255,255,.94),transparent 145px),linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.92) 40%,transparent 50%),var(--stage-scene)}
.store-masthead{min-height:0;padding:24px 0 58px;align-items:center}
.store-copy{padding:0;max-width:710px}
/* TASK-0102: from tablet width up the copy column leaves room for the shared hero button pair; phones keep their layout. */
@media(min-width:761px){.store-copy,.hero-copy{min-inline-size:min(100%,var(--action-pair-width))}} /* follow-up 3: same for the service hero */
.store-copy .hero-awards{margin-bottom:28px}
.store-copy h1{font-size:66px;margin:20px 0 28px}
.store-intro{font-size:23px;line-height:1.5;max-width:630px}
.store-copy .checks{margin:29px 0 0;font-size:20px;gap:16px}
.store-copy .actions{margin-top:34px}
.store-catalog-section{background:var(--page-bg);padding:72px 0 80px}
.store-catalog-section .section-top{margin-bottom:28px}
.store-catalog-section h2{font:var(--heading-weight) 40px/1.15 var(--heading-font);margin:15px 0 0}
.store-catalog-section .quick-finder{width:100%;max-width:none;transform:none;margin:0 0 30px}
.store-catalog-section .category-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.store-catalog-section .category-card{min-height:168px}
.store-catalog-section .category-card img{height:110px}
.store-catalog-section .category-card>span{font-size:15px}
.home-stage::before{background-image:linear-gradient(180deg,rgba(10,12,14,.8),transparent 145px),linear-gradient(90deg,rgba(10,12,14,.94),rgba(10,12,14,.78) 38%,transparent 57%),var(--stage-scene)}
html[data-theme="light"] .home-stage::before{background-image:linear-gradient(180deg,rgba(255,255,255,.94),transparent 145px),linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.92) 40%,transparent 50%),var(--stage-scene)}
.home-stage{min-height:800px}
.home-stage::before,.store-stage::before{background-position:center 70%}
.home-copy{max-width:830px}
.home-copy .hero-awards{margin-bottom:29px}
.home-copy h1{font-size:59px;line-height:1.08;margin:23px 0 26px;max-width:830px}
.home-intro{font-size:22px;line-height:1.5;max-width:610px;margin-bottom:28px}
.home-copy .checks{font-size:20px;gap:16px}
.home-copy .actions{margin-top:34px}
.commerce-page .directions{padding:70px 0}
.commerce-page .directions .section-top{margin-bottom:28px}
.shopbar{gap:12px}
.cart-button{width:58px;flex:none;border:1px solid var(--line);border-radius:3px;color:var(--gold);background:var(--panel-bg);display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer}
.cart-button svg{width:26px;height:26px;stroke-width:1.6}
.cart-button[data-cart-open][data-cart-has-items] {
  background: #d5001c;
  border-color: #d5001c;
  color: #fff;
  overflow: visible;
}
.cart-button .cart-count {
  display: none;
  position: absolute;
  top: -5px;
  right: -2px;
  z-index: 1;
  min-width: 22px;
  height: 22px;
  padding: 0 3px;
  place-items: center;
  border: 2px solid #d5001c;
  border-radius: 50%;
  background: #fff;
  color: #a40016;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  pointer-events: none;
}
.cart-button[data-cart-has-items] .cart-count {
  display: grid;
}
.cart-dialog{width:480px;border:1px solid rgba(194,161,100,.35);border-radius:4px;padding:42px;background:var(--page-bg);color:var(--ink);text-align:center}
.cart-dialog::backdrop{background:#080a0cc4;backdrop-filter:blur(6px)}
.cart-dialog>svg{width:49px;height:49px;color:var(--gold);stroke-width:1.3}
.cart-dialog h2{font:var(--heading-weight) 29px/1.2 var(--heading-font);margin:25px 0 16px}
.cart-dialog p{color:var(--copy);line-height:1.6;font-size:15px;margin-bottom:27px}
.cart-dialog .dialog-close{right:12px;top:12px;cursor:pointer}
.full-category-grid{grid-template-columns:repeat(6,1fr)}
.full-category-grid .category-card>span{font-size:12px}
@media /*fhd*/ (max-height:900px) and (max-width: 1279px), (max-height:900px) and (min-width: 1920px), (max-height:900px) and (hover: none), (max-height:900px) and (pointer: coarse) {.store-copy h1{font-size:60px}.store-masthead{padding-bottom:30px}.store-copy .hero-awards{margin-bottom:22px}.store-copy .checks{margin-top:23px}.home-hero{padding-bottom:15px}.home-copy h1{font-size:55px}.home-copy .hero-awards{margin-bottom:22px}.home-copy .actions{margin-top:27px}}
