/* PixoNext V8: balanced hero, single grounded preview, understated depth,
   and alternating neutral sections. Applied after all V7 styles. */
:root { --brand:#EF4B2B; --brand-deep:#D83A1F; --alt:#F5F5F4; --line:#E7E7E5; }
/* Page backgrounds alternate by section, not orange wash. */
.market-home { background:#fff!important; }
.market-home .market-hero.v4-hero { background:#FFFFFF!important; padding:0!important; overflow:hidden!important; }
.market-home .catalog-section { background:var(--alt)!important; padding:86px 0 95px!important; }
.market-home .studio-highlight-minimal { background:#FFFFFF!important; padding:88px 0 98px!important; }
.market-home .market-last { background:var(--alt)!important; padding:80px 0 92px!important; }
/* Align actual text and mockup, reduce exaggerated whitespace. */
.market-home .v4-hero .hero-market-grid {
  display:grid!important;
  grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)!important;
  align-items:center!important;
  min-height:0!important;
  gap:clamp(36px,4.2vw,74px)!important;
  padding-block:82px 86px!important;
}
.market-home .v4-hero .hero-market-copy { max-width:570px!important; align-self:center!important; }
.market-home .v4-hero .hero-market-copy h1 {
  font-size:clamp(51px,5.1vw,74px)!important;
  line-height:1.06!important;
  letter-spacing:-.07em!important;
  margin:26px 0 26px!important;
  max-width:600px!important;
}
.market-home .v4-hero .hero-market-copy>p {max-width:510px!important;line-height:1.7!important;margin:0!important;font-size:18px!important;color:#50545A!important;}
.market-home .v4-hero .hero-actions {margin:30px 0 0!important;gap:12px!important;}
/* No rotation, no second floating card, no large blurred backdrop shadow. */
.market-home .v4-visual {
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:auto!important;
  min-height:0!important;
  width:100%!important;
  margin:0!important;
  overflow:visible!important;
  isolation:auto!important;
}
.market-home .v4-secondary-window,.market-home .v4-image-index,.market-home .v4-visual-glow {display:none!important;}
.market-home .v4-primary-window {
  position:relative!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  flex:none!important;
  transform:none!important;
  background:#FFFFFF!important;
  border:1px solid #E0E0DE!important;
  border-radius:14px!important;
  overflow:hidden!important;
  box-shadow:0 12px 28px rgba(24,24,24,.055)!important;
  transition:border-color .2s ease,transform .2s ease!important;
}
.market-home .v4-primary-window:hover {transform:translateY(-3px)!important;border-color:#C9C9C7!important;box-shadow:0 12px 28px rgba(24,24,24,.055)!important;}
.market-home .v4-window-top {height:43px!important;background:#FBFBFA!important;border-bottom:1px solid #ECECEA!important;padding-inline:16px!important;color:#4F5458!important;}
.market-home .v4-primary-window>img {
  display:block!important;width:100%!important;height:auto!important;
  aspect-ratio:1.79!important;object-fit:contain!important;object-position:center!important;
  background:#FFFFFF!important;
}
.market-home .catalog-section .section-head {margin-bottom:37px!important;}
.market-home .catalog-section .store-card {background:#FFFFFF!important;border:1px solid #E2E2DF!important;box-shadow:none!important;}
.market-home .catalog-section .store-card:hover {border-color:#D9D2CE!important;box-shadow:0 9px 24px rgba(0,0,0,.045)!important;transform:translateY(-3px)!important;}
.market-home .catalog-section .store-card-media {background:#FFFFFF!important;}
.market-home .studio-highlight-minimal .studio-highlight-inner {border:1px solid #E7E7E5!important;box-shadow:none!important;}
.market-home .studio-highlight-minimal .minimal-featured-image {box-shadow:0 8px 22px rgba(0,0,0,.045)!important;border-color:#E4E4E1!important;}
.market-home .studio-highlight-minimal .minimal-featured-image:hover {box-shadow:0 10px 25px rgba(0,0,0,.07)!important;}
.market-home .market-last .last-card {background:#191919!important;}
/* Keep other pages clean white: the alternation applies specifically to home. */
@media(max-width:1100px){
 .market-home .v4-hero .hero-market-grid {gap:30px!important;padding-block:70px!important;}
 .market-home .v4-hero .hero-market-copy h1 {font-size:clamp(47px,5.5vw,68px)!important;}
}
@media(max-width:900px){
 .market-home .v4-hero .hero-market-grid {grid-template-columns:1fr!important;gap:34px!important;padding-block:62px 66px!important;}
 .market-home .v4-hero .hero-market-copy {max-width:680px!important;}
 .market-home .v4-visual {width:100%!important;max-width:720px!important;margin:0 auto!important;}
 .market-home .catalog-section {padding:72px 0 76px!important;}
 .market-home .studio-highlight-minimal {padding:72px 0 80px!important;}
 .market-home .market-last {padding:62px 0 72px!important;}
}
@media(max-width:570px){
 .market-home .v4-hero .hero-market-grid {gap:27px!important;padding-block:45px 52px!important;}
 .market-home .v4-hero .hero-market-copy h1 {font-size:clamp(43px,11vw,56px)!important;line-height:1.09!important;margin:21px 0 22px!important;}
 .market-home .v4-hero .hero-market-copy>p {font-size:16px!important;line-height:1.69!important;}
 .market-home .v4-hero .hero-actions {margin-top:25px!important;}
 .market-home .v4-primary-window {border-radius:11px!important;}
 .market-home .v4-window-top {height:37px!important;padding-inline:11px!important;}
 .market-home .v4-primary-window>img {aspect-ratio:1.78!important;}
 .market-home .catalog-section {padding:60px 0 65px!important;}
 .market-home .studio-highlight-minimal {padding:55px 0 66px!important;}
 .market-home .market-last {padding:54px 0 62px!important;}
}
@media(prefers-reduced-motion:reduce){.market-home .v4-primary-window{transition:none!important}}

/* V9: focused custom project CTA, keeping the original black card. */
.market-home .market-last .last-card > div {min-width:0;flex:1;}
.market-home .market-last .last-card h2 {max-width:880px;text-wrap:balance;line-height:1.18;}
.market-home .market-last .last-card p {color:#F0F0EF!important;max-width:680px;line-height:1.6;}
.market-home .market-last .last-card > a.btn {flex-shrink:0;white-space:nowrap;}
@media(max-width:900px){.market-home .market-last .last-card{gap:22px;}.market-home .market-last .last-card h2{font-size:clamp(30px,4.7vw,45px);}}
@media(max-width:570px){.market-home .market-last .last-card h2{font-size:32px;line-height:1.18;}.market-home .market-last .last-card > a.btn{margin-top:25px;}}
