/* A calm store architecture: category navigation, one catalog grid and clear
   ownership. Art stays inside a generous display area; controls share glass. */
.market-v12{--market-line:#ac98684d;--market-surface:#fffff34a;--market-soft:#d4e7db50;--market-ink:var(--text);max-width:1380px;margin:auto;padding-bottom:24px}
.market-v12 *{box-sizing:border-box;min-width:0}
.market-v12 :is(h1,h2,h3,p){margin:0}
.market-v12 .eyebrow{font:700 10px/1.5 Onest,Arial,sans-serif;letter-spacing:1.6px}
.market-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr);gap:30px;min-height:300px;padding:40px 48px;border:1px solid var(--market-line);border-radius:24px;overflow:hidden;background:radial-gradient(ellipse at 81% 53%,#55bcbc22,transparent 48%),linear-gradient(115deg,#fffef98c,#d6eae240 65%,#dcd6f024);box-shadow:inset 0 1px 0 #fff9,0 12px 40px #36666308}
.market-hero-copy{position:relative;z-index:1;max-width:600px}
html body.watercolor-cabinet .market-v12 h1{font-size:clamp(30px,3.7vw,48px);line-height:1.08;margin:12px 0 16px;letter-spacing:-1px}
.market-hero-copy>p{max-width:510px;font-size:15px;line-height:1.65;color:var(--muted)}
.market-hero-copy>small{display:block;margin-top:20px;font-size:11px;color:var(--muted)}
.market-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:23px}
.market-hero-art{position:relative;align-self:stretch;min-height:230px;pointer-events:none}
.market-hero-halo{position:absolute;inset:4% 3%;border:1px solid #a9996d40;border-radius:50%;background:radial-gradient(ellipse at center,#e8f8e952,#80bdbb25 52%,transparent 70%);transform:rotate(-12deg)}
.market-hero-halo::after{content:'';position:absolute;inset:17px;border:1px solid #a9996d29;border-radius:50%}
.market-hero-wand{position:absolute;width:75%;height:86%;object-fit:contain;top:-5%;left:0;filter:drop-shadow(0 10px 8px #254b4422);transform:rotate(-12deg)}
.market-hero-crystal{position:absolute;width:35%;height:49%;object-fit:contain;right:3%;bottom:15%;transform:rotate(7deg);filter:drop-shadow(0 8px 8px #53377029)}
.market-orbit{position:absolute;font-size:22px;color:#b08c44}.market-orbit-one{right:11%;top:3%}.market-orbit-two{left:2%;bottom:25%;font-size:32px}
.market-hero-caption{position:absolute;bottom:0;right:0;text-align:right;font:italic 15px/1.35 Georgia,serif;color:var(--muted)}
.market-page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:5px 0 28px}.market-page-heading p{color:var(--muted)}
.market-nav{display:flex;gap:9px;flex-wrap:wrap;margin:26px 0 22px;padding-bottom:22px;border-bottom:1px solid var(--market-line)}
html body.watercolor-cabinet .market-nav .market-category{font:600 12px/1.25 Onest,Arial,sans-serif;min-height:41px;padding:10px 15px!important;flex:0 1 auto}
.market-category .icon{width:18px;height:18px;flex:none}
html body.watercolor-cabinet .market-nav .market-category.active{color:#fffdeb!important;text-shadow:0 1px 2px #104754}
html body.watercolor-cabinet .market-nav .market-category.active>.wc-ref-surface{background:linear-gradient(160deg,#48b4b9b3,#126a79f0 63%,#1c879191)!important;box-shadow:inset 0 2px 1px #e4ffffbc,inset 0 -2px 1px #68d6daa6!important}
.market-tools{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,.46fr) minmax(160px,.38fr);gap:14px;margin:18px 0 10px}
.market-tools label{display:grid;gap:6px;font:600 11px/1.4 Onest,Arial,sans-serif;color:var(--muted)}
.market-tools :is(input,select){width:100%;min-width:0;padding:11px 13px;height:44px;border:1px solid var(--market-line);border-radius:12px;color:var(--text);font:14px Onest,Arial,sans-serif;background:var(--market-surface);box-shadow:inset 0 1px 1px #fff7}
.market-tools :is(input,select):focus{outline:2px solid #388e95;outline-offset:2px}
.market-result-count{color:var(--muted);font-size:11px;margin:16px 0!important}
.market-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.market-shelf{margin-top:27px}.market-shelf+.market-shelf{margin-top:40px}.market-shelf-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 17px}.market-shelf-head h2{margin-top:5px}
html body.watercolor-cabinet .market-v12 :is(.market-product,.cursor-product){position:relative;display:flex;flex-direction:column;gap:0;padding:0!important;border:1px solid var(--market-line)!important;border-radius:18px!important;background:var(--market-surface)!important;box-shadow:inset 0 1px 0 #ffffff8c,0 7px 20px #35574908!important;overflow:hidden;backdrop-filter:none;-webkit-backdrop-filter:none;transition:box-shadow .2s,border-color .2s,transform .2s}
.market-v12 :is(.market-product,.cursor-product)>.wc-reference-frame{display:none!important}
.market-v12 :is(.market-product,.cursor-product)::before,.market-v12 :is(.market-product,.cursor-product)::after{content:none!important}
.market-product-art,.market-v12 .cursor-shop-art{height:165px;width:100%;padding:21px;object-fit:contain;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 56%,#9bc9b829,transparent 72%);border-bottom:1px solid #ab996322;filter:none;margin:0;align-self:stretch}
.market-product-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 5px #25423619)}
.market-product-art>.icon{width:66px;height:66px;color:#548f96;stroke-width:1.15}
.market-v12 .cursor-product:nth-child(3n+2) .cursor-shop-art{background:radial-gradient(ellipse at center,#c4acd427,transparent 74%)}
.market-v12 :is(.market-product-copy,.cursor-product-copy){padding:20px;display:flex;flex:1;flex-direction:column;gap:10px}
html body.watercolor-cabinet .market-v12 :is(.market-product,.cursor-product) h3{font-size:21px;line-height:1.2;letter-spacing:-.3px}
.market-v12 :is(.market-product,.cursor-product) p{font:13px/1.55 Onest,Arial,sans-serif;color:var(--muted);min-height:3.1em}
.market-v12 :is(.market-product,.cursor-product) small{font-size:11px;color:var(--muted)}
.market-product-footer{margin-top:auto;display:flex;flex-direction:column;gap:13px;padding-top:6px}
.market-v12 .price{display:flex;align-items:center;gap:7px;margin:0;min-height:29px}
.market-v12 .price img{width:26px;height:29px;object-fit:contain}
.market-v12 .price strong{font-size:18px;font-variant-numeric:tabular-nums}.market-v12 .price strong span{font:12px Onest,Arial,sans-serif}
.market-v12 .cursor-actions{margin:0;padding-top:3px}
html body.watercolor-cabinet .market-v12 :is(.cursor-actions,.market-product-footer) .wc-ref-button{width:100%;font-size:14px;min-height:42px;line-height:1.22;padding:11px 16px!important}
.market-v12 .cursor-product.cursor-selected{border-color:#398f8a!important;box-shadow:inset 0 0 0 1px #398f8a66!important}
.market-owned-label{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;font-size:12px;color:#38776e}.market-owned-label .icon{width:18px;height:18px}
.market-empty{display:grid;justify-items:center;text-align:center;gap:15px;padding:50px 22px;border:1px dashed var(--market-line);border-radius:18px;background:var(--market-surface)}.market-empty>.icon{width:44px;height:44px;color:#8da5a0}.market-empty>p{max-width:580px;color:var(--muted);font-size:14px;line-height:1.65}
.market-workshop{display:grid;grid-template-columns:65px minmax(0,1fr);gap:20px;border:1px solid var(--market-line);border-radius:20px;padding:34px;background:var(--market-surface)}.market-workshop-icon{width:65px;height:65px;display:grid;place-items:center;background:var(--market-soft);border-radius:19px}.market-workshop-icon .icon{width:32px;height:32px}.market-workshop h2{margin:7px 0 14px}.market-workshop p{font-size:14px;line-height:1.7;max-width:770px;color:var(--muted)}
.market-workshop-steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;counter-reset:workshop;padding:0;margin:8px 0}.market-workshop-steps li{counter-increment:workshop;padding:20px;border-radius:14px;border:1px solid var(--market-line)}.market-workshop-steps li::before{content:'0' counter(workshop);display:block;font:italic 26px Georgia,serif;color:#8a8659;margin-bottom:12px}.market-workshop-steps b,.market-workshop-steps span{display:block}.market-workshop-steps span{font-size:13px;color:var(--muted);margin-top:9px;line-height:1.65}.market-workshop-note{grid-column:1/-1;border-top:1px solid var(--market-line);padding-top:18px;font-size:12px;color:var(--muted)}
.market-bottom{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:34px;align-items:start}.market-room-link,.market-exchange{border:1px solid var(--market-line);border-radius:17px;background:var(--market-surface)}.market-room-link{display:flex;align-items:center;gap:15px;padding:19px 23px;color:var(--text);text-decoration:none;min-height:88px}.market-room-link>.icon{width:27px;height:27px;flex:none}.market-room-link>.icon:last-child{margin-left:auto;width:20px}.market-room-link span{display:grid;gap:4px}.market-room-link small{font-size:12px;color:var(--muted)}
.market-exchange summary{display:flex;list-style:none;align-items:center;gap:13px;padding:18px 23px;cursor:pointer;min-height:86px}.market-exchange summary::-webkit-details-marker{display:none}.market-exchange summary img{width:33px;height:44px;object-fit:contain}.market-exchange summary>span:not(.market-expand){display:grid;gap:4px}.market-exchange summary small{font-size:12px;color:var(--muted)}.market-expand{margin-left:auto;font:28px Georgia,serif}.market-exchange[open] .market-expand{transform:rotate(45deg)}.market-exchange-body{padding:0 23px 23px}.market-exchange-body>p{font-size:12px;line-height:1.65;color:var(--muted);margin-bottom:15px}.market-exchange form{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.market-exchange .field{flex:1 1 120px;margin:0}.market-exchange .error{flex:1 1 100%}.market-exchange input{width:100%}
html[data-theme='dark'] .market-v12{--market-line:#a6c2ae37;--market-surface:#6cb3b10a;--market-soft:#6ca79e22}
html[data-theme='dark'] .market-hero{background:radial-gradient(ellipse at 81% 53%,#47a9b52b,transparent 48%),linear-gradient(115deg,#174352a3,#092e3c38 65%,#4b476e20);box-shadow:inset 0 1px 0 #c5e7dd29,0 12px 40px #011e301f}
html[data-theme='dark'] .market-hero-halo{background:radial-gradient(ellipse at center,#c3dfc210,#56aca717 52%,transparent 70%);border-color:#d8c79232}
html[data-theme='dark'] .market-v12 :is(.market-product,.cursor-product){box-shadow:inset 0 1px 0 #bfded418,0 7px 20px #001e3214!important}
html[data-theme='dark'] .market-tools :is(input,select){background:#123d49;box-shadow:inset 0 1px 1px #eaffff19}.market-tools option{background:var(--bg)}
html[data-theme='dark'] .market-owned-label{color:#a7d9bb}
@media(hover:hover){.market-v12 :is(.market-product,.cursor-product):hover{border-color:#80aaa5!important;transform:translateY(-3px)}.market-room-link:hover{background:var(--market-soft)}}
@media(max-width:1100px){.market-products{grid-template-columns:repeat(3,minmax(0,1fr))}.market-hero{padding:32px;grid-template-columns:1.3fr .7fr;gap:15px}.market-product-art,.market-v12 .cursor-shop-art{height:148px}}
@media(max-width:760px){.market-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.market-tools{grid-template-columns:1fr 1fr}.market-search{grid-column:1/-1}.market-hero{padding:26px;grid-template-columns:1fr}.market-hero-art{display:none}.market-bottom{grid-template-columns:1fr}.market-workshop-steps{grid-template-columns:1fr}.market-workshop{padding:24px}.market-page-heading{align-items:flex-start;flex-wrap:wrap}.market-shelf-head{align-items:flex-start;gap:12px}.market-shelf-head .eyebrow{max-width:200px;display:block}.market-v12 :is(.market-product-copy,.cursor-product-copy){padding:15px}.market-nav{gap:8px}}
@media(max-width:480px){.market-products{grid-template-columns:1fr}.market-tools{grid-template-columns:1fr}.market-search{grid-column:auto}.market-hero{padding:23px}.market-hero-actions{align-items:stretch;flex-direction:column}.market-nav{display:grid;grid-template-columns:1fr 1fr}.market-nav .market-category:last-child{grid-column:1/-1}.market-category .icon{width:16px;height:16px}.market-shelf-head{flex-wrap:wrap}.market-product-art,.market-v12 .cursor-shop-art{height:174px}.market-v12 :is(.market-product-copy,.cursor-product-copy){padding:21px}.market-workshop{display:block;padding:22px}.market-workshop-icon{margin-bottom:19px}.market-workshop-steps{margin-top:23px}.market-workshop-note{margin-top:20px}.market-room-link,.market-exchange summary{padding:18px}.market-exchange-body{padding:0 18px 18px}}
@media(prefers-reduced-motion:reduce){.market-v12 :is(.market-product,.cursor-product){transition:none!important;transform:none!important}}
