/* Monak Lab Marketplace v1.0.8 — isolated catalog/home product styles.
   Loads after app.css; does not change checkout, account or admin styles. */
.ml-market-page,.ml-home-market{--ml-catalog-ink:#18203d;--ml-catalog-muted:#707991;--ml-catalog-border:#e7eaf4}
.ml-home-market{padding-block:clamp(48px,6vw,82px) 42px}
.ml-market-heading{gap:18px;margin-bottom:26px;align-items:end}
.ml-market-heading h2{max-width:660px;font-size:clamp(1.8rem,3.4vw,2.55rem);line-height:1.17;letter-spacing:-.045em}
.ml-market-heading p{max-width:620px;line-height:1.7;margin-top:9px}
.ml-market-all,.ml-aside-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;font-weight:800;color:var(--primary);font-size:13px;white-space:nowrap}
.ml-market-all:hover,.ml-aside-link:hover{text-decoration:underline;text-underline-offset:4px}
.ml-home-spotlight{display:grid;grid-template-columns:minmax(0,2.12fr) minmax(250px,.88fr);gap:20px;align-items:stretch}
.ml-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-width:0}
.ml-product-grid--single{grid-template-columns:minmax(0,1fr)}
.ml-product-card.product-card{display:flex;flex-direction:column;min-width:0;border-radius:21px;border:1px solid var(--ml-catalog-border);box-shadow:0 8px 25px rgba(34,43,89,.035);overflow:hidden;isolation:isolate;background:#fff}
.ml-product-card.product-card:hover{box-shadow:0 18px 50px rgba(33,35,88,.10);transform:translateY(-3px);border-color:#dad6f8}
.ml-product-card .ml-product-art.product-art{display:flex;align-items:center;justify-content:center;width:100%;height:auto;aspect-ratio:1.72;background:linear-gradient(125deg,#13132f,#272154);overflow:hidden;flex:none}
.ml-product-card .ml-product-art.product-art img{width:100%;height:100%;object-fit:contain;display:block}
.ml-product-card .ml-tech-tag.art-mark{top:12px;left:12px;font-size:10px;line-height:1.15;padding:7px 11px;font-weight:800;letter-spacing:.015em;border-radius:8px;color:#fff;background:rgba(30,23,64,.68);border:1px solid rgba(255,255,255,.26)}
.ml-product-card .ml-product-body.product-body{display:flex;flex-direction:column;flex:1;min-width:0;padding:19px 20px 20px}
.ml-card-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0;margin-bottom:9px}
.ml-product-card .eyebrow{font-size:10px;letter-spacing:.095em;margin:0;line-height:1.45;min-width:0}
.ml-card-format{font-size:10px;display:flex;align-items:center;gap:4px;color:#9298aa;white-space:nowrap;font-weight:700}
.ml-product-card .ml-product-body h3{font-size:clamp(16px,1.55vw,19px);line-height:1.37;letter-spacing:-.025em;min-height:0;margin:0 0 10px;overflow-wrap:anywhere}
.ml-product-card .ml-product-body h3 a{color:#18203d}
.ml-product-card .ml-product-body p{font-size:12px;line-height:1.76;min-height:0;margin:0 0 16px;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:var(--ml-catalog-muted)}
.ml-product-card .ml-product-bottom.product-bottom{margin-top:auto;padding-top:15px;border-top:1px solid #edf0f5;display:flex;align-items:end;gap:12px}
.ml-price-caption{display:block;color:#8b93a8;font-size:10px;font-weight:700;margin-bottom:3px}
.ml-product-card .ml-product-bottom strong{display:block;font-size:clamp(19px,2.1vw,24px);white-space:nowrap;letter-spacing:-.035em;color:#1b2142}
.ml-product-card .ml-product-open.product-open{display:inline-flex;justify-content:center;align-items:center;width:auto;min-width:42px;height:40px;gap:9px;padding:0 12px;border-radius:11px;background:#f2f0ff;color:var(--primary);font-size:17px;text-decoration:none;font-weight:800;flex:none}
.ml-product-card .ml-product-open:hover{background:var(--primary);color:#fff}
.ml-open-label{font-size:12px}
.ml-product-card--featured.product-card{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);min-height:332px}
.ml-product-card--featured .ml-product-art.product-art{height:100%;min-height:305px;aspect-ratio:auto}
.ml-product-card--featured .ml-product-body.product-body{padding:clamp(20px,2.7vw,34px);justify-content:center}
.ml-product-card--featured .ml-product-body h3{font-size:clamp(22px,2.4vw,28px);line-height:1.28;margin-bottom:13px}
.ml-product-card--featured .ml-product-body p{font-size:13px;line-height:1.75;-webkit-line-clamp:4;margin-bottom:21px}
.ml-product-card--featured .ml-product-bottom{margin-top:0;padding-top:18px}
.ml-product-card--featured .ml-product-bottom strong{font-size:clamp(23px,2.7vw,29px)}
.ml-home-market-aside{border-radius:22px;padding:clamp(22px,3vw,34px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:radial-gradient(circle at 95% 10%,rgba(155,120,255,.55),transparent 44%),linear-gradient(145deg,#201942,#383171);color:#fff;min-height:275px;position:relative;overflow:hidden}
.ml-home-market-aside:after{content:"";position:absolute;right:-66px;bottom:-105px;width:220px;height:220px;border:1px solid rgba(255,255,255,.13);border-radius:50%;pointer-events:none}
.ml-aside-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:rgba(255,255,255,.12);font-size:25px;margin-bottom:23px;color:#d9c9ff}
.ml-aside-eyebrow{font-weight:800;font-size:10px;letter-spacing:.15em;color:#c6bbff;margin-bottom:9px}
.ml-home-market-aside h3{font-size:clamp(22px,2.5vw,29px);line-height:1.25;letter-spacing:-.035em;color:#fff;margin-bottom:13px}
.ml-home-market-aside p{font-size:12px;line-height:1.7;color:#d5d1e9;margin-bottom:27px}
.ml-home-market-aside .ml-aside-link{color:#fff;background:rgba(255,255,255,.14);padding:11px 14px;border:1px solid rgba(255,255,255,.22);border-radius:10px;white-space:normal}
.ml-empty-products{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:13px;padding:55px 22px;background:#fff;border:1px dashed #d9d9ed;border-radius:20px}
.ml-empty-products>.ph{font-size:34px;color:var(--primary)}
.ml-empty-products h3{font-size:22px;color:var(--ml-catalog-ink)}
.ml-empty-products p{font-size:13px;max-width:340px;line-height:1.6}
.ml-empty-products .btn{margin-top:6px}
/* Search catalog */
.ml-market-page{padding-bottom:75px}
.ml-market-hero{padding-block:clamp(36px,5.4vw,66px) clamp(28px,4vw,44px);display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative}
.ml-market-hero-text{position:relative;z-index:1;max-width:710px}
.ml-hero-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--primary);letter-spacing:.14em;font-size:10px;font-weight:900;margin-bottom:17px}
.ml-market-hero h1{font-size:clamp(2.1rem,4.2vw,3.6rem);line-height:1.12;letter-spacing:-.05em;margin-bottom:15px;color:var(--ml-catalog-ink)}
.ml-market-hero p{font-size:clamp(13px,1.5vw,15px);line-height:1.7;max-width:595px;color:var(--ml-catalog-muted)}
.ml-market-hero-icon{display:grid;place-items:center;width:145px;height:145px;border-radius:35px;background:linear-gradient(145deg,#f3f0ff,#e7eeff);color:#7967e5;flex:none;font-size:65px;transform:rotate(-9deg)}
.ml-market-hero-icon span{position:absolute;top:-10px;right:-8px;display:grid;place-items:center;width:44px;height:44px;background:#fff;border:1px solid #e2e4f2;border-radius:15px;font-size:21px;transform:rotate(9deg);box-shadow:0 12px 28px rgba(59,52,149,.1)}
.ml-market-catalog{padding-block:0}
.ml-filter-panel{border:1px solid #e8e9f3;background:linear-gradient(160deg,#fff,#fcfcff);border-radius:23px;padding:23px;box-shadow:0 13px 34px rgba(37,44,88,.045);margin-bottom:37px}
.ml-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.ml-filter-overline,.ml-results-eyebrow{display:block;color:#8877d7;font-weight:900;letter-spacing:.13em;font-size:10px;margin-bottom:6px}
.ml-filter-heading h2{font-size:21px;letter-spacing:-.035em;margin:0;color:var(--ml-catalog-ink)}
.ml-filter-note{display:inline-flex;align-items:center;gap:6px;color:#838ca2;font-size:12px;white-space:nowrap}
.ml-category-chips.category-chips{display:flex;gap:9px;margin:0 0 16px;padding:0 0 8px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
.ml-category-chips.category-chips a{flex:none;font-size:11px;font-weight:800;border:1px solid #e6e7f2;border-radius:100px;padding:9px 14px;color:#717a91;background:#f9faff;text-decoration:none}
.ml-category-chips.category-chips a.is-active{background:#f0ecff;color:var(--primary);border-color:#c2b6ff}
.ml-category-chips a:focus-visible,.ml-filterbar input:focus-visible,.ml-filterbar select:focus-visible,.ml-filter-submit:focus-visible,.ml-product-open:focus-visible{outline:3px solid #ac9cfc;outline-offset:2px}
.ml-filterbar.filterbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(138px,190px) minmax(130px,175px) auto;align-items:stretch;gap:10px;border:0;background:transparent;margin:0;padding:0;box-shadow:none;border-radius:0}
.ml-filterbar .ml-searchbox.searchbox{min-width:0;display:flex;align-items:center;gap:10px;border:1px solid #e0e5f1;background:#fff;border-radius:12px;color:#8993a9;padding:0 14px}
.ml-filterbar .ml-searchbox input{width:100%;min-width:0;border:0;background:transparent;box-shadow:none;outline:none;padding:13px 0;line-height:1.3;font-size:13px}
.ml-filter-select{display:block;min-width:0}
.ml-filterbar .ml-filter-select select{width:100%;height:100%;max-width:none;min-width:0;border:1px solid #e0e5f1;border-radius:12px;background:#fff;padding:12px 13px;font-size:12px;color:#4e5873}
.ml-filterbar .ml-filter-submit{margin:0;white-space:nowrap;border-radius:12px;padding:0 18px;min-height:48px;font-size:12px}
.ml-results-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}
.ml-results-head h2{font-size:clamp(22px,2.9vw,29px);margin:0 0 5px;letter-spacing:-.04em;color:var(--ml-catalog-ink)}
.ml-results-head p{font-size:12px;color:var(--ml-catalog-muted);line-height:1.5}
.ml-results-head strong{color:var(--primary)}
.ml-clear-filters{display:inline-flex;align-items:center;gap:7px;border:1px solid #dfdcef;color:var(--primary);padding:9px 13px;border-radius:10px;font-size:11px;font-weight:800;white-space:nowrap;background:#fff;text-decoration:none}
.ml-clear-filters:hover{background:#f5f2ff}
.ml-market-pagination.pagination{display:flex;justify-content:center;gap:8px;margin-top:31px}
.ml-market-pagination.pagination a{min-width:40px;height:40px;display:grid;place-items:center;border-radius:11px;text-decoration:none}
.ml-market-pagination.pagination a.current{background:var(--primary);color:#fff}
.ml-market-page .sr-only{position:absolute!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;width:1px!important;height:1px!important;white-space:nowrap!important;padding:0!important;margin:-1px!important;border:0!important}
@media (max-width:1100px){
 .ml-product-grid--multi{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ml-home-spotlight{grid-template-columns:minmax(0,1.65fr) minmax(230px,.85fr);gap:14px}
 .ml-home-spotlight .ml-product-card--featured.product-card{grid-template-columns:1fr}
 .ml-home-spotlight .ml-product-card--featured .ml-product-art.product-art{aspect-ratio:1.72;height:auto;min-height:0}
 .ml-home-spotlight .ml-product-card--featured .ml-product-body.product-body{padding:23px}
 .ml-filterbar.filterbar{grid-template-columns:minmax(0,1fr) minmax(125px,170px) minmax(125px,170px) auto}
}
@media (max-width:760px){
 .ml-product-grid--single .ml-product-card--featured.product-card{grid-template-columns:1fr}
 .ml-product-grid--single .ml-product-card--featured .ml-product-art.product-art{aspect-ratio:1.72;height:auto;min-height:0}
 .ml-home-spotlight{grid-template-columns:1fr}
 .ml-home-market-aside{min-height:0;padding:24px;display:grid;grid-template-columns:48px 1fr;gap:8px 14px;align-items:center}
 .ml-home-market-aside .ml-aside-icon{grid-row:1/4;margin:0;width:45px;height:45px}
 .ml-home-market-aside h3{font-size:21px;margin:0}
 .ml-home-market-aside p{margin:2px 0 7px;grid-column:2}
 .ml-home-market-aside .ml-aside-link{grid-column:2;justify-self:start}
 .ml-product-grid--multi{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .ml-market-hero-icon{width:90px;height:90px;border-radius:26px;font-size:43px}
 .ml-market-hero-icon span{width:29px;height:29px;font-size:16px;border-radius:9px}
 .ml-filterbar.filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ml-filterbar .ml-searchbox{grid-column:1/-1}
 .ml-filterbar .ml-filter-submit{grid-column:1/-1;min-height:45px}
}
@media (max-width:600px){
 .ml-home-market{padding-top:48px;padding-bottom:8px}
 .ml-market-heading{align-items:flex-start;gap:14px;margin-bottom:20px;display:flex;flex-direction:column}
 .ml-market-heading h2{font-size:25px}
 .ml-market-heading p{font-size:12px;line-height:1.7}
 .ml-market-all{font-size:12px;padding:9px 13px;background:#f4f1ff;border-radius:10px}
 .ml-product-grid--multi{grid-template-columns:1fr;gap:16px}
 .ml-product-card.product-card{border-radius:18px}
 .ml-product-card .ml-product-art.product-art{aspect-ratio:1.75;height:auto}
 .ml-product-card .ml-product-body.product-body{padding:17px 17px 18px}
 .ml-product-card .ml-product-body h3{font-size:18px;line-height:1.38}
 .ml-product-card .ml-product-body p{font-size:12px;line-height:1.68;margin-bottom:15px}
 .ml-product-card--featured .ml-product-body h3{font-size:20px}
 .ml-product-card .ml-product-bottom strong{font-size:23px}
 .ml-card-format{font-size:9px}
 .ml-home-market-aside{border-radius:17px}
 .ml-market-page{padding-bottom:24px}
 .ml-market-hero{padding-top:35px;padding-bottom:25px}
 .ml-market-hero-icon{display:none}
 .ml-market-hero h1{font-size:clamp(29px,8vw,38px);line-height:1.17;margin-bottom:10px}
 .ml-market-hero p{font-size:12px}
 .ml-hero-kicker{font-size:9px;margin-bottom:13px}
 .ml-filter-panel{padding:15px;border-radius:17px;margin-bottom:29px}
 .ml-filter-heading h2{font-size:19px}
 .ml-filter-heading{margin-bottom:13px}
 .ml-filter-note{font-size:10px}
 .ml-category-chips.category-chips{margin-bottom:11px;padding-bottom:9px}
 .ml-category-chips.category-chips a{font-size:11px;padding:8px 12px}
 .ml-filterbar.filterbar{gap:9px}
 .ml-filterbar .ml-filter-select select{height:43px;font-size:12px;padding:9px}
 .ml-filterbar .ml-searchbox input{font-size:13px}
 .ml-results-head{align-items:flex-start;gap:13px;margin-bottom:16px}
 .ml-results-head h2{font-size:22px}
 .ml-clear-filters{font-size:10px;padding:8px 9px}
 .ml-empty-products{padding:34px 20px}
}
@media (max-width:350px){
 .ml-product-card .ml-card-format{display:none}
 .ml-product-card .ml-product-bottom strong{font-size:20px}
 .ml-product-card .ml-open-label{display:none}
 .ml-results-head{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){.ml-product-card.product-card{transition:none}}
