/* TalkMoney Marketplace — Vibrant storefront refresh */
:root{
  --tm-royal:#0757d9;
  --tm-orange:#f47b20;
  --tm-green:#087f49;
  --tm-cream:#fff7e7;
  --tm-purple:#7547d8;
}
body{
  background:
    radial-gradient(circle at 1% 18%,rgba(244,123,32,.15),transparent 18rem),
    radial-gradient(circle at 99% 30%,rgba(7,87,217,.14),transparent 20rem),
    radial-gradient(circle at 3% 90%,rgba(8,127,73,.11),transparent 18rem),
    var(--tm-cream);
}
.tm-ecosystem-bar{background:linear-gradient(90deg,#06274d,#083e72)!important}
header.site{
  background:#fff;
  box-shadow:0 8px 24px rgba(10,42,85,.08);
  position:sticky;top:0;z-index:20
}
.hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 82% 16%,rgba(255,255,255,.25),transparent 10rem),
    linear-gradient(118deg,#063b92 0%,#0757d9 48%,#0a77e8 100%)!important;
  color:#fff;
  border-radius:0 0 34px 34px;
}
.hero:before,.hero:after{content:"";position:absolute;border-radius:999px;pointer-events:none}
.hero:before{width:310px;height:310px;right:-100px;bottom:-160px;background:#f47b20}
.hero:after{width:220px;height:220px;right:150px;bottom:-155px;background:#087f49}
.hero .container{position:relative;z-index:2}
.hero h1{font-size:clamp(2.4rem,5vw,4.6rem)!important;letter-spacing:-.045em;line-height:1.02!important}
.hero .lead{color:#e9f3ff!important;font-size:1.06rem}
.receipt{
  background:rgba(255,255,255,.96)!important;color:#172a46!important;
  border:0!important;border-radius:22px!important;
  box-shadow:0 22px 50px rgba(5,38,92,.22)!important;
}
.r-head{background:linear-gradient(135deg,#fff2df,#fff)!important;border-radius:14px;padding:12px!important}
.hero-cta .btn{min-height:46px;border-radius:13px;font-weight:850}
.btn-gold{background:linear-gradient(135deg,#ff993d,#f47b20)!important;color:#fff!important}
.btn-outline{background:#fff!important;color:#0b4fbd!important;border-color:#d6e4f8!important}
.cat-rail{gap:16px!important}
.cat-card{
  background:#fff!important;border:0!important;border-radius:20px!important;
  box-shadow:0 12px 26px rgba(15,46,92,.08)!important;
  min-height:190px;position:relative;overflow:hidden;
  transition:transform .16s ease,box-shadow .16s ease
}
.cat-card:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(15,46,92,.13)!important}
.cat-card:nth-child(1){background:linear-gradient(145deg,#eef5ff,#fff)!important;border-top:6px solid #0757d9!important}
.cat-card:nth-child(2){background:linear-gradient(145deg,#fff3e8,#fff)!important;border-top:6px solid #f47b20!important}
.cat-card:nth-child(3){background:linear-gradient(145deg,#eefaf4,#fff)!important;border-top:6px solid #087f49!important}
.cat-card .icon{
  width:56px;height:56px;border-radius:16px;display:grid;place-items:center;
  background:#fff;box-shadow:0 8px 18px rgba(15,46,92,.08);font-size:1.6rem
}
.section{position:relative;z-index:1}
#featured{background:transparent!important}
.filters{gap:9px!important}
.chip{
  border-radius:999px!important;padding:10px 15px!important;font-weight:800!important;
  background:#fff!important;border:1px solid #dce6f4!important
}
.chip.active{background:#0757d9!important;color:#fff!important;border-color:#0757d9!important}
#search-box,#price-min,#price-max{
  background:#fff!important;border:1px solid #d7e2f1!important;
  box-shadow:0 6px 15px rgba(15,46,92,.05)
}
.product-card{
  border:0!important;border-radius:20px!important;overflow:hidden!important;
  background:#fff!important;box-shadow:0 12px 28px rgba(15,46,92,.09)!important;
  transition:transform .16s ease,box-shadow .16s ease
}
.product-card:hover{transform:translateY(-5px);box-shadow:0 20px 38px rgba(15,46,92,.14)!important}
.product-thumb{background:linear-gradient(145deg,#edf5ff,#fff6e8)!important}
.product-body h4{font-weight:850!important}
.buy-btn{
  border-radius:12px!important;min-height:44px!important;font-weight:850!important;
  background:linear-gradient(135deg,#0757d9,#0b76ed)!important
}
.product-card:nth-child(4n+2) .buy-btn{background:linear-gradient(135deg,#f47b20,#e8650d)!important}
.product-card:nth-child(4n+3) .buy-btn{background:linear-gradient(135deg,#087f49,#0a9a59)!important}
.product-card:nth-child(4n) .buy-btn{background:linear-gradient(135deg,#7547d8,#8b5cf6)!important}
.tm-money-stage{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.tm-money-stage span{position:absolute;font-weight:900;font-size:clamp(2.4rem,6vw,5rem);opacity:.05;animation:tmMarketFloat 8s ease-in-out infinite}
.tm-money-stage span:nth-child(1){left:1%;top:22%;color:#f47b20}
.tm-money-stage span:nth-child(2){right:1%;top:30%;color:#087f49;animation-delay:-2s}
.tm-money-stage span:nth-child(3){left:2%;bottom:10%;color:#0757d9;animation-delay:-4s}
.tm-money-stage span:nth-child(4){right:2%;bottom:8%;color:#f47b20;animation-delay:-6s}
@keyframes tmMarketFloat{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-16px) rotate(5deg)}}
@media(max-width:720px){
  .hero{border-radius:0 0 24px 24px}
  .hero h1{font-size:2.5rem!important}
}

/* Secondary Marketplace pages — keep the rich storefront identity after click-through */
.market-nav-home{
  background:linear-gradient(135deg,#fff1dd,#fff);
  color:#a64900!important;border:1px solid #ffd0a4;border-radius:999px;padding:8px 12px!important;font-weight:900!important
}
.market-nav-home:hover{background:#ffe4c1!important}
.market-subnav{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.market-subnav a{font-weight:800!important}
.marketplace-breadcrumbs{
  max-width:1180px;margin:18px auto 0;padding:0 20px;
  display:flex;gap:8px;align-items:center;flex-wrap:wrap;
  color:#63738a;font-size:.84rem;font-weight:700
}
.marketplace-breadcrumbs a{color:#0757d9}
.detail-grid{
  background:#fff;border:1px solid rgba(7,59,147,.08);
  border-radius:24px;padding:clamp(18px,3vw,34px)!important;
  box-shadow:0 18px 42px rgba(15,46,92,.09);
  align-items:start
}
.detail-thumb{
  border-radius:20px!important;overflow:hidden!important;
  background:linear-gradient(145deg,#edf5ff,#fff0df)!important;
  box-shadow:0 14px 30px rgba(15,46,92,.11)!important
}
.detail-info h1{font-size:clamp(1.9rem,4vw,3rem)!important;line-height:1.08!important;margin:.55rem 0 .9rem!important}
.detail-info .desc{font-size:1.02rem!important;line-height:1.72!important}
.detail-price{
  display:inline-flex;align-items:center;gap:10px;
  background:#eef9f3;border:1px solid #bfe8d2;color:#075e3b;
  border-radius:14px;padding:10px 14px;margin:12px 0;font-weight:900
}
.feature-list{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;margin:18px 0!important
}
.feature-list li{
  background:#f7faff;border:1px solid #e1e9f6;border-radius:12px;padding:11px 12px!important
}
.feature-list li:before{color:#087f49!important}
.product-smart-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0
}
.product-smart-card{
  border-radius:14px;padding:13px;background:#fff7e7;border:1px solid #f1dfbd
}
.product-smart-card:nth-child(2){background:#eef5ff;border-color:#cfe0fb}
.product-smart-card:nth-child(3){background:#eef9f3;border-color:#cbead9}
.product-smart-card strong{display:block;color:#15345e;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}
.product-smart-card span{display:block;margin-top:3px;font-weight:850;color:#182943}
.panel{
  border-radius:20px!important;border:1px solid rgba(7,59,147,.09)!important;
  box-shadow:0 14px 30px rgba(15,46,92,.08)!important;background:#fff!important
}
.checkout-grid{align-items:start}
.site-footer-rich{
  background:linear-gradient(120deg,#06274d,#083e72 58%,#0757d9)!important;
  color:#dbe9fa!important;margin-top:48px;padding:34px 0 18px
}
.site-footer-rich .foot-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:22px}
.site-footer-rich h5{color:#fff;margin:0 0 9px;font-size:.9rem}
.site-footer-rich a{color:#e8f2ff}
.site-footer-rich li{margin:6px 0;font-size:.85rem}
.site-footer-rich .foot-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:20px;padding-top:15px;color:#bfd0e6}
@media(max-width:760px){
  .nav{gap:12px;align-items:flex-start}
  .nav-links{gap:8px;flex-wrap:wrap}
  .market-subnav{width:100%}
  .feature-list,.product-smart-grid{grid-template-columns:1fr}
  .site-footer-rich .foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .site-footer-rich .foot-grid{grid-template-columns:1fr}
}

/* Marketplace v3 — compact product + services commerce layout */
.market-hero-pills{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}
.market-hero-pills span{
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);
  padding:5px 9px;border-radius:999px;font-size:12px;font-weight:900;font-style:italic
}
.hero h1{max-width:720px!important}
.hero .lead{max-width:650px!important;margin-bottom:0!important}
.tmc-market-note{
  display:inline-flex;align-items:center;gap:7px;margin-top:14px;
  padding:8px 11px;border-radius:12px;background:rgba(5,31,79,.25);
  border:1px solid rgba(255,255,255,.18);font-size:.78rem;font-weight:700;color:#edf5ff
}
.market-category-section{padding-top:34px!important;padding-bottom:32px!important}
.compact-head{margin-bottom:16px!important}
.compact-head h2{margin-bottom:4px!important}
.compact-head p{margin:0!important}
.market-category-split{
  display:grid;grid-template-columns:1fr 1fr;gap:16px
}
.market-category-panel{
  background:#fff;border-radius:22px;padding:18px;
  box-shadow:0 13px 30px rgba(15,46,92,.08);border:1px solid rgba(7,59,147,.08)
}
.market-products-panel{border-top:6px solid #0757d9}
.market-services-panel{border-top:6px solid #f47b20}
.market-category-title{display:flex;align-items:center;gap:12px;margin-bottom:13px}
.market-category-icon{
  width:46px;height:46px;border-radius:14px;display:grid;place-items:center;
  background:#eef5ff;font-size:1.35rem;flex:0 0 auto
}
.market-services-panel .market-category-icon{background:#fff0df}
.market-category-title strong{display:block;font-size:1.02rem;color:#15345e}
.market-category-title small{display:block;color:#6a778b;margin-top:2px}
.market-category-links{display:grid;gap:8px}
.market-category-links a,.coming-service{
  min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:9px 11px;border-radius:12px;background:#f8fbff;border:1px solid #e4ecf7;
  font-size:.86rem;font-weight:800;color:#18365f
}
.market-category-links a:hover{background:#edf5ff;transform:translateX(2px)}
.market-services-panel .market-category-links a{background:#fff9f2;border-color:#f4e0c9}
.market-services-panel .market-category-links a:hover{background:#fff1df}
.coming-service{color:#637187;font-weight:750}
.coming-service em{
  font-style:normal;font-size:.7rem;background:#eef1f5;color:#667085;
  padding:3px 7px;border-radius:999px;white-space:nowrap
}
#featured{padding-top:34px!important}
.filters{margin-top:14px!important}
.market-services-showcase{padding-top:18px!important}
.services-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px
}
.service-card{
  display:flex;gap:13px;background:#fff;border-radius:18px;padding:18px;
  border:1px solid rgba(7,59,147,.08);box-shadow:0 11px 25px rgba(15,46,92,.07)
}
.service-card:nth-child(2){background:linear-gradient(145deg,#fff,#eef9f3)}
.service-card:nth-child(3){background:#f8f9fb}
.service-icon{
  width:48px;height:48px;border-radius:14px;display:grid;place-items:center;
  flex:0 0 auto;background:#eef5ff;font-size:1.35rem
}
.service-card:nth-child(2) .service-icon{background:#e9f8f0}
.service-card:nth-child(3) .service-icon{background:#eef1f5}
.service-card h3{font-size:1rem;margin:5px 0 5px}
.service-card p{font-size:.82rem;line-height:1.5;color:#5e6c80;margin:0 0 8px}
.service-card a{font-size:.82rem;font-weight:850;color:#0757d9}
.service-status{
  display:inline-flex;border-radius:999px;padding:3px 7px;
  font-size:.66rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em;
  background:#e8f7ef;color:#087145
}
.service-status.future{background:#eef1f5;color:#667085}
@media(max-width:820px){
  .market-category-split,.services-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .market-category-panel{padding:14px}
  .service-card{padding:14px}
}

/* Distinct per-product visual identity */
.product-thumb{position:relative;overflow:hidden;min-height:250px}
.product-cover-art{
  position:relative;width:100%;height:100%;min-height:250px;overflow:hidden;
  background:linear-gradient(145deg,#0b4fbd,#0a77e8);
}
.product-cover-art img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease,filter .25s ease}
.product-card:hover .product-cover-art img{transform:scale(1.035);filter:saturate(1.04) contrast(1.02)}
.product-cover-art:before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(4,20,50,.02) 35%,rgba(4,20,50,.82) 100%);
}
.product-cover-art:after{
  content:"";position:absolute;width:135px;height:135px;border-radius:50%;
  right:-54px;top:-48px;z-index:1;opacity:.82;background:#f47b20
}
.product-cover-identity{
  position:absolute;inset:0;z-index:2;padding:13px;
  display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;
  color:#fff;text-align:left
}
.cover-family{
  position:absolute;left:11px;top:11px;padding:5px 8px;border-radius:999px;
  background:rgba(255,255,255,.93);color:#12365f;font-size:.64rem;font-weight:900;
  box-shadow:0 5px 14px rgba(0,0,0,.12)
}
.product-cover-identity strong{
  max-width:95%;font-family:var(--font-display);font-size:.96rem;line-height:1.18;
  text-shadow:0 2px 8px rgba(0,0,0,.5);letter-spacing:-.01em
}
.cover-tm{
  margin-top:6px;font-size:.67rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;
  color:#ffd37a
}
.product-cover-art.family-resources:after{background:#087f49}
.product-cover-art.family-wealth:after{background:#7547d8}
.product-cover-art.family-academy .cover-family{color:#073b93}
.product-cover-art.family-resources .cover-family{color:#07613c}
.product-cover-art.family-wealth .cover-family{color:#6240b9}
.product-cover-art.variant-1{background:linear-gradient(145deg,#073b93,#0a77e8)}
.product-cover-art.variant-2{background:linear-gradient(145deg,#f47b20,#ffae57)}
.product-cover-art.variant-3{background:linear-gradient(145deg,#087f49,#11a765)}
.product-cover-art.variant-4{background:linear-gradient(145deg,#7547d8,#9c6cf0)}
.product-cover-art.variant-5{background:linear-gradient(145deg,#083e72,#0a8192)}
.product-cover-art.variant-6{background:linear-gradient(145deg,#9a4a07,#f47b20)}
.product-cover-art.variant-7{background:linear-gradient(145deg,#115d50,#087f49)}
.product-cover-art.variant-8{background:linear-gradient(145deg,#453198,#7547d8)}
.product-cover-art.variant-2:after,.product-cover-art.variant-6:after{background:#0757d9}
.product-cover-art.variant-3:after,.product-cover-art.variant-7:after{background:#f47b20}
.product-cover-art.variant-4:after,.product-cover-art.variant-8:after{background:#087f49}
.product-cover-art.image-missing img{display:none!important}
.product-cover-art.image-missing:before{
  background:
    linear-gradient(135deg,rgba(255,255,255,.10) 25%,transparent 25%) 0 0/24px 24px,
    linear-gradient(315deg,rgba(255,255,255,.08) 25%,transparent 25%) 0 0/24px 24px,
    linear-gradient(180deg,rgba(5,24,56,.03),rgba(5,24,56,.65))
}
.product-cover-art.image-missing .product-cover-identity{justify-content:center;align-items:center;text-align:center}
.product-cover-art.image-missing .product-cover-identity strong{font-size:1.15rem}
.product-cover-art--large{min-height:520px}
.product-cover-art--large .product-cover-identity{padding:24px}
.product-cover-art--large .cover-family{left:20px;top:20px;font-size:.76rem;padding:7px 11px}
.product-cover-art--large .product-cover-identity strong{font-size:clamp(1.4rem,3vw,2.25rem);max-width:88%}
.product-cover-art--large .cover-tm{font-size:.82rem}
.detail-thumb .product-cover-art{height:100%}
@media(max-width:600px){
  .product-thumb,.product-cover-art{min-height:220px}
  .product-cover-art--large{min-height:400px}
}

/* Reference-led Marketplace polish */
.tm-ecosystem-bar{display:none!important}
.market-topbar{display:none!important}
header.site{
  position:sticky!important;top:0!important;z-index:30!important;
  border-bottom:1px solid #e8eef7!important
}
.nav{min-height:68px}
.nav .brand{font-size:1.15rem!important}
.nav-links a{
  padding:8px 10px;border-radius:10px;font-weight:800
}
.nav-links a:hover{background:#edf4ff}
.hero{
  margin:12px auto 0;max-width:1420px;border-radius:26px!important;
  box-shadow:0 18px 40px rgba(6,52,126,.15)
}
.hero .container{padding-top:38px!important;padding-bottom:38px!important}
.hero h1{font-size:clamp(2rem,4vw,3.5rem)!important}
.marketplace-showcase-card{
  position:relative;overflow:hidden;min-height:260px;
  background:linear-gradient(145deg,#fff,#fff8ed)!important
}
.marketplace-basket-mark{
  position:absolute;right:18px;top:16px;font-size:4.2rem;transform:rotate(-6deg);
  filter:drop-shadow(0 10px 10px rgba(0,0,0,.08));opacity:.95
}
.marketplace-showcase-card .r-head{padding-right:90px!important}
.market-category-section{padding-top:28px!important}
.market-category-split{
  grid-template-columns:1fr 1fr!important;gap:14px!important
}
.market-category-panel{border-radius:18px!important;padding:16px!important}
.market-category-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px!important}
.market-services-panel .market-category-links{grid-template-columns:1fr!important}
.market-category-links a,.coming-service{
  min-height:58px!important;justify-content:center!important;text-align:center!important;flex-direction:column!important
}
.market-kicker{
  display:block;color:#087f49;font-size:.7rem;font-weight:950;text-transform:uppercase;
  letter-spacing:.07em;margin-bottom:3px
}
#featured{background:transparent!important}
.product-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:15px!important
}
.product-card{border-radius:17px!important}
.product-thumb,.product-cover-art{min-height:220px!important}
.product-body{padding:14px!important}
.product-body .desc{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:2.8em
}
.buy-btn{min-height:42px!important}
.services-grid{gap:14px!important}
.service-card{border-radius:17px!important}
@media(max-width:1080px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .market-category-links{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .hero{margin-top:0;border-radius:0 0 22px 22px!important}
  .hero .container{padding-top:28px!important;padding-bottom:28px!important}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
  .product-grid{grid-template-columns:1fr!important}
}

/* Premium inner Marketplace pages */
.marketplace-breadcrumbs{
  background:rgba(255,255,255,.86);border:1px solid #e5edf7;border-radius:999px;
  padding:9px 14px!important;box-shadow:0 7px 16px rgba(15,46,92,.05)
}
.detail-grid{
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
  gap:28px!important
}
.detail-info{padding-top:4px}
.detail-info .cat{
  display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef5ff;color:#0757d9;
  font-weight:900;font-size:.7rem
}
.detail-info h1{max-width:720px}
.trust-badges{
  display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:18px!important
}
.trust-badges span{
  padding:7px 10px!important;border-radius:999px!important;background:#f7faff!important;
  border:1px solid #dce6f4!important;color:#294b75!important;font-size:.74rem!important;font-weight:800!important
}
.checkout-grid{
  gap:18px!important;max-width:1060px!important;margin:auto!important
}
.checkout-grid .panel{
  padding:24px!important;border-radius:20px!important
}
.checkout-grid .panel:first-child{border-top:6px solid #0757d9!important}
.checkout-grid .panel:last-child{border-top:6px solid #f47b20!important}
.checkout-grid .field input{
  background:#fff!important;border-radius:12px!important;border:1px solid #d8e3f0!important;
  min-height:46px!important
}
.pay-btn{
  border-radius:12px!important;min-height:48px!important;font-weight:900!important
}
#wishlist-grid{margin-top:18px}
#wishlist-empty,#wishlist-login{
  background:#fff;border:1px solid #e1e9f4;border-radius:16px;padding:22px!important;
  box-shadow:0 10px 22px rgba(15,46,92,.06)
}
@media(max-width:820px){
  .detail-grid{grid-template-columns:1fr!important}
  .detail-thumb{max-width:620px;margin:auto}
}

/* Clean marketplace category-rail layout */
.market-clean-hero{
  margin:10px auto 0!important;
  max-width:1420px!important;
  border-radius:22px!important;
  box-shadow:0 14px 32px rgba(6,52,126,.12)!important;
}
.market-clean-hero .container{
  padding-top:30px!important;
  padding-bottom:30px!important;
}
.market-clean-hero-copy{max-width:860px}
.market-clean-hero h1{
  font-size:clamp(2rem,4vw,3.25rem)!important;
  margin:.3rem 0 .45rem!important;
}
.market-clean-hero .lead{
  max-width:700px!important;
  font-size:.98rem!important;
  margin:0!important;
}
.market-hero-search{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  max-width:720px;
  gap:8px;
  margin-top:18px;
  background:#fff;
  padding:6px;
  border-radius:14px;
  box-shadow:0 10px 24px rgba(2,31,76,.14);
}
.market-hero-search input{
  border:0;
  outline:0;
  padding:10px 12px;
  font:inherit;
  min-width:0;
}
.market-hero-search button{
  border:0;
  border-radius:10px;
  background:#f47b20;
  color:#fff;
  font-weight:900;
  padding:0 18px;
  cursor:pointer;
}
.market-browser-section{padding:26px 0 36px!important}
.market-browser{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.market-category-rail{
  position:sticky;
  top:82px;
  background:#fff;
  border:1px solid #e4ebf4;
  border-radius:16px;
  box-shadow:0 9px 22px rgba(15,46,92,.06);
  overflow:hidden;
}
.category-rail-head{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  border-bottom:1px solid #e8eef6;
  font-size:.92rem;
}
.category-rail-head button{
  border:0;
  background:#f4f7fb;
  border-radius:8px;
  width:34px;
  height:34px;
  cursor:pointer;
}
.rail-all{
  width:100%;
  border:0;
  background:transparent;
  text-align:left;
  padding:11px 14px;
  font-weight:850;
  color:#17365f;
  cursor:pointer;
  border-bottom:1px solid #edf1f6;
}
.rail-all:hover,.rail-all.active{background:#eef5ff;color:#0757d9}
.rail-group{border-bottom:1px solid #edf1f6}
.rail-group summary{
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding:11px 14px;
  cursor:pointer;
  font-weight:850;
  color:#17365f;
}
.rail-group summary::-webkit-details-marker{display:none}
.rail-group[open] summary{background:#fafcff}
.rail-items{
  display:grid;
  gap:0;
  border-top:1px solid #edf1f6;
  max-height:310px;
  overflow:auto;
}
.rail-items a,.rail-disabled,.rail-loading{
  display:block;
  padding:9px 14px 9px 22px;
  text-decoration:none;
  color:#52647a;
  font-size:.79rem;
  line-height:1.35;
  border-bottom:1px solid #f1f4f8;
}
.rail-items a:hover{background:#f7faff;color:#0757d9}
.rail-disabled small{
  display:block;
  margin-top:2px;
  color:#8a96a5;
}
.market-results{min-width:0}
.market-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.market-toolbar h2{margin:.15rem 0 0!important}
.market-toolbar-search{min-width:min(100%,320px)}
.market-toolbar-search input{
  width:100%;
  min-height:42px;
  padding:9px 12px;
  border:1px solid #d9e3ef;
  border-radius:10px;
  background:#fff;
}
.market-filter-row{
  display:flex;
  gap:7px;
  align-items:center;
  flex-wrap:wrap;
  padding:10px 0 14px;
  border-bottom:1px solid #e8eef6;
  margin-bottom:16px;
}
.market-filter-row .chip{
  padding:8px 11px!important;
  font-size:.78rem!important;
}
.price-mini{
  display:flex;
  align-items:center;
  gap:5px;
  background:#fff;
  border:1px solid #dce5ef;
  border-radius:999px;
  padding:5px 9px;
  font-size:.73rem;
  color:#5f6f83;
}
.price-mini input{
  width:58px;
  border:0!important;
  outline:0;
  padding:2px!important;
  box-shadow:none!important;
  background:transparent!important;
}
.product-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:13px!important;
}
.product-card{
  border-radius:14px!important;
  box-shadow:0 6px 18px rgba(15,46,92,.06)!important;
  border:1px solid #e7edf5!important;
}
.product-card:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 10px 24px rgba(15,46,92,.09)!important;
}
.product-thumb,.product-cover-art{min-height:205px!important}
.product-body{padding:12px!important}
.product-body h4{
  font-size:.92rem!important;
  line-height:1.25!important;
  min-height:2.3em;
  margin:.35rem 0 .45rem!important;
}
.product-desc-toggle{
  border-top:1px solid #edf1f6;
  border-bottom:1px solid #edf1f6;
  margin:.45rem 0 .65rem;
  padding:.4rem 0;
}
.product-desc-toggle summary{
  cursor:pointer;
  font-size:.72rem;
  font-weight:850;
  color:#5d6f86;
}
.product-desc-toggle .desc{
  margin:.45rem 0 0!important;
  min-height:0!important;
  font-size:.78rem!important;
  line-height:1.45!important;
  display:block!important;
  overflow:visible!important;
}
.price-row{margin-top:.45rem!important}
.price{font-size:1rem!important}
.buy-btn{min-height:39px!important;font-size:.82rem!important}
.market-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  margin:22px 0 30px;
}
.market-pagination #page-indicator{
  font-size:.78rem;
  color:#66768a;
}
.market-inline-services{
  padding-top:8px;
  border-top:1px solid #e8eef6;
}
.clean-service-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.clean-service-row>a,.clean-service-row>div{
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid #e4ebf3;
  border-radius:12px;
  padding:12px;
  text-decoration:none;
  color:#17365f;
}
.clean-service-row span{font-size:1.2rem}
.clean-service-row strong{font-size:.82rem;flex:1}
.clean-service-row small{
  font-size:.68rem;
  color:#087f49;
  font-weight:850;
}
.clean-service-row>div small{color:#7c8794}
.market-reward-strip{
  border-top:1px solid #e6edf5;
  border-bottom:1px solid #e6edf5;
  background:#fff;
  padding:12px 0;
}
.market-reward-strip .container{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  font-size:.82rem;
}
.market-reward-strip a{font-weight:850;text-decoration:none}
@media(max-width:1080px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:840px){
  .market-browser{grid-template-columns:1fr}
  .market-category-rail{position:relative;top:auto}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .clean-service-row{grid-template-columns:1fr}
}
@media(max-width:560px){
  .market-clean-hero{margin:0!important;border-radius:0 0 18px 18px!important}
  .market-clean-hero .container{padding-top:24px!important;padding-bottom:24px!important}
  .market-hero-search{grid-template-columns:1fr}
  .market-hero-search button{min-height:42px}
  .market-browser-section{padding-top:16px!important}
  .product-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
  .product-thumb,.product-cover-art{min-height:170px!important}
  .product-body{padding:9px!important}
  .product-body h4{font-size:.82rem!important}
  .buy-btn{font-size:.76rem!important}
  .market-filter-row{overflow-x:auto;flex-wrap:nowrap;padding-bottom:10px}
  .market-filter-row>*{flex:0 0 auto}
}
@media(max-width:390px){
  .product-grid{grid-template-columns:1fr!important}
}

/* Five-card marketplace rows + currency/language controls */
.market-select-label{
  display:grid;gap:2px;font-size:.62rem;font-weight:850;color:#607188
}
.market-select-label select{
  min-height:34px;border:1px solid #dce5ef;border-radius:9px;background:#fff;
  color:#17365f;font:700 .72rem/1 Inter,Arial,sans-serif;padding:5px 26px 5px 8px
}
.market-showcase{margin-bottom:28px}
.market-row{
  margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid #e8eef6
}
.market-row-head{
  display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:10px
}
.market-row-head h3{
  margin:0;font-size:1.05rem;color:#17365f;letter-spacing:-.015em
}
.market-row-head p{
  margin:.18rem 0 0;font-size:.76rem;color:#6b7b8f
}
.market-row-head>span{
  font-size:.68rem;font-weight:850;color:#6a788a;white-space:nowrap
}
.market-row-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px
}
.market-row-card .product-thumb,.market-row-card .product-cover-art{
  min-height:165px!important
}
.market-row-card .product-body{padding:9px!important}
.market-row-card .product-body h4{
  font-size:.8rem!important;min-height:2.35em;margin:.3rem 0 .35rem!important
}
.market-row-card .product-desc-toggle{margin:.3rem 0 .45rem;padding:.3rem 0}
.market-row-card .buy-btn{min-height:34px!important;font-size:.72rem!important}
.market-row-card .price{font-size:.88rem!important}

.market-service-card{
  display:flex;flex-direction:column;overflow:hidden;text-decoration:none;color:#17365f;
  border:1px solid #e6edf5;border-radius:14px;background:#fff;
  box-shadow:0 6px 18px rgba(15,46,92,.06);min-width:0
}
.market-service-card:hover{
  transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,46,92,.10)
}
.service-art{
  min-height:165px;position:relative;display:grid;place-items:center;overflow:hidden
}
.service-art:before,.service-art:after{
  content:"";position:absolute;border-radius:50%
}
.service-art:before{width:130px;height:130px;right:-42px;top:-38px;background:rgba(255,255,255,.2)}
.service-art:after{width:90px;height:90px;left:-30px;bottom:-32px;background:rgba(255,255,255,.15)}
.service-art-icon{
  position:relative;z-index:2;font-size:3rem;filter:drop-shadow(0 8px 10px rgba(0,0,0,.18))
}
.service-art-tm{
  position:absolute;left:10px;top:9px;z-index:2;
  color:#fff;font-size:.62rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase
}
.service-art-blue .service-art{background:linear-gradient(145deg,#0757d9,#0b83ee)}
.service-art-green .service-art{background:linear-gradient(145deg,#087f49,#13ae69)}
.service-art-orange .service-art{background:linear-gradient(145deg,#f47b20,#ffae54)}
.service-art-purple .service-art{background:linear-gradient(145deg,#6b43c9,#9b6ef0)}
.service-art-teal .service-art{background:linear-gradient(145deg,#0b6371,#12a4a9)}
.service-art-gold .service-art{background:linear-gradient(145deg,#9a6b11,#e0ad3f)}
.service-card-body{padding:10px}
.service-card-body>small{
  display:inline-block;color:#087f49;font-size:.62rem;font-weight:900;text-transform:uppercase
}
.market-service-card.is-coming .service-card-body>small{color:#9a6b11}
.service-card-body h4{
  margin:.28rem 0 .38rem;font-size:.8rem;line-height:1.25;min-height:2.4em
}
.service-price{
  margin:.35rem 0;font-size:.9rem;font-weight:900;color:#17365f
}
.service-link,.service-coming{
  display:inline-flex;margin-top:.35rem;font-size:.7rem;font-weight:900;color:#0757d9;text-decoration:none
}
.service-coming{color:#9a6b11}
.market-service-card.is-coming{cursor:default;opacity:.88}
.catalogue-message{
  grid-column:1/-1;padding:28px;text-align:center;background:#fff;
  border:1px solid var(--line);border-radius:14px
}
.all-market-toolbar{
  margin-top:12px;padding-top:18px;border-top:1px solid #e8eef6
}

@media(max-width:1080px){
  .market-row-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .nav-actions{flex-wrap:wrap}
}
@media(max-width:900px){
  .market-row-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .market-row-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .market-select-label{font-size:.58rem}
  .market-select-label select{min-height:32px;max-width:120px}
}
@media(max-width:420px){
  .market-row-grid{grid-template-columns:1fr 1fr}
  .service-art,.market-row-card .product-thumb,.market-row-card .product-cover-art{min-height:145px!important}
}


/* =========================================================
   Final TalkMoney Marketplace look — product detail gallery
   ========================================================= */
.product-detail-section{
  padding:26px 0 30px!important;
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
}
.product-detail-section .detail-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr)!important;
  gap:26px!important;
  align-items:start!important;
}
.product-gallery{
  min-width:0;
}
.product-gallery-stage{
  position:relative;
  min-height:560px;
  border:1px solid #dfe8f4;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 15px 34px rgba(15,46,92,.08);
}
.product-gallery-panel{
  display:none;
  width:100%;
  min-height:560px;
}
.product-gallery-panel.is-active{display:block}
.product-gallery-panel .product-cover-art--large{
  min-height:560px!important;
  border-radius:0!important;
}
.product-gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:11px;
}
.gallery-thumb{
  border:2px solid transparent;
  border-radius:13px;
  padding:6px;
  background:#fff;
  color:#23415f;
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  align-items:center;
  gap:9px;
  text-align:left;
  box-shadow:0 6px 16px rgba(15,46,92,.05);
}
.gallery-thumb:hover{border-color:#a9c7ec}
.gallery-thumb.is-active{border-color:#f47b20}
.gallery-thumb>span:last-child{
  font-weight:850;
  font-size:.76rem;
}
.thumb-preview{
  min-height:54px;
  border-radius:9px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(135deg,#0b4fbd,#0a77e8);
  color:#fff;
  font-size:1.5rem;
  font-weight:900;
}
.thumb-preview .product-cover-art{
  min-height:54px!important;
  height:54px!important;
}
.thumb-preview .product-cover-identity{display:none}
.thumb-preview .product-cover-art:before,
.thumb-preview .product-cover-art:after{display:none}
.thumb-preview .product-cover-art img{object-fit:cover}
.thumb-preview-inside{background:linear-gradient(135deg,#087f49,#13ae69)}
.thumb-preview-benefits{background:linear-gradient(135deg,#6b43c9,#9b6ef0)}

.product-story-art{
  min-height:560px;
  padding:34px;
  position:relative;
  overflow:hidden;
  display:grid;
  align-items:center;
  gap:24px;
  color:#fff;
}
.product-story-art:before,
.product-story-art:after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
.product-story-art:before{
  width:300px;height:300px;right:-110px;top:-90px;
  background:rgba(255,255,255,.12)
}
.product-story-art:after{
  width:220px;height:220px;left:-95px;bottom:-110px;
  background:rgba(255,255,255,.08)
}
.story-art-inside{
  grid-template-columns:minmax(190px,.75fr) minmax(0,1.25fr);
  background:
    radial-gradient(circle at 90% 12%,rgba(255,255,255,.18),transparent 14rem),
    linear-gradient(145deg,#073b93,#0a77e8 52%,#062d6e);
}
.story-art-inside.family-resources{
  background:linear-gradient(145deg,#07613c,#11a765 56%,#043e29);
}
.story-art-inside.family-wealth{
  background:linear-gradient(145deg,#4c2a9d,#7547d8 56%,#2f1b6e);
}
.story-art-badge{
  position:absolute;left:22px;top:22px;z-index:3;
  padding:7px 10px;border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#17365f;font-size:.72rem;font-weight:950
}
.story-art-cover{
  position:relative;z-index:2;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 20px 42px rgba(0,0,0,.25);
  transform:rotate(-2deg);
}
.story-art-cover .product-cover-art{
  min-height:360px!important;
}
.story-art-copy{
  position:relative;z-index:2;
}
.story-art-copy small{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.72rem;
  font-weight:900;
  color:#ffd37a;
}
.story-art-copy h2{
  margin:.45rem 0 1rem;
  color:#fff;
  font-size:clamp(1.65rem,3vw,2.65rem);
  line-height:1.08;
}
.story-art-copy ul{
  display:grid;
  gap:10px;
}
.story-art-copy li{
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.15);
  border-radius:12px;
  padding:10px 12px;
  font-size:.86rem;
  font-weight:750;
}
.story-art-benefits{
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
  background:
    radial-gradient(circle at 50% 10%,rgba(255,255,255,.2),transparent 14rem),
    linear-gradient(145deg,#062f77,#0757d9 45%,#6b43c9);
}
.story-art-benefits.family-resources{
  background:linear-gradient(145deg,#064a31,#087f49 48%,#0757d9);
}
.story-art-benefits.family-wealth{
  background:linear-gradient(145deg,#3b257f,#6b43c9 48%,#0757d9);
}
.story-benefit-mark{
  position:relative;z-index:2;
  width:92px;height:92px;border-radius:26px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#ff9a40,#f47b20);
  color:#fff;
  font-family:var(--font-display);
  font-size:1.7rem;
  font-weight:950;
  box-shadow:0 18px 34px rgba(0,0,0,.2)
}
.story-art-benefits h2{
  position:relative;z-index:2;
  max-width:690px;
  color:#fff;
  margin:.4rem 0 0;
  font-size:clamp(1.8rem,3.6vw,3rem)
}
.story-art-benefits>p{
  position:relative;z-index:2;
  max-width:650px;
  margin:.8rem auto 0;
  color:#e9f2ff;
  line-height:1.6;
}
.story-benefit-grid{
  position:relative;z-index:2;
  width:min(100%,700px);
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}
.story-benefit-grid>div{
  min-height:105px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
  border-radius:16px;
  padding:14px;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.16)
}
.story-benefit-grid span{
  font-size:.67rem;
  font-weight:950;
  letter-spacing:.12em;
  color:#ffd37a
}
.story-benefit-grid strong{
  font-size:.84rem;
  line-height:1.25
}

.product-buy-panel{
  background:#fff;
  border:1px solid #e2eaf4;
  border-radius:22px;
  padding:24px;
  box-shadow:0 15px 34px rgba(15,46,92,.07);
  position:sticky;
  top:90px;
}
.product-detail-topline{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center
}
.product-save-button{
  border:0;
  background:#f5f8fc;
  color:#294b75;
  border-radius:999px;
  padding:8px 11px;
  font-weight:850;
  font-size:.74rem
}
.product-buy-panel h1{
  margin:.7rem 0 .55rem;
  color:#092f6d;
  font-size:clamp(1.8rem,3.2vw,3rem);
  line-height:1.06
}
.product-detail-lead{
  margin:0;
  color:#53677e;
  line-height:1.6;
  font-size:.94rem
}
.product-buy-panel .detail-price{
  margin:18px 0 14px!important;
  color:#f04f13!important;
  font-size:clamp(1.8rem,3vw,2.5rem)!important
}
.product-highlight-list{
  display:grid;
  gap:9px;
  margin:16px 0
}
.product-highlight-list>div{
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:8px;
  align-items:start
}
.product-highlight-list span{
  width:24px;height:24px;border-radius:999px;
  display:grid;place-items:center;
  background:#e8f8f0;color:#087f49;
  font-size:.75rem;font-weight:950
}
.product-highlight-list p{
  margin:2px 0 0;
  font-size:.84rem;
  line-height:1.4;
  color:#354b64
}
.product-required-field{max-width:none!important;margin-top:15px}
.product-primary-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:18px
}
.product-buy-primary{
  min-height:50px!important;
  border-radius:12px!important;
  font-size:.93rem!important
}
.product-back-button{
  min-height:50px;
  border-radius:12px!important
}
.product-information-section{
  padding:20px 0 44px!important;
  background:#fff
}
.product-info-shell{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(260px,.5fr);
  gap:20px;
  padding:22px;
  border:1px solid #e2eaf4;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,46,92,.05)
}
.product-info-main h2{
  margin:.2rem 0 .55rem;
  color:#17365f
}
.product-info-main>p{
  color:#5a6e84;
  line-height:1.65
}
.product-info-details{
  margin-top:14px;
  border-top:1px solid #e7edf5;
  padding-top:12px
}
.product-info-details summary{
  cursor:pointer;
  color:#17365f;
  font-weight:900
}
.product-info-list{
  display:grid;
  gap:8px;
  margin-top:12px
}
.product-info-list>div{
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  gap:8px
}
.product-info-list span{color:#087f49;font-weight:950}
.product-info-list p{margin:0;color:#53677e;font-size:.86rem}
.product-info-aside{
  border-radius:16px;
  padding:18px;
  background:linear-gradient(145deg,#062f77,#0757d9);
  color:#fff
}
.product-info-aside strong{display:block;font-size:1rem}
.product-info-aside p{
  color:#e2edff;
  font-size:.82rem;
  line-height:1.55
}
.product-info-aside a{
  display:inline-flex;
  margin-top:6px;
  color:#ffd37a;
  font-size:.8rem;
  font-weight:900
}

/* Homepage refinement: denser commerce-first presentation */
.market-clean-hero{
  background:
    radial-gradient(circle at 83% 20%,rgba(255,255,255,.16),transparent 10rem),
    radial-gradient(circle at 72% 88%,rgba(8,127,73,.26),transparent 12rem),
    linear-gradient(120deg,#062f77 0%,#0757d9 58%,#0a77e8 100%)!important;
}
.market-clean-hero:after{
  content:"";
  position:absolute;
  right:6%;
  top:50%;
  width:150px;
  height:150px;
  transform:translateY(-50%);
  border-radius:34px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.15),rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.2);
  box-shadow:0 20px 38px rgba(2,31,76,.15);
  pointer-events:none
}
.market-clean-hero-copy{position:relative;z-index:2}
.market-clean-hero-copy:after{
  content:"TM";
  position:absolute;
  right:-32%;
  top:50%;
  transform:translateY(-50%);
  width:96px;height:96px;
  display:grid;place-items:center;
  border-radius:26px;
  background:linear-gradient(145deg,#f47b20,#ffae54);
  color:#fff;
  font-family:var(--font-display);
  font-size:1.8rem;
  font-weight:950;
  box-shadow:0 20px 38px rgba(2,31,76,.18)
}
.market-row{
  margin-bottom:20px!important;
  padding-bottom:18px!important
}
.market-row-head{
  margin-bottom:9px!important
}
.market-row-grid{
  gap:9px!important
}
.market-row-card,
.market-service-card{
  border-radius:12px!important;
  box-shadow:0 5px 14px rgba(15,46,92,.055)!important
}
.market-row-card .product-body,
.service-card-body{
  padding:9px!important
}
.market-row-card .product-desc-toggle,
.market-service-card .product-desc-toggle{
  margin:.25rem 0 .4rem!important
}
.market-category-rail{
  border-radius:14px!important
}

@media(max-width:980px){
  .product-detail-section .detail-grid{
    grid-template-columns:1fr!important
  }
  .product-buy-panel{
    position:relative;
    top:auto
  }
}
@media(max-width:720px){
  .product-gallery-stage,
  .product-gallery-panel,
  .product-story-art{
    min-height:440px
  }
  .product-gallery-panel .product-cover-art--large{
    min-height:440px!important
  }
  .story-art-inside{
    grid-template-columns:1fr;
    padding:24px
  }
  .story-art-cover{
    max-width:220px;
    margin:26px auto 0
  }
  .story-art-cover .product-cover-art{
    min-height:230px!important
  }
  .story-art-copy{text-align:center}
  .story-art-copy ul{grid-template-columns:1fr 1fr}
  .story-benefit-grid{grid-template-columns:1fr}
  .product-info-shell{grid-template-columns:1fr}
  .market-clean-hero-copy:after,
  .market-clean-hero:after{display:none}
}
@media(max-width:520px){
  .product-detail-section{padding-top:14px!important}
  .product-gallery-stage,
  .product-gallery-panel,
  .product-story-art{
    min-height:385px
  }
  .product-gallery-panel .product-cover-art--large{
    min-height:385px!important
  }
  .product-gallery-thumbs{
    grid-template-columns:1fr 1fr 1fr;
    gap:6px
  }
  .gallery-thumb{
    grid-template-columns:1fr;
    text-align:center;
    padding:5px
  }
  .gallery-thumb>span:last-child{
    font-size:.66rem
  }
  .thumb-preview{
    width:100%;
    min-height:48px
  }
  .product-buy-panel{
    padding:17px
  }
  .product-primary-actions{
    grid-template-columns:1fr
  }
  .story-art-copy ul{
    grid-template-columns:1fr
  }
}
