/* Shared site tokens, header, footer and buttons come from service-pages.css. */
.market-body{--accent:#87e64b;--accent-soft:#d9f5c9;--panel-dark:#0f0f0f}
.market-hero .market-search{width:100%;margin:25px 0 25px;max-width:620px}
.hero-search-count{display:block;font-size:12px;margin:-12px 0 20px;color:#36572a}
.card-metrics{font-size:11px;color:var(--muted);margin:0 0 14px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-menu>a[aria-current=page]{text-decoration:underline;text-decoration-color:var(--green);text-decoration-thickness:3px;text-underline-offset:7px}
.market-hero{display:grid;grid-template-columns:1.25fr 1fr;gap:4%;align-items:center;padding-top:calc(var(--header-height) + 70px);padding-bottom:65px}
.market-hero h1{font-size:clamp(48px,5.7vw,90px);line-height:1.04;letter-spacing:-.065em;margin:0 0 33px}
.market-hero h1 em{font-style:normal;text-decoration:underline;text-decoration-color:var(--green);text-decoration-thickness:.095em;text-underline-offset:.065em;text-decoration-skip-ink:none}
.hero-description{max-width:51ch;font-size:18px;line-height:1.65;color:var(--muted);margin-bottom:27px}
.hero-actions{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.hero-asset-study{position:relative;min-width:0;aspect-ratio:1.18;align-self:center;margin-top:35px}
.study-label{display:flex;justify-content:space-between;gap:20px;font-size:9px;letter-spacing:.08em;font-weight:600;border-top:1px solid #a0aa97;padding-top:13px}
.hero-asset-study img{position:absolute;width:86%;box-shadow:0 14px 35px #14211914;border:1px solid #b5bcae;border-radius:8px}
.study-back{top:15%;left:0;transform:rotate(-7deg)}.study-front{top:33%;right:0;transform:rotate(5deg)}
.study-tag{position:absolute;bottom:0;right:0;background:var(--green);border:1px solid var(--ink);font-size:11px;font-weight:600;padding:12px 17px;transform:rotate(-3deg)}
.market-summary{display:flex;gap:6%;align-items:center;border-block:1px solid #bac0b3;padding:24px 0;font-size:12px;color:var(--muted)}
.market-summary>span{white-space:nowrap}.market-summary strong{font-size:29px;font-weight:600;letter-spacing:-.055em;color:var(--ink);margin-right:10px}
.market-summary .catalogue-note{margin-left:auto;font-size:11px;line-height:1.6;white-space:normal}
.market-browse{padding-top:80px;padding-bottom:95px;scroll-margin-top:100px}
.browse-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:32px}.browse-heading .service-kicker{margin-bottom:16px}
.browse-heading h2{font-size:clamp(34px,3.1vw,48px);margin:0}
.market-search{display:flex;align-items:center;gap:12px;width:46%;padding:8px 8px 8px 18px;border:1px solid #a7b09d;border-radius:7px;background:#fffaf5;box-shadow:0 3px 0 #15211a05}
.market-search>span{font-size:29px;line-height:1}.market-search input{border:0;background:transparent;width:100%;min-width:0;font-size:13px;height:40px;color:var(--ink);padding:0 4px}
.market-search input::placeholder{color:#62685e;opacity:1}.market-search button{border:0;border-radius:5px;background:var(--green);height:40px;width:40px;flex:none;font-size:21px}
.category-nav{display:flex;gap:22px;overflow:auto;scrollbar-width:thin;border-bottom:1px solid #bac0b3;padding:0 3px 2px;margin-bottom:34px}
.category-nav button{position:relative;flex:none;background:none;color:var(--muted);border:0;white-space:nowrap;font-size:12px;font-weight:600;padding:19px 0}
.category-nav button::after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--green);transform:scaleX(0);transform-origin:left;transition:transform .25s}
.category-nav button:hover,.category-nav [aria-pressed=true]{color:var(--ink)}.category-nav [aria-pressed=true]::after,.category-nav button:hover::after{transform:scaleX(1)}
.market-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:34px;align-items:start}
.filter-home{position:sticky;top:110px;max-height:calc(100svh - 125px);overflow-y:auto;scrollbar-width:thin;padding:5px 7px 8px 0}
.filter-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.filter-title h3{font-size:16px;letter-spacing:-.025em;margin:0 0 23px}
.filter-controls{display:grid;gap:20px}.filter-field{display:block;font-size:11px;font-weight:700}.filter-field>span{display:block;margin-bottom:7px}
.filter-field select{width:100%;min-height:42px;font-size:12px;padding:9px 23px 9px 9px;border:1px solid #c4cbbd;border-radius:5px;background:#fffaf5;color:var(--ink);text-overflow:ellipsis}
.clear-filters{background:none;border:0;padding:0;min-height:44px;margin-top:16px;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:4px;color:var(--ink)}
.filter-note{font-size:10px;color:var(--muted);line-height:1.55;margin:7px 0}.filter-close,.apply-filters,.filter-open{display:none}
.result-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px;min-height:36px}.result-toolbar p{font-size:12px;color:var(--muted);margin:0}
.market-sort select{border:0;border-bottom:1px solid #adb8a4;padding:8px 24px 8px 0;background:transparent;color:var(--ink);font-size:12px;max-width:100%}
.active-filters{display:flex;flex-wrap:wrap;gap:8px}.active-filters:not(:empty){margin-bottom:24px}
.active-filters button{display:inline-flex;align-items:center;gap:12px;background:#e2eed9;border:1px solid #afc39e;padding:7px 10px;border-radius:5px;font-size:11px;color:var(--ink);max-width:100%;overflow-wrap:anywhere;text-align:left}
.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 20px}
.market-card{display:flex;flex-direction:column;min-width:0;border:1px solid #c9d0c0;border-radius:8px;background:#fffaf5;overflow:hidden;transition:transform .25s var(--ease),box-shadow .25s}
.market-card:hover{transform:translateY(-5px);box-shadow:0 10px 26px #1421190b}
.market-preview{display:block;position:relative;overflow:hidden;border-bottom:1px solid #c9d0c0;aspect-ratio:3/2;background:#dce9d3}
.market-preview img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}.market-card:hover .market-preview img{transform:scale(1.04)}
.market-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;font-size:10px;font-weight:700;line-height:1.5;border-radius:4px;border:1px solid #18221630;color:var(--ink)}
.market-preview .market-badge{position:absolute;top:12px;left:12px}.badge-free{background:var(--green)}.badge-premium{background:#142119;color:#fffaf5;border-color:#142119}
.editor-badge{position:absolute;right:12px;top:12px;background:#fffaf5e8;padding:4px 8px;border-radius:4px;font-size:9px;color:#182216;font-weight:600;border:1px solid #18221620}
.market-card-body{display:flex;flex-direction:column;flex:1;padding:23px 20px 19px}.card-category{font-size:9px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;color:#526348;margin:0 0 12px}
.market-card h3{font-size:22px;line-height:1.15;letter-spacing:-.045em;margin:0 0 12px}.market-card h3 a{text-decoration:none}.market-card h3 a:hover{text-decoration:underline;text-decoration-color:#6bad42;text-decoration-thickness:1px}
.card-copy{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 20px;flex:1}
.tech-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:19px}.tech-tags span{font-size:9px;line-height:1.4;border:1px solid #d9ded1;border-radius:3px;padding:4px 6px;color:#424e3d;background:#f2f2ea}
.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #d7dece;padding-top:16px}.card-bottom strong{font-size:17px;font-weight:600}.card-bottom .text-link{font-size:11px;text-decoration:none;gap:10px}.card-bottom .text-link:hover{text-decoration:underline}.card-bottom .text-link span{font-size:17px}
.preview-link{align-self:flex-end;font-size:10px;margin-top:11px;color:var(--muted);text-decoration:none}.preview-link:hover{text-decoration:underline}
.market-empty{padding:65px 25px;text-align:center;border:1px solid var(--line);background:#fffaf5;border-radius:8px}.market-empty>span{font-size:42px;color:#41742b}.market-empty h3{font-size:35px;margin:16px 0}.market-empty p{max-width:40ch;margin:0 auto 25px;color:var(--muted)}
.catalogue-notice{padding:20px;border:1px solid #c4cbbd;background:#e7eedf;font-size:14px}
.market-featured{padding:85px 0 90px;background:#142119;color:#fff5ed}.featured-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:40px}.featured-heading .service-kicker{color:var(--green)}
.featured-heading h2{font-size:clamp(40px,4.3vw,64px);margin:0}.featured-heading>p{max-width:36ch;color:#c3cfbc;font-size:16px;margin:0 0 5px}.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.featured-card{color:var(--ink);border:0}.featured-card .market-card-body{padding:27px}.featured-card h3{font-size:27px}.featured-card .card-copy{font-size:14px}.featured-card .tech-tags span{font-size:10px}.featured-card .card-bottom strong{font-size:22px}.featured-card .card-bottom .text-link{font-size:13px}
.market-promos{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding-block:85px}.market-promo{position:relative;overflow:hidden;padding:44px;border:1px solid #b8c6ad;border-radius:8px;isolation:isolate}.free-promo{background:#d9f5c9}.premium-promo{background:#ece7db}
.market-promo h2{font-size:clamp(40px,4.2vw,64px);margin-bottom:25px}.market-promo p:not(.service-kicker){max-width:38ch;font-size:16px;color:#485443;margin-bottom:30px}.promo-number{position:absolute;right:20px;top:10px;font-size:160px;line-height:1;color:#142119;opacity:.07;font-weight:700;z-index:-1;letter-spacing:-.1em}
.filter-dialog,.preview-dialog{color:var(--ink);background:var(--cream);border:1px solid #89967e;border-radius:8px;padding:30px;max-height:calc(100svh - 32px);overscroll-behavior:contain}.filter-dialog::backdrop,.preview-dialog::backdrop{background:#0d0f0d99;backdrop-filter:blur(5px)}
.preview-dialog{width:min(960px,calc(100% - 32px));overflow:auto}.preview-dialog .service-kicker{margin-bottom:14px}.preview-dialog h2{font-size:clamp(27px,3vw,40px);max-width:90%;margin-bottom:25px}.preview-dialog>img{width:100%;max-height:60svh;object-fit:contain;background:#dde5d5;border-radius:5px}
.preview-close{position:absolute;top:16px;right:16px;background:none;border:1px solid #bec9b3;border-radius:5px;width:36px;height:36px;font-size:22px;color:var(--ink)}.preview-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px}.preview-footer p{font-size:12px;color:var(--muted);margin:0}.preview-footer .site-button{flex:none;min-height:44px;font-size:12px;padding:10px 15px}
.asset-detail{padding-top:calc(var(--header-height) + 45px)}.asset-detail .breadcrumbs{margin-bottom:40px}.detail-heading{max-width:1050px;margin-bottom:45px}.detail-heading h1{font-size:clamp(42px,5.7vw,78px);max-width:20ch;margin-bottom:25px}.detail-heading>p:last-child{max-width:62ch;font-size:19px;color:var(--muted)}
.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:45px}.detail-preview{margin:0;scroll-margin-top:105px}.detail-preview img{width:100%;border:1px solid #b6c4aa;border-radius:8px}.detail-preview figcaption{font-size:12px;color:var(--muted);margin-top:12px}.detail-copy{max-width:72ch;padding-top:45px}.detail-copy h2{font-size:35px;margin-bottom:25px}.detail-copy h3{font-size:24px;margin:30px 0 15px}.detail-copy p{color:var(--muted)}.detail-copy .tech-tags span{font-size:12px}
.detail-purchase{position:sticky;top:110px;padding:28px;border:1px solid #bec9b3;border-radius:8px;background:#fffaf5}.detail-price{font-size:50px;letter-spacing:-.06em;font-weight:600;margin:22px 0 0;line-height:1}.price-caption{font-size:12px;color:var(--muted);margin:12px 0 26px}.detail-purchase dl{font-size:12px;margin-bottom:27px}.detail-purchase dl>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #d7ddcf}.detail-purchase dt{color:var(--muted)}.detail-purchase dd{margin:0;text-align:right;font-weight:600}.detail-purchase .site-button{width:100%;gap:10px;font-size:12px;padding:14px 16px}.detail-note{font-size:12px;color:var(--muted);margin:20px 0}.detail-purchase .text-link{font-size:12px}.detail-related{padding-block:80px}
@media(min-width:1650px){.market-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.market-layout{gap:30px;grid-template-columns:190px minmax(0,1fr)}.market-card-body{padding-inline:18px}.market-card h3{font-size:21px}}
@media(max-width:1100px){.market-layout{grid-template-columns:165px minmax(0,1fr);gap:24px}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-hero{gap:4%;grid-template-columns:1.2fr 1fr}.market-hero h1{font-size:clamp(45px,5.8vw,67px)}.market-summary{gap:4%}.market-summary strong{display:block}.market-summary .catalogue-note{max-width:250px}.featured-grid{gap:18px}.featured-card .market-card-body{padding:21px}.featured-card h3{font-size:24px}.market-promo{padding:32px}.detail-layout{grid-template-columns:minmax(0,1fr) 300px;gap:25px}}
@media(max-width:850px){.market-hero{padding-top:125px;padding-bottom:45px}.market-hero h1{font-size:clamp(42px,6vw,53px)}.hero-description{font-size:16px}.hero-actions{gap:20px}.hero-actions .text-link{font-size:12px}.hero-asset-study{aspect-ratio:.9}.study-label{font-size:8px}.study-front{top:37%}.study-tag{font-size:9px;bottom:10%}.market-summary{gap:5%;flex-wrap:wrap}.market-summary>span{font-size:11px}.market-summary .catalogue-note{font-size:10px;max-width:210px}.market-browse{padding-top:55px;padding-bottom:60px}.browse-heading{display:block}.browse-heading h2{margin-bottom:25px}.market-search{width:100%}.market-layout{display:block}.filter-home{display:none}.filter-open{display:inline-flex;min-height:38px;padding:7px 12px;font-size:12px;gap:20px}.result-toolbar{gap:10px}.result-toolbar p{margin-right:auto}.filter-dialog{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(400px,100%);max-width:100%;border-radius:0;padding:25px 25px 35px;border-right:0}.filter-title h3{font-size:23px;margin:0}.filter-title{margin-bottom:28px}.filter-close{display:block;width:38px;height:38px;border:1px solid #bdc9b3;border-radius:5px;background:transparent;font-size:25px}.filter-field{font-size:12px}.filter-field select{font-size:14px;min-height:47px}.filter-note{font-size:12px}.apply-filters{display:flex;width:100%;margin-top:25px}.market-card h3{font-size:25px}.market-card .card-copy{font-size:14px}.market-card .card-category{font-size:10px}.market-card .tech-tags span{font-size:10px}.market-card .card-bottom .text-link{font-size:12px}.market-featured{padding-block:60px}.featured-heading{display:block}.featured-heading>p{margin-top:26px;max-width:50ch}.featured-grid{grid-template-columns:1fr}.featured-card{display:grid;grid-template-columns:1fr 1fr}.featured-card .market-preview{height:100%;aspect-ratio:auto;min-height:285px;border-bottom:0}.featured-card .market-preview img{object-fit:cover}.market-promos{padding-block:55px;gap:20px}.market-promo{padding:30px 24px}.market-promo h2{font-size:43px}.market-promo p:not(.service-kicker){font-size:15px}.market-promo .site-button{font-size:12px;gap:14px;padding:13px 15px}.detail-layout{grid-template-columns:1fr}.detail-purchase{position:static;grid-row:1}.detail-purchase .site-button{max-width:350px}.detail-heading h1{font-size:55px}.detail-related .market-card{display:grid;grid-template-columns:1fr 1fr}.detail-related .market-preview{height:100%;aspect-ratio:auto}}
@media(max-width:600px){.market-hero{display:block;padding-top:116px}.market-hero h1{font-size:clamp(39px,9.7vw,57px);margin-bottom:26px}.market-hero .service-kicker{font-size:9px;letter-spacing:.1em}.hero-description{font-size:16px}.hero-actions{gap:23px}.hero-actions .site-button{min-height:49px;padding:13px 17px;font-size:12px}.hero-asset-study{aspect-ratio:1.55;margin:45px auto 10px;max-width:430px}.hero-asset-study img{width:67%;border-radius:5px}.study-back{top:21%;left:3%}.study-front{top:35%;right:2%}.study-tag{bottom:0;right:0;font-size:8px;padding:8px 10px}.study-label{font-size:8px}.market-summary{gap:0;justify-content:space-between;padding-block:19px}.market-summary strong{font-size:28px;margin:0 0 3px}.market-summary .catalogue-note{max-width:none;width:100%;margin-top:20px;font-size:11px;border-top:1px solid #d3d8c9;padding-top:16px}.market-summary .catalogue-note br{display:none}.market-browse{scroll-margin-top:82px}.browse-heading h2{font-size:35px}.market-search{padding-left:12px;gap:5px}.market-search input{font-size:12px}.category-nav{gap:22px;margin-bottom:24px}.category-nav button{font-size:12px}.result-toolbar{flex-wrap:wrap;gap:14px}.result-toolbar p{font-size:12px;flex:1}.market-sort{width:100%}.market-sort select{width:100%;min-height:39px;font-size:13px}.market-grid{grid-template-columns:1fr;gap:25px}.market-card-body{padding:24px}.market-card h3{font-size:27px}.market-card .card-copy{font-size:15px}.market-card .card-bottom strong{font-size:21px}.market-card .card-bottom .text-link{font-size:13px}.preview-link{font-size:12px}.market-preview .market-badge{font-size:11px}.featured-heading h2{font-size:43px}.featured-card{display:flex}.featured-card .market-preview{min-height:0;aspect-ratio:3/2}.featured-card .market-card-body{padding:25px}.market-promos{grid-template-columns:1fr}.market-promo{padding:33px 27px}.market-promo h2{font-size:48px}.preview-dialog{padding:24px 17px;width:calc(100% - 20px)}.preview-dialog h2{font-size:27px;max-width:85%}.preview-dialog .service-kicker{font-size:9px}.preview-footer{display:block}.preview-footer p{margin-bottom:18px}.preview-close{top:12px;right:12px}.asset-detail{padding-top:105px}.asset-detail .breadcrumbs{font-size:10px;gap:8px}.detail-heading h1{font-size:41px}.detail-heading>p:last-child{font-size:17px}.detail-purchase{padding:24px}.detail-copy h2{font-size:32px}.detail-related .market-card{display:flex}.detail-related .market-preview{aspect-ratio:3/2}.detail-related{padding-block:55px}}
@media(prefers-reduced-motion:reduce){.market-card:hover,.market-card:hover .market-preview img{transform:none}}
@media(max-width:360px){.market-hero h1{font-size:32px}}
/* Interactive form previews share the original collection at desktop/mobile widths. */
.preview-dialog.has-form-preview{width:min(1180px,96vw);max-width:1180px}
.preview-dialog [hidden]{display:none!important}
.form-preview-controls{display:flex;gap:6px;margin:14px 0}
.form-preview-controls button{padding:9px 15px;border:1px solid #c9c9be;border-radius:6px;background:#fffaf4;font:inherit;font-size:12px;color:#17221b;cursor:pointer}
.form-preview-controls button[aria-pressed=true]{background:#17221b;color:#fff}
.form-preview-stage{padding:10px;background:#ece8e1;display:flex;justify-content:center;border-radius:10px}
.form-preview-stage iframe{display:block;width:100%;height:65vh;min-height:430px;border:0;background:#fff;border-radius:8px}
.form-preview-stage[data-device=mobile] iframe{width:390px;max-width:100%}
.detail-form-preview iframe{display:block;width:100%;height:720px;max-height:85vh;border:0}
