/* iTheme Marketplace — iThemes storefront */
.theme-theme-marketplace{
  --market-ink:#111827;
  --market-muted:#64748b;
  --market-soft:#eef6f2;
  --market-card:#ffffff;
  --market-accent:#1f8a70;
  --market-accent-2:#34d399;
  --market-gold:#f5b942;
  --market-border:rgba(15,23,42,.10);
  --market-shadow:0 24px 80px rgba(15,23,42,.12);
  background:#f8fafc;
}
.theme-theme-marketplace .site-header.header-marketplace{
  position:sticky;
  top:0;
  z-index:80;
  padding:16px clamp(12px,3vw,32px);
  background:linear-gradient(180deg,rgba(248,250,252,.92),rgba(248,250,252,.72));
  backdrop-filter:blur(18px);
}
.theme-theme-marketplace .header-marketplace .nav-shell{
  width:min(1180px,100%);
  margin:auto;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(17,24,39,.94);
  color:#fff;
  border-radius:26px;
  box-shadow:0 18px 60px rgba(15,23,42,.22);
}
.theme-theme-marketplace .header-marketplace .brand strong,
.theme-theme-marketplace .header-marketplace .brand small,
.theme-theme-marketplace .header-marketplace .main-menu a{color:#fff;}
.theme-theme-marketplace .header-marketplace .brand-mark{background:linear-gradient(135deg,var(--market-accent),var(--market-accent-2));color:#fff;}
.theme-theme-marketplace .header-marketplace .main-menu a:hover{background:rgba(255,255,255,.10);}
.theme-theme-marketplace .header-marketplace .nav-cta{background:linear-gradient(135deg,var(--market-gold),#ffe0a3);color:#111827;border-color:transparent;}
.theme-theme-marketplace .header-marketplace .menu-toggle{color:#fff;border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.08);}
.hero-marketplace{
  position:relative;
  overflow:hidden;
  padding:clamp(70px,10vw,130px) 0 clamp(54px,7vw,90px);
  background:radial-gradient(circle at 20% 10%,rgba(52,211,153,.20),transparent 32%),radial-gradient(circle at 90% 20%,rgba(245,185,66,.20),transparent 26%),linear-gradient(135deg,#0f172a 0%,#111827 52%,#0b3a31 100%);
  color:#fff;
  margin-top:-1px;
}
.marketplace-hero-bg span{position:absolute;border-radius:999px;filter:blur(3px);opacity:.38;animation:marketFloat 9s ease-in-out infinite;}
.marketplace-hero-bg span:nth-child(1){width:220px;height:220px;left:8%;top:8%;background:#34d399;}
.marketplace-hero-bg span:nth-child(2){width:160px;height:160px;right:12%;top:16%;background:#f5b942;animation-delay:-2s;}
.marketplace-hero-bg span:nth-child(3){width:260px;height:260px;right:26%;bottom:-90px;background:#1f8a70;animation-delay:-4s;}
.marketplace-hero-shell{position:relative;display:grid;grid-template-columns:minmax(0,1.03fr) minmax(360px,.97fr);gap:clamp(28px,5vw,80px);align-items:center;}
.marketplace-hero-copy .eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);color:#d1fae5;padding:10px 14px;border-radius:999px;margin-bottom:18px;}
.marketplace-hero-copy h1{font-size:clamp(42px,6.2vw,82px);line-height:.94;letter-spacing:-.07em;margin:0 0 20px;max-width:780px;color:#fff;}
.marketplace-hero-copy p{font-size:clamp(16px,1.7vw,20px);line-height:1.75;color:#dbeafe;max-width:680px;margin:0 0 22px;}
.marketplace-search{display:flex;align-items:center;gap:10px;max-width:650px;background:#fff;border:1px solid rgba(255,255,255,.25);border-radius:22px;padding:8px;box-shadow:0 22px 70px rgba(0,0,0,.20);}
.marketplace-search i{color:var(--market-accent);font-size:22px;margin-left:10px;}
.marketplace-search input{border:0;outline:0;flex:1;min-width:0;padding:13px 4px;font:inherit;color:#111827;background:transparent;}
.marketplace-search button{border:0;border-radius:16px;background:var(--market-accent);color:#fff;font-weight:900;padding:13px 18px;cursor:pointer;}
.marketplace-hero-actions{margin-top:22px;}
.marketplace-hero-metrics{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px;}
.marketplace-hero-metrics strong{display:flex;flex-direction:column;min-width:120px;padding:16px 18px;border-radius:20px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);font-size:28px;line-height:1;color:#fff;}
.marketplace-hero-metrics span{font-size:12px;color:#cbd5e1;margin-top:8px;font-weight:700;}
.marketplace-hero-showcase{position:relative;min-height:520px;perspective:1200px;}
.marketplace-browser{overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.34);border-radius:28px;box-shadow:0 34px 100px rgba(0,0,0,.28);}
.marketplace-browser-main{position:absolute;inset:42px 24px 30px 0;transform:rotateY(-10deg) rotateX(5deg);animation:marketShowcase 7s ease-in-out infinite;}
.marketplace-browser img{width:100%;height:100%;object-fit:cover;display:block;}
.marketplace-browser-bar{height:42px;background:#f8fafc;display:flex;align-items:center;gap:7px;padding:0 14px;color:#64748b;font-size:12px;font-weight:900;}
.marketplace-browser-bar span{width:10px;height:10px;border-radius:50%;background:#cbd5e1;}
.marketplace-browser-bar span:first-child{background:#fb7185}.marketplace-browser-bar span:nth-child(2){background:#fbbf24}.marketplace-browser-bar span:nth-child(3){background:#34d399}.marketplace-browser-bar b{margin-left:auto;}
.marketplace-browser-float{position:absolute;width:210px;height:150px;border-radius:22px;}
.marketplace-browser-float.one{right:0;top:0;transform:rotate(7deg);}
.marketplace-browser-float.two{left:4%;bottom:0;transform:rotate(-8deg);}
.marketplace-license-badge{position:absolute;right:0;bottom:62px;display:grid;grid-template-columns:auto 1fr;gap:4px 12px;align-items:center;background:rgba(255,255,255,.94);color:#111827;border:1px solid rgba(255,255,255,.70);border-radius:20px;padding:14px 16px;box-shadow:0 16px 50px rgba(0,0,0,.22);}
.marketplace-license-badge i{grid-row:span 2;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#d1fae5;color:var(--market-accent);font-size:22px;}.marketplace-license-badge strong{line-height:1}.marketplace-license-badge span{font-size:12px;color:#64748b;}
.market-intro,.market-catalog,.market-feature-strip,.market-license,.market-proof,.market-final-cta{padding:clamp(52px,7vw,88px) 0;}
.market-intro-grid,.market-section-head{display:grid;grid-template-columns:minmax(0,.9fr) minmax(320px,.8fr);gap:24px;align-items:end;}
.market-intro h2,.market-section-head h2,.market-license h2,.market-final-card h2{font-size:clamp(30px,4.2vw,56px);line-height:1;letter-spacing:-.045em;margin:8px 0 0;color:#0f172a;}
.market-intro p,.market-license p,.market-final-card p{font-size:16px;line-height:1.8;color:#64748b;margin:0;}
.market-category-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;}
.market-category-chip{display:inline-flex;align-items:center;gap:10px;border:1px solid var(--market-border);background:#fff;border-radius:999px;padding:11px 14px;cursor:pointer;color:#334155;font-weight:900;box-shadow:0 10px 30px rgba(15,23,42,.05);}
.market-category-chip i{color:var(--market-accent);font-size:18px}.market-category-chip b{background:#eef2f7;color:#0f172a;border-radius:999px;padding:3px 8px;font-size:12px}.market-category-chip.active{background:#111827;color:#fff}.market-category-chip.active b{background:rgba(255,255,255,.12);color:#fff;}
.market-catalog{background:linear-gradient(180deg,#fff,#f8fafc);}
.market-toolbar{display:flex;justify-content:flex-end;gap:10px;align-items:center;flex-wrap:wrap;}
.market-toolbar label{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--market-border);border-radius:18px;padding:10px 12px;min-width:min(100%,330px);box-shadow:0 12px 34px rgba(15,23,42,.06);}
.market-toolbar input{border:0;outline:0;background:transparent;width:100%;font:inherit;}
.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px;}
.market-theme-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--market-border);border-radius:28px;overflow:hidden;box-shadow:0 18px 60px rgba(15,23,42,.08);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;}
.market-theme-card:hover{transform:translateY(-7px);box-shadow:0 30px 80px rgba(15,23,42,.14);border-color:rgba(31,138,112,.32);}
.market-theme-shot{position:relative;display:block;aspect-ratio:1.45/1;background:#e2e8f0;overflow:hidden;}
.market-theme-shot img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease;}.market-theme-card:hover .market-theme-shot img{transform:scale(1.05);}
.market-theme-overlay{position:absolute;inset:auto 14px 14px 14px;display:flex;justify-content:center;align-items:center;gap:8px;padding:11px;border-radius:16px;background:rgba(17,24,39,.88);color:#fff;font-weight:900;opacity:0;transform:translateY(10px);transition:.25s ease;}.market-theme-card:hover .market-theme-overlay{opacity:1;transform:none;}
.market-theme-body{padding:20px;flex:1;}.market-theme-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px;}.market-theme-meta>span{color:var(--market-accent);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}.theme-badge{font-size:11px;border-radius:999px;padding:6px 9px;background:#eef2f7;color:#334155;font-weight:900;white-space:nowrap;}.theme-badge.hot{background:#fff7ed;color:#b45309;}
.market-theme-body h3{font-size:22px;line-height:1.1;margin:0 0 10px;color:#0f172a;letter-spacing:-.02em;}.market-theme-body p{color:#64748b;line-height:1.65;margin:0 0 16px;}.market-theme-body ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.market-theme-body li{display:flex;gap:8px;color:#475569;font-size:13px}.market-theme-body li i{color:var(--market-accent);}
.market-theme-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eef2f7;padding:16px 20px;}.market-theme-foot strong{font-size:15px;color:#0f172a;}.market-theme-foot>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}.btn.tiny{padding:8px 10px;border-radius:12px;font-size:12px;}.btn.small{padding:10px 14px;border-radius:14px;}
.market-empty{display:grid;place-items:center;gap:8px;text-align:center;border:1px dashed var(--market-border);border-radius:24px;padding:36px;background:#fff;color:#64748b}.market-empty i{font-size:34px;color:var(--market-accent)}
.market-feature-strip{background:#0f172a;color:#fff;}.market-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.market-feature-grid article{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:24px;padding:24px}.market-feature-grid i{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:rgba(52,211,153,.16);color:#34d399;font-size:24px;margin-bottom:18px}.market-feature-grid h3{margin:0 0 8px;color:#fff}.market-feature-grid p{margin:0;color:#cbd5e1;line-height:1.65;}
.market-license-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(360px,.75fr);gap:30px;align-items:center;background:#fff;border:1px solid var(--market-border);border-radius:34px;padding:clamp(28px,5vw,56px);box-shadow:var(--market-shadow);}.market-license-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.market-process-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.market-process-list li{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:16px}.market-process-list span{grid-row:span 2;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#d1fae5;color:#047857;font-weight:1000}.market-process-list strong{color:#0f172a}.market-process-list em{font-style:normal;color:#64748b;font-size:13px;}
.market-proof{background:linear-gradient(180deg,#f8fafc,#fff);}.market-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.market-proof-grid article{border:1px solid var(--market-border);background:#fff;border-radius:24px;padding:24px;box-shadow:0 16px 46px rgba(15,23,42,.06);}.market-proof-grid strong{display:block;font-size:24px;color:#0f172a;margin-bottom:6px}.market-proof-grid span{color:#64748b;line-height:1.7;}
.market-final-card{display:flex;align-items:center;gap:24px;background:linear-gradient(135deg,#111827,#0b3a31);color:#fff;border-radius:34px;padding:clamp(28px,4vw,46px);box-shadow:0 26px 80px rgba(15,23,42,.20);}.market-final-card>span{display:grid;place-items:center;flex:0 0 70px;width:70px;height:70px;border-radius:22px;background:rgba(255,255,255,.10);color:#34d399;font-size:34px}.market-final-card h2{color:#fff;margin:0 0 8px}.market-final-card p{color:#cbd5e1}.market-final-card .btn{margin-left:auto;white-space:nowrap;}
.footer-marketplace{background:#0f172a;color:#fff;}.footer-marketplace .footer-brand-panel,.footer-marketplace .footer-contact-panel,.footer-marketplace .footer-links{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.10)}
.footer-marketplace h2,.footer-marketplace h3{color:#fff}.footer-marketplace p,.footer-marketplace a,.footer-marketplace .footer-bottom{color:#cbd5e1}.footer-marketplace .footer-primary-action{background:#34d399;color:#0f172a;}
@keyframes marketFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(18px,-18px,0)}}
@keyframes marketShowcase{0%,100%{transform:rotateY(-10deg) rotateX(5deg) translateY(0)}50%{transform:rotateY(-6deg) rotateX(3deg) translateY(-14px)}}
@media (max-width:1100px){.marketplace-hero-shell,.market-license-card{grid-template-columns:1fr}.marketplace-hero-showcase{min-height:430px;max-width:680px}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.theme-theme-marketplace .site-header.header-marketplace{padding:10px}.theme-theme-marketplace .header-marketplace .nav-shell{border-radius:20px}.hero-marketplace{padding:54px 0 58px}.marketplace-hero-shell{gap:24px}.marketplace-hero-copy h1{font-size:clamp(38px,12vw,58px)}.marketplace-search{border-radius:18px}.marketplace-search button{padding:12px}.marketplace-hero-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.marketplace-hero-metrics strong{min-width:0;padding:12px;font-size:22px}.marketplace-hero-showcase{min-height:340px}.marketplace-browser-main{inset:28px 8px 42px 8px;transform:none}.marketplace-browser-float{width:150px;height:105px}.marketplace-license-badge{left:16px;right:16px;bottom:0}.market-intro-grid,.market-section-head{grid-template-columns:1fr}.market-toolbar{justify-content:stretch}.market-toolbar label{width:100%}.market-grid,.market-feature-grid,.market-proof-grid{grid-template-columns:1fr}.market-theme-foot{align-items:flex-start;flex-direction:column}.market-theme-foot>div{justify-content:flex-start}.market-license-card{padding:24px;border-radius:26px}.market-final-card{align-items:flex-start;flex-direction:column;border-radius:26px}.market-final-card .btn{margin-left:0}.market-category-row{overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px}.market-category-chip{white-space:nowrap}}
@media (max-width:480px){.marketplace-hero-metrics{grid-template-columns:1fr}.marketplace-hero-showcase{min-height:300px}.marketplace-browser-float{display:none}.market-license-badge{position:relative;left:auto;right:auto;bottom:auto;margin-top:14px}.marketplace-hero-showcase{min-height:auto}.marketplace-browser-main{position:relative;inset:auto;}.marketplace-browser-bar{height:36px}.market-process-list li{grid-template-columns:1fr}.market-process-list span{grid-row:auto}}
@media (prefers-reduced-motion:reduce){.marketplace-hero-bg span,.marketplace-browser-main{animation:none!important}.market-theme-card,.market-theme-shot img,.market-theme-overlay{transition:none!important}}

/* Marketplace detail/preview polish */
.market-spotlight{background:linear-gradient(180deg,#fff,#f8fafc)}
.market-spotlight-grid{display:grid;grid-template-columns:1.15fr .9fr .9fr;gap:18px;align-items:stretch}
.market-spotlight-card{position:relative;min-height:320px;border:1px solid var(--market-border);border-radius:32px;overflow:hidden;background:#0f172a;box-shadow:var(--market-shadow);isolation:isolate}
.market-spotlight-card:first-child{min-height:420px;grid-row:span 2}
.market-spotlight-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.84;transform:scale(1.03);transition:transform .45s ease,opacity .45s ease}
.market-spotlight-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.08),rgba(15,23,42,.82));z-index:1}
.market-spotlight-card:hover img{transform:scale(1.08);opacity:.95}
.market-spotlight-card>div{position:absolute;left:18px;right:70px;bottom:18px;z-index:2;color:#fff;display:grid;gap:5px}
.market-spotlight-card span{width:max-content;border-radius:999px;padding:7px 10px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);font-weight:1000;font-size:12px;letter-spacing:.08em}
.market-spotlight-card strong{font-size:clamp(20px,2.2vw,32px);line-height:1;letter-spacing:-.03em}.market-spotlight-card em{font-style:normal;color:#cbd5e1;font-weight:800}
.market-spotlight-card>a{position:absolute;right:18px;bottom:18px;z-index:2;display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#34d399;color:#052e24;text-decoration:none;font-size:24px;font-weight:1000}
.market-spotlight-card.empty{display:grid;place-items:center;background:#fff;color:#0f172a}.market-spotlight-card.empty>div{position:relative;left:auto;right:auto;bottom:auto;color:#0f172a;padding:24px;text-align:center}.market-spotlight-card.empty em{color:#64748b}
.market-theme-card{animation:marketCardIn .45s ease both}.market-theme-card[hidden]{display:none!important}.market-theme-card button.btn{border:0;cursor:pointer;font-family:inherit}.market-theme-card button.btn.secondary{background:#eef2f7;color:#0f172a}.market-theme-card button.btn.secondary:hover{background:#e2e8f0}
.market-detail-modal[hidden]{display:none!important}.market-detail-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px}.market-detail-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.70);backdrop-filter:blur(10px)}.market-detail-panel{position:relative;z-index:1;display:grid;grid-template-columns:minmax(300px,.95fr) minmax(320px,1.05fr);width:min(1080px,100%);max-height:min(760px,calc(100vh - 42px));overflow:auto;background:#fff;border:1px solid rgba(255,255,255,.35);border-radius:34px;box-shadow:0 34px 120px rgba(15,23,42,.45);outline:none;animation:marketModalIn .22s ease both}.market-detail-shot{min-height:460px;background:#0f172a;overflow:hidden}.market-detail-shot img{width:100%;height:100%;object-fit:cover;display:block}.market-detail-content{padding:clamp(24px,4vw,44px);display:flex;flex-direction:column}.market-detail-content h2{font-size:clamp(30px,4vw,52px);line-height:.98;margin:10px 0 16px;color:#0f172a;letter-spacing:-.055em}.market-detail-content p{margin:0;color:#64748b;line-height:1.75}.market-detail-price{width:max-content;margin:18px 0;padding:10px 13px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:1000}.market-detail-lists{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px}.market-detail-lists>div{border:1px solid #e2e8f0;border-radius:22px;padding:16px;background:#f8fafc}.market-detail-lists strong{display:block;margin-bottom:10px;color:#0f172a}.market-detail-lists ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.market-detail-lists li{display:flex;gap:8px;color:#475569;font-size:13px;line-height:1.45}.market-detail-lists li i{color:#10b981}.market-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto;padding-top:24px}.market-detail-close{position:absolute;top:14px;right:14px;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:16px;background:rgba(15,23,42,.88);color:#fff;font-size:22px;cursor:pointer}
body.market-modal-open{overflow:hidden}
@keyframes marketModalIn{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@keyframes marketCardIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (max-width:980px){.market-spotlight-grid{grid-template-columns:1fr 1fr}.market-spotlight-card:first-child{grid-column:1/-1;grid-row:auto}.market-detail-panel{grid-template-columns:1fr}.market-detail-shot{min-height:300px}.market-detail-content{min-height:0}}
@media (max-width:640px){.market-spotlight-grid{grid-template-columns:1fr}.market-spotlight-card,.market-spotlight-card:first-child{min-height:280px}.market-detail-modal{padding:10px;align-items:end}.market-detail-panel{border-radius:24px;max-height:calc(100vh - 20px)}.market-detail-shot{min-height:220px}.market-detail-lists{grid-template-columns:1fr}.market-detail-actions .btn{width:100%;justify-content:center}.market-detail-close{top:10px;right:10px}}
@media (prefers-reduced-motion:reduce){.market-theme-card,.market-detail-panel,.market-spotlight-card img{animation:none!important;transition:none!important}}

/* iThemes standard public pages */
.domain-page{background:#fff;position:relative;overflow:hidden}.domain-page.soft{background:linear-gradient(180deg,#f8fafc,#eefdf6)}.domain-page .wrap{position:relative;z-index:1}.domain-section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);gap:clamp(22px,5vw,70px);align-items:end}.domain-section-head h2,.domain-split h2,.domain-cta h2,.domain-contact-grid h2,.domain-legal h2{margin:8px 0 12px;color:#0f172a;font-size:clamp(34px,5vw,68px);line-height:.96;letter-spacing:-.06em}.domain-section-head p,.domain-split p,.domain-cta p,.domain-contact-grid p,.domain-legal p{margin:0;color:#64748b;line-height:1.8;font-size:16px}.domain-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.82fr);gap:clamp(24px,6vw,82px);align-items:center}.domain-card-stack{display:grid;gap:14px}.domain-card-stack article,.domain-grid article,.domain-docs-grid article,.domain-pricing-grid article,.domain-faq-list details,.domain-form-card,.domain-legal{border:1px solid var(--market-border);border-radius:28px;background:rgba(255,255,255,.88);box-shadow:0 18px 55px rgba(15,23,42,.07)}.domain-card-stack article{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;padding:18px}.domain-card-stack i{grid-row:span 2;display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#ecfdf5;color:#047857;font-size:24px}.domain-card-stack strong{color:#0f172a}.domain-card-stack span{color:#64748b;font-size:14px;line-height:1.55}.domain-grid{display:grid;gap:18px}.domain-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.domain-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.domain-grid article{padding:24px}.domain-grid b{display:inline-grid;place-items:center;width:42px;height:42px;margin-bottom:18px;border-radius:14px;background:#0f172a;color:#34d399}.domain-grid i{display:inline-grid;place-items:center;width:50px;height:50px;margin-bottom:18px;border-radius:16px;background:#dcfce7;color:#047857;font-size:24px}.domain-grid h3,.domain-docs-grid h3,.domain-pricing-grid h3{margin:0 0 8px;color:#0f172a;font-size:22px}.domain-grid p,.domain-docs-grid li,.domain-pricing-grid p,.domain-pricing-grid li{color:#64748b;line-height:1.7}.domain-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:28px}.domain-timeline article{position:relative;min-height:230px;padding:22px;border:1px solid var(--market-border);border-radius:28px;background:#fff;box-shadow:0 18px 55px rgba(15,23,42,.06)}.domain-timeline span{display:grid;place-items:center;width:54px;height:54px;margin-bottom:28px;border-radius:18px;background:#0f172a;color:#34d399;font-weight:1000}.domain-timeline article:not(:last-child)::after{content:"";position:absolute;top:49px;left:calc(100% - 8px);width:32px;height:2px;background:#bbf7d0}.domain-timeline h3{margin:0 0 8px;color:#0f172a}.domain-timeline p{margin:0;color:#64748b;line-height:1.65}.domain-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:clamp(26px,4vw,44px);border-radius:34px;background:linear-gradient(135deg,#0f172a,#064e3b);color:#fff;box-shadow:0 26px 80px rgba(15,23,42,.18)}.domain-cta h2{color:#fff;font-size:clamp(30px,4vw,54px)}.domain-cta p{color:#cbd5e1}.domain-cta .btn{white-space:nowrap}.domain-pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.domain-pricing-grid article{padding:28px;display:flex;flex-direction:column;min-height:520px}.domain-pricing-grid article.featured{background:linear-gradient(180deg,#0f172a,#064e3b);color:#fff;transform:translateY(-14px);box-shadow:0 28px 90px rgba(15,23,42,.22)}.domain-pricing-grid span{align-self:flex-start;padding:8px 12px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:12px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}.domain-pricing-grid .featured span{background:rgba(255,255,255,.12);color:#a7f3d0}.domain-pricing-grid h3{font-size:30px;margin-top:20px}.domain-pricing-grid .featured h3,.domain-pricing-grid .featured p,.domain-pricing-grid .featured li{color:#fff}.domain-pricing-grid strong{display:block;margin:4px 0 16px;color:#0f172a;font-size:clamp(34px,4vw,50px);letter-spacing:-.05em}.domain-pricing-grid .featured strong{color:#fff}.domain-pricing-grid ul{list-style:none;margin:22px 0;padding:0;display:grid;gap:10px}.domain-pricing-grid li{display:flex;gap:9px}.domain-pricing-grid li::before{content:"✓";color:#10b981;font-weight:1000}.domain-pricing-grid .btn{margin-top:auto}.domain-docs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.domain-docs-grid article{padding:26px}.domain-docs-grid b{display:inline-flex;margin-bottom:12px;padding:8px 12px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.domain-docs-grid ol{margin:18px 0 0;padding-left:20px}.domain-faq-list{display:grid;gap:12px}.domain-faq-list details{padding:0;overflow:hidden}.domain-faq-list summary{cursor:pointer;padding:20px 24px;font-weight:1000;color:#0f172a;list-style:none;display:flex;justify-content:space-between;gap:18px}.domain-faq-list summary::-webkit-details-marker{display:none}.domain-faq-list summary::after{content:"+";font-size:24px;color:#047857}.domain-faq-list details[open] summary::after{content:"–"}.domain-faq-list p{margin:0;padding:0 24px 22px;color:#64748b;line-height:1.75}.domain-contact-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(360px,1.08fr);gap:clamp(22px,5vw,70px);align-items:start}.domain-contact-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.domain-contact-points span{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:900}.domain-form-card{padding:clamp(18px,3vw,30px)}.domain-form-card .cms-public-form{margin:0}.domain-legal{padding:clamp(24px,4vw,46px);max-width:920px}.domain-legal h3{margin:28px 0 10px;color:#0f172a;font-size:22px}.content-style-marketplace .cms-page-prose{max-width:920px;margin:0 auto}.content-style-marketplace .cms-page-prose h2{font-size:clamp(32px,4vw,58px);line-height:1;letter-spacing:-.05em;color:#0f172a}.content-style-marketplace .cms-page-prose p,.content-style-marketplace .cms-page-prose li{color:#64748b;line-height:1.8}
@media(max-width:1080px){.domain-grid.four,.domain-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.domain-pricing-grid,.domain-docs-grid{grid-template-columns:1fr}.domain-pricing-grid article.featured{transform:none}.domain-timeline article:not(:last-child)::after{display:none}}
@media(max-width:760px){.domain-section-head,.domain-split,.domain-contact-grid{grid-template-columns:1fr}.domain-grid.three,.domain-grid.four,.domain-timeline{grid-template-columns:1fr}.domain-cta{align-items:flex-start;flex-direction:column}.domain-cta .btn{width:100%;justify-content:center}.domain-card-stack article{grid-template-columns:1fr}.domain-card-stack i{grid-row:auto}.domain-page{padding-left:0;padding-right:0}.domain-pricing-grid article{min-height:auto}}

/* iTheme marketplace cleanup: stronger navbar/footer structure and paginated catalog. */
.theme-theme-marketplace{--market-radius:24px;--market-radius-lg:34px;overflow-x:hidden;}
.theme-theme-marketplace .site-header.header-marketplace{position:sticky;top:0;padding:12px clamp(12px,2vw,24px);background:rgba(248,250,252,.78);border-bottom:1px solid rgba(15,23,42,.06);backdrop-filter:blur(18px);}
.theme-theme-marketplace .header-marketplace .nav-shell{width:min(1240px,100%);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;min-height:72px;padding:10px 12px 10px 16px;border-radius:24px;background:rgba(12,20,36,.92);border:1px solid rgba(255,255,255,.16);box-shadow:0 18px 60px rgba(15,23,42,.18);}
.theme-theme-marketplace .header-marketplace .brand{display:inline-flex;align-items:center;gap:12px;min-width:0;color:#fff;text-decoration:none;}
.theme-theme-marketplace .header-marketplace .brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg,#1f8a70,#34d399);box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 10px 28px rgba(31,138,112,.28);}
.theme-theme-marketplace .header-marketplace .brand-copy{display:grid;gap:2px;line-height:1;min-width:0;}
.theme-theme-marketplace .header-marketplace .brand-copy strong{font-size:18px;letter-spacing:-.025em;}
.theme-theme-marketplace .header-marketplace .brand-copy small{font-size:11px;text-transform:none;letter-spacing:.01em;color:#a7f3d0;white-space:nowrap;}
.theme-theme-marketplace .header-marketplace .main-menu{display:flex;justify-content:center;align-items:center;gap:4px;min-width:0;}
.theme-theme-marketplace .header-marketplace .nav-item{position:relative;}
.theme-theme-marketplace .header-marketplace .main-menu a{display:inline-flex;align-items:center;gap:7px;padding:10px 12px;border-radius:14px;font-size:14px;font-weight:800;color:rgba(255,255,255,.86);text-decoration:none;white-space:nowrap;}
.theme-theme-marketplace .header-marketplace .main-menu a:hover,.theme-theme-marketplace .header-marketplace .nav-item:focus-within>a{background:rgba(255,255,255,.10);color:#fff;}
.theme-theme-marketplace .header-marketplace .dropdown-menu{position:absolute;top:calc(100% + 12px);left:0;z-index:30;min-width:230px;padding:10px;border-radius:18px;background:#fff;border:1px solid var(--market-border);box-shadow:0 24px 70px rgba(15,23,42,.16);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s ease;}
.theme-theme-marketplace .header-marketplace .nav-item:hover .dropdown-menu,.theme-theme-marketplace .header-marketplace .nav-item:focus-within .dropdown-menu{opacity:1;visibility:visible;transform:none;}
.theme-theme-marketplace .header-marketplace .dropdown-menu a{display:flex;color:#334155;background:transparent;border-radius:12px;padding:10px;}
.theme-theme-marketplace .header-marketplace .dropdown-menu a:hover{background:#f1f5f9;color:#0f172a;}
.theme-theme-marketplace .header-marketplace .nav-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 16px;border-radius:16px;background:linear-gradient(135deg,#f6c34f,#ffe4a7);color:#111827!important;font-weight:1000;text-decoration:none;box-shadow:0 12px 30px rgba(245,185,66,.20);}
.theme-theme-marketplace .header-marketplace .menu-toggle{display:none;}
.theme-theme-marketplace .hero-marketplace{padding-top:clamp(58px,8vw,108px);}
.theme-theme-marketplace .marketplace-hero-copy h1{max-width:720px;letter-spacing:-.06em;}
.theme-theme-marketplace .marketplace-search{border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.16);}
.theme-theme-marketplace .market-intro,.theme-theme-marketplace .market-catalog,.theme-theme-marketplace .market-spotlight,.theme-theme-marketplace .market-feature-strip,.theme-theme-marketplace .market-license,.theme-theme-marketplace .market-proof,.theme-theme-marketplace .market-final-cta{padding:clamp(46px,6vw,78px) 0;}
.theme-theme-marketplace .market-section-head{align-items:center;}
.theme-theme-marketplace .market-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.theme-theme-marketplace .market-theme-card{border-radius:24px;box-shadow:0 14px 44px rgba(15,23,42,.075);}
.theme-theme-marketplace .market-theme-body{padding:18px;}
.theme-theme-marketplace .market-theme-foot{align-items:flex-start;flex-direction:column;}
.theme-theme-marketplace .market-theme-foot div{display:flex;flex-wrap:wrap;gap:8px;width:100%;}
.theme-theme-marketplace .market-theme-foot .btn{flex:1 1 auto;justify-content:center;min-width:max-content;}
.theme-theme-marketplace .market-pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:30px;flex-wrap:wrap;}
.theme-theme-marketplace .market-pagination[hidden]{display:none!important;}
.theme-theme-marketplace .market-page-btn,.theme-theme-marketplace .market-page-number{border:1px solid var(--market-border);background:#fff;color:#0f172a;border-radius:999px;min-height:42px;padding:0 15px;font-weight:900;cursor:pointer;box-shadow:0 10px 28px rgba(15,23,42,.06);}
.theme-theme-marketplace .market-page-btn{display:inline-flex;align-items:center;gap:6px;}
.theme-theme-marketplace .market-page-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;}
.theme-theme-marketplace .market-page-numbers{display:flex;align-items:center;gap:7px;}
.theme-theme-marketplace .market-page-number[aria-current]{background:#111827;color:#fff;border-color:#111827;}
.theme-theme-marketplace .market-page-status{color:#64748b;font-size:13px;font-weight:800;padding:0 4px;}
.theme-theme-marketplace .footer-marketplace-v2{position:relative;overflow:hidden;padding:clamp(34px,5vw,64px) 0 24px;background:#0b1220;color:#fff;}
.theme-theme-marketplace .footer-marketplace-v2::before{content:"";position:absolute;inset:-20% -10% auto auto;width:420px;height:420px;border-radius:999px;background:radial-gradient(circle,rgba(52,211,153,.22),transparent 64%);pointer-events:none;}
.theme-theme-marketplace .market-footer-cta{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:clamp(24px,4vw,42px);border-radius:32px;background:linear-gradient(135deg,rgba(31,138,112,.88),rgba(15,23,42,.92));border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 80px rgba(0,0,0,.25);}
.theme-theme-marketplace .market-footer-cta h2{margin:8px 0 10px;color:#fff;font-size:clamp(30px,4vw,54px);line-height:1;letter-spacing:-.05em;max-width:780px;}
.theme-theme-marketplace .market-footer-cta p{max-width:720px;margin:0;color:#d1fae5;line-height:1.7;}
.theme-theme-marketplace .market-footer-grid{position:relative;display:grid;grid-template-columns:minmax(260px,1.2fr) repeat(3,minmax(150px,.55fr));gap:clamp(20px,4vw,46px);padding-top:clamp(34px,5vw,58px);}
.theme-theme-marketplace .market-footer-brand .brand{display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none;margin-bottom:16px;}
.theme-theme-marketplace .market-footer-brand .brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:18px;background:linear-gradient(135deg,#1f8a70,#34d399);}
.theme-theme-marketplace .market-footer-brand strong{display:block;color:#fff;font-size:22px;}.theme-theme-marketplace .market-footer-brand small{color:#a7f3d0;font-weight:800;}
.theme-theme-marketplace .market-footer-brand p{margin:0;max-width:420px;color:#cbd5e1;line-height:1.75;}
.theme-theme-marketplace .market-footer-grid nav{display:grid;align-content:start;gap:10px;}
.theme-theme-marketplace .market-footer-grid h3{margin:0 0 8px;color:#fff;font-size:15px;letter-spacing:.04em;text-transform:uppercase;}
.theme-theme-marketplace .market-footer-grid a{color:#cbd5e1;text-decoration:none;font-weight:750;}.theme-theme-marketplace .market-footer-grid a:hover{color:#fff;}
.theme-theme-marketplace .market-footer-bottom{display:flex;justify-content:space-between;gap:16px;margin-top:38px;padding-top:20px;border-top:1px solid rgba(255,255,255,.10);color:#94a3b8;font-size:14px;}
.theme-theme-marketplace .market-detail-panel{max-height:min(90vh,820px);overflow:auto;}
@media(max-width:1180px){
  .theme-theme-marketplace .header-marketplace .nav-shell{grid-template-columns:auto auto;justify-content:space-between;}
  .theme-theme-marketplace .header-marketplace .menu-toggle{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:15px;}
  .theme-theme-marketplace .header-marketplace .main-menu{position:absolute;left:clamp(12px,2vw,24px);right:clamp(12px,2vw,24px);top:calc(100% - 4px);display:none;flex-direction:column;align-items:stretch;gap:6px;padding:14px;border-radius:22px;background:#111827;border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 70px rgba(15,23,42,.22);}
  .theme-theme-marketplace .header-marketplace .nav-shell.menu-open .main-menu,.theme-theme-marketplace .site-header.menu-open .main-menu{display:flex;}
  .theme-theme-marketplace .header-marketplace .main-menu a{width:100%;justify-content:flex-start;}
  .theme-theme-marketplace .header-marketplace .dropdown-menu{position:static;display:none;min-width:0;margin-top:6px;opacity:1;visibility:visible;transform:none;box-shadow:none;border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.06);}
  .theme-theme-marketplace .header-marketplace .nav-item:hover .dropdown-menu,.theme-theme-marketplace .header-marketplace .nav-item:focus-within .dropdown-menu{display:grid;}
  .theme-theme-marketplace .header-marketplace .dropdown-menu a{color:#e5e7eb;}
  .theme-theme-marketplace .header-marketplace .nav-cta{grid-column:1 / -1;width:100%;}
}
@media(max-width:1024px){
  .theme-theme-marketplace .marketplace-hero-shell,.theme-theme-marketplace .market-intro-grid,.theme-theme-marketplace .market-section-head{grid-template-columns:1fr;}
  .theme-theme-marketplace .marketplace-hero-showcase{min-height:440px;}
  .theme-theme-marketplace .market-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .theme-theme-marketplace .market-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .theme-theme-marketplace .market-footer-brand{grid-column:1 / -1;}
}
@media(max-width:700px){
  .theme-theme-marketplace .site-header.header-marketplace{padding:10px;}
  .theme-theme-marketplace .header-marketplace .nav-shell{border-radius:18px;min-height:auto;padding:9px;}
  .theme-theme-marketplace .header-marketplace .brand-copy strong{font-size:16px;}.theme-theme-marketplace .header-marketplace .brand-copy small{font-size:10px;white-space:normal;}
  .theme-theme-marketplace .marketplace-search{display:grid;grid-template-columns:auto 1fr;}.theme-theme-marketplace .marketplace-search button{grid-column:1 / -1;width:100%;}
  .theme-theme-marketplace .marketplace-hero-showcase{min-height:330px;}.theme-theme-marketplace .marketplace-browser-float{display:none;}.theme-theme-marketplace .marketplace-browser-main{inset:20px 0 20px 0;transform:none;}.theme-theme-marketplace .marketplace-license-badge{left:12px;right:12px;bottom:0;}
  .theme-theme-marketplace .market-grid{grid-template-columns:1fr;gap:16px;}
  .theme-theme-marketplace .market-toolbar{justify-content:stretch;}.theme-theme-marketplace .market-toolbar label,.theme-theme-marketplace .market-toolbar .btn{width:100%;}
  .theme-theme-marketplace .market-page-numbers{order:3;width:100%;justify-content:center;}.theme-theme-marketplace .market-page-status{order:4;width:100%;text-align:center;}
  .theme-theme-marketplace .market-footer-cta,.theme-theme-marketplace .market-footer-bottom{flex-direction:column;align-items:flex-start;}.theme-theme-marketplace .market-footer-cta .btn{width:100%;justify-content:center;}
  .theme-theme-marketplace .market-footer-grid{grid-template-columns:1fr;}
}
@media(max-width:1180px){.theme-theme-marketplace .header-marketplace .main-menu.open{display:flex;}}

/* Theme detail pages */
.theme-theme-marketplace .market-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:18px;color:#64748b;font-size:14px;font-weight:850;flex-wrap:wrap;}
.theme-theme-marketplace .market-breadcrumb a{color:#0f766e;text-decoration:none;}
.theme-theme-marketplace .market-breadcrumb a:hover{text-decoration:underline;}
.theme-theme-marketplace .market-detail-page{padding:clamp(52px,7vw,90px) 0;background:linear-gradient(180deg,#ffffff,#f8fafc);}
.theme-theme-marketplace .market-detail-hero{display:grid;grid-template-columns:minmax(0,.86fr) minmax(360px,1.14fr);gap:clamp(26px,5vw,68px);align-items:center;}
.theme-theme-marketplace .market-detail-copy h2{margin:10px 0 18px;color:#0f172a;font-size:clamp(38px,5.6vw,76px);line-height:.94;letter-spacing:-.065em;}
.theme-theme-marketplace .market-detail-copy p{max-width:660px;margin:0;color:#64748b;font-size:clamp(16px,1.7vw,20px);line-height:1.75;}
.theme-theme-marketplace .market-detail-actions-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px;}
.theme-theme-marketplace .market-detail-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px;}
.theme-theme-marketplace .market-detail-meta-grid article{padding:16px;border-radius:20px;background:#fff;border:1px solid var(--market-border);box-shadow:0 12px 30px rgba(15,23,42,.06);}
.theme-theme-marketplace .market-detail-meta-grid strong{display:block;color:#0f172a;font-size:18px;line-height:1.15;overflow-wrap:anywhere;}
.theme-theme-marketplace .market-detail-meta-grid span{display:block;margin-top:5px;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;}
.theme-theme-marketplace .market-detail-preview{position:relative;margin:0;border-radius:34px;overflow:hidden;background:#111827;box-shadow:0 30px 90px rgba(15,23,42,.20);border:1px solid rgba(15,23,42,.08);}
.theme-theme-marketplace .market-detail-preview img{display:block;width:100%;aspect-ratio:1.2/1;object-fit:cover;}
.theme-theme-marketplace .market-detail-preview figcaption{position:absolute;left:18px;right:18px;bottom:18px;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;border-radius:20px;background:rgba(15,23,42,.86);color:#fff;backdrop-filter:blur(16px);}
.theme-theme-marketplace .market-detail-preview figcaption span{color:#a7f3d0;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;}
.theme-theme-marketplace .market-detail-preview figcaption strong{font-size:14px;overflow-wrap:anywhere;}
.theme-theme-marketplace .market-detail-info{padding:clamp(42px,6vw,78px) 0;background:#f8fafc;}
.theme-theme-marketplace .market-detail-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;}
.theme-theme-marketplace .market-detail-info-grid article{padding:clamp(20px,3vw,28px);border-radius:28px;background:#fff;border:1px solid var(--market-border);box-shadow:0 16px 50px rgba(15,23,42,.07);}
.theme-theme-marketplace .market-detail-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:18px;background:#d1fae5;color:#047857;font-size:24px;margin-bottom:18px;}
.theme-theme-marketplace .market-detail-info-grid h3{margin:0 0 14px;color:#0f172a;font-size:24px;letter-spacing:-.025em;}
.theme-theme-marketplace .market-detail-info-grid p{margin:0 0 14px;color:#64748b;line-height:1.75;}
.theme-theme-marketplace .market-detail-info-grid ul{list-style:none;padding:0;margin:0;display:grid;gap:10px;}
.theme-theme-marketplace .market-detail-info-grid li{display:flex;gap:9px;align-items:flex-start;color:#475569;line-height:1.55;}
.theme-theme-marketplace .market-detail-info-grid li i{color:#047857;margin-top:2px;}
.theme-theme-marketplace .market-license-mini{background:linear-gradient(135deg,#0f172a,#123b33)!important;color:#fff!important;}
.theme-theme-marketplace .market-license-mini h3,.theme-theme-marketplace .market-license-mini p{color:#fff!important;}
.theme-theme-marketplace .market-license-mini p{color:#dbeafe!important;}
.theme-theme-marketplace .market-license-mini .text-link{color:#a7f3d0;text-decoration:none;font-weight:950;}
.theme-theme-marketplace .market-related{padding:clamp(44px,6vw,80px) 0;background:#fff;}
.theme-theme-marketplace .market-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px;}
.theme-theme-marketplace .market-related-card a{position:relative;display:grid;min-height:280px;overflow:hidden;border-radius:28px;text-decoration:none;color:#fff;background:#111827;box-shadow:0 18px 58px rgba(15,23,42,.13);}
.theme-theme-marketplace .market-related-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.72;transition:transform .35s ease,opacity .35s ease;}
.theme-theme-marketplace .market-related-card a:hover img{transform:scale(1.05);opacity:.58;}
.theme-theme-marketplace .market-related-card span,.theme-theme-marketplace .market-related-card strong,.theme-theme-marketplace .market-related-card i{position:relative;z-index:1;margin:0 22px;}
.theme-theme-marketplace .market-related-card span{align-self:end;margin-bottom:6px;color:#a7f3d0;font-weight:950;text-transform:uppercase;font-size:12px;letter-spacing:.08em;}
.theme-theme-marketplace .market-related-card strong{align-self:start;font-size:25px;line-height:1.06;max-width:82%;}
.theme-theme-marketplace .market-related-card i{position:absolute;right:0;top:22px;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#fff;color:#0f172a;}
.theme-theme-marketplace .market-detail-final{padding:0 0 clamp(52px,7vw,90px);background:#fff;}
@media(max-width:1024px){
  .theme-theme-marketplace .market-detail-hero,.theme-theme-marketplace .market-detail-info-grid{grid-template-columns:1fr;}
  .theme-theme-marketplace .market-detail-info-grid article{min-height:0;}
  .theme-theme-marketplace .market-related-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:700px){
  .theme-theme-marketplace .market-detail-page{padding-top:34px;}
  .theme-theme-marketplace .market-detail-copy h2{font-size:clamp(38px,13vw,58px);}
  .theme-theme-marketplace .market-detail-actions-row .btn{width:100%;justify-content:center;}
  .theme-theme-marketplace .market-detail-meta-grid{grid-template-columns:1fr;}
  .theme-theme-marketplace .market-detail-preview{border-radius:24px;}
  .theme-theme-marketplace .market-detail-preview img{aspect-ratio:1/1;}
  .theme-theme-marketplace .market-detail-preview figcaption{position:static;border-radius:0;background:#0f172a;flex-direction:column;align-items:flex-start;}
  .theme-theme-marketplace .market-detail-info-grid article{border-radius:22px;}
  .theme-theme-marketplace .market-related-grid{grid-template-columns:1fr;}
  .theme-theme-marketplace .market-related-card a{min-height:240px;}
}
.theme-theme-marketplace .domain-selected-theme{display:flex;align-items:center;gap:12px;margin:22px 0;padding:14px 16px;border-radius:20px;background:#ecfdf5;border:1px solid rgba(4,120,87,.14);box-shadow:0 12px 30px rgba(4,120,87,.07);}
.theme-theme-marketplace .domain-selected-theme i{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#047857;color:#fff;font-size:21px;}
.theme-theme-marketplace .domain-selected-theme strong,.theme-theme-marketplace .domain-selected-theme span{display:block;}
.theme-theme-marketplace .domain-selected-theme strong{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#047857;}
.theme-theme-marketplace .domain-selected-theme span{margin-top:3px;font-weight:950;color:#0f172a;}

/* iTheme navbar alignment fix: keep iThemes menu compact, centered and single-source. */
@media (min-width:1181px){
  .theme-theme-marketplace .header-marketplace .nav-shell{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between;
    gap:14px;
    padding:10px 12px 10px 14px;
  }
  .theme-theme-marketplace .header-marketplace .brand{
    flex:0 0 auto;
    max-width:260px;
  }
  .theme-theme-marketplace .header-marketplace .brand-copy{
    overflow:hidden;
  }
  .theme-theme-marketplace .header-marketplace .brand-copy strong,
  .theme-theme-marketplace .header-marketplace .brand-copy small{
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .theme-theme-marketplace .header-marketplace .main-menu{
    flex:1 1 auto;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px;
    min-width:0;
    margin:0;
  }
  .theme-theme-marketplace .header-marketplace .nav-item{
    display:flex;
    align-items:center;
    min-width:0;
  }
  .theme-theme-marketplace .header-marketplace .main-menu a{
    min-height:44px;
    padding:0 11px;
    line-height:1;
  }
  .theme-theme-marketplace .header-marketplace .main-menu a i:first-child{
    font-size:16px;
    line-height:1;
  }
  .theme-theme-marketplace .header-marketplace .nav-cta{
    flex:0 0 auto;
    margin-left:0;
    white-space:nowrap;
    min-height:46px;
  }
}
@media (max-width:1180px){
  .theme-theme-marketplace .header-marketplace .nav-shell{
    position:relative;
  }
  .theme-theme-marketplace .header-marketplace .nav-cta{
    order:3;
  }
  .theme-theme-marketplace .header-marketplace .main-menu{
    z-index:90;
  }
  .theme-theme-marketplace .header-marketplace .nav-item{
    width:100%;
  }
}
@media (max-width:520px){
  .theme-theme-marketplace .header-marketplace .brand{
    max-width:calc(100vw - 112px);
  }
  .theme-theme-marketplace .header-marketplace .brand-copy small{
    display:block;
    max-width:190px;
  }
}

/* iTheme nice-to-have UX pack */
.theme-theme-marketplace .market-toolbar select{min-height:44px;border:1px solid rgba(15,23,42,.12);border-radius:14px;padding:0 14px;background:#fff;font-weight:800;color:#0f172a;box-shadow:0 10px 25px rgba(15,23,42,.05)}
.theme-theme-marketplace .market-theme-card{position:relative;overflow:hidden}.theme-theme-marketplace .market-theme-tools{position:absolute;right:14px;top:14px;display:flex;gap:8px;z-index:5}.theme-theme-marketplace .theme-tool{width:38px;height:38px;border-radius:999px;border:1px solid rgba(255,255,255,.45);background:rgba(15,23,42,.72);color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 15px 30px rgba(15,23,42,.18);backdrop-filter:blur(12px);cursor:pointer}.theme-theme-marketplace .theme-tool.active{background:#1f8a70;color:#fff}.theme-theme-marketplace .market-theme-meta a{color:inherit;text-decoration:none}.theme-theme-marketplace .market-theme-meta a:hover{text-decoration:underline}.theme-theme-marketplace .market-toolbar [data-market-saved-only].active{background:#1f8a70;color:#fff;border-color:#1f8a70}
.theme-theme-marketplace .market-advisor{background:linear-gradient(135deg,#f8fafc,#eef6f2)}.theme-theme-marketplace .market-advisor-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:28px;align-items:center}.theme-theme-marketplace .market-quiz{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:28px;padding:18px;box-shadow:0 24px 70px rgba(15,23,42,.08)}.theme-theme-marketplace .market-quiz label{display:grid;gap:7px;font-size:12px;font-weight:900;color:#475467}.theme-theme-marketplace .market-quiz select{min-height:44px;border:1px solid rgba(15,23,42,.12);border-radius:14px;padding:0 12px;background:#fff;font-weight:800}.theme-theme-marketplace .market-quiz .btn{align-self:end;min-height:44px}
.theme-theme-marketplace .market-compare-tray{position:fixed;z-index:9998;left:50%;bottom:90px;transform:translateX(-50%);width:min(960px,calc(100% - 24px));display:flex;align-items:center;gap:12px;justify-content:space-between;background:rgba(17,24,39,.94);color:#fff;border-radius:22px;border:1px solid rgba(255,255,255,.14);padding:12px 14px;box-shadow:0 24px 80px rgba(15,23,42,.32);backdrop-filter:blur(18px)}.theme-theme-marketplace .market-compare-tray>div:nth-child(2){display:flex;gap:8px;flex-wrap:wrap;flex:1}.theme-theme-marketplace .market-compare-tray span{font-size:12px;color:#d1fae5}.theme-theme-marketplace .market-compare-tray [data-compare-items] span{background:rgba(255,255,255,.12);border-radius:999px;padding:7px 10px;color:#fff;font-weight:800}.theme-theme-marketplace .market-compare-modal{position:fixed;inset:0;z-index:10000;background:rgba(15,23,42,.64);display:grid;place-items:center;padding:20px}.theme-theme-marketplace .market-compare-panel{position:relative;width:min(1080px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:30px;padding:26px;box-shadow:0 40px 120px rgba(15,23,42,.35)}.theme-theme-marketplace .market-compare-table{display:grid;gap:10px}.theme-theme-marketplace .compare-row{display:grid;grid-template-columns:180px repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}.theme-theme-marketplace .compare-row>*{padding:14px;border:1px solid rgba(15,23,42,.08);border-radius:16px;background:#f8fafc;margin:0}.theme-theme-marketplace .compare-row.head>*{background:#111827;color:#fff;font-weight:900}
.theme-theme-marketplace .market-lead-popup{position:fixed;right:18px;bottom:18px;z-index:9997;width:min(310px,calc(100% - 36px));background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:24px;padding:18px;box-shadow:0 24px 70px rgba(15,23,42,.18)}.theme-theme-marketplace .market-lead-popup>button{position:absolute;right:10px;top:10px;border:0;background:#f1f5f9;border-radius:999px;width:30px;height:30px}.theme-theme-marketplace .market-lead-popup strong{display:block;font-size:18px;color:#0f172a}.theme-theme-marketplace .market-lead-popup p{color:#64748b;margin:8px 0 12px}.theme-theme-marketplace .preview-device-switcher{position:absolute;left:16px;top:16px;z-index:4;display:flex;gap:6px;background:rgba(15,23,42,.75);border-radius:999px;padding:6px;backdrop-filter:blur(14px)}.theme-theme-marketplace .preview-device-switcher button{border:0;border-radius:999px;padding:8px 10px;background:transparent;color:#fff;font-weight:900;font-size:12px}.theme-theme-marketplace .preview-device-switcher button.active{background:#fff;color:#0f172a}.theme-theme-marketplace .market-detail-preview[data-device="tablet"] img{width:70%;margin-inline:auto;display:block}.theme-theme-marketplace .market-detail-preview[data-device="mobile"] img{width:38%;margin-inline:auto;display:block}.theme-theme-marketplace .market-category-landing .market-grid{margin-top:20px}
@media(max-width:900px){.theme-theme-marketplace .market-advisor-grid,.theme-theme-marketplace .market-quiz{grid-template-columns:1fr}.theme-theme-marketplace .market-compare-tray{align-items:flex-start;flex-direction:column;bottom:12px}.theme-theme-marketplace .compare-row{grid-template-columns:1fr}.theme-theme-marketplace .compare-row.head{display:none}.theme-theme-marketplace .preview-device-switcher{position:relative;left:auto;top:auto;margin:0 0 12px 0;width:max-content}.theme-theme-marketplace .market-detail-preview[data-device] img{width:100%}}


/* Marketplace modal visibility hardening: keep native [hidden] authoritative. */
.theme-theme-marketplace .market-compare-tray[hidden],
.theme-theme-marketplace .market-compare-modal[hidden],
.theme-theme-marketplace .market-lead-popup[hidden],
.theme-theme-marketplace [hidden].market-compare-tray,
.theme-theme-marketplace [hidden].market-compare-modal,
.theme-theme-marketplace [hidden].market-lead-popup{
  display:none!important;
}

/* Admin nice-to-have views */
.merchant-onboarding-grid .form-grid label,.marketplace-tools .form-grid label{display:grid;gap:6px}.check-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid rgba(15,23,42,.08);border-radius:18px;margin-bottom:10px;background:#fff}.check-card.done{background:#ecfdf5;border-color:#bbf7d0}.check-card input{width:18px;height:18px}.check-card span{display:grid;gap:3px;flex:1}.check-card small{color:#64748b}.grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}.span-2{grid-column:span 2}.span-5{grid-column:span 5}.form-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:1100px){.grid.six{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid.five{grid-template-columns:1fr 1fr}.span-5{grid-column:span 2}}@media(max-width:720px){.grid.six,.form-grid.five{grid-template-columns:1fr}.span-2,.span-5{grid-column:auto}.merchant-onboarding-grid{grid-template-columns:1fr!important}}
