/* Meritline marketplace edition: practical shopping structure, editorial visual restraint. */
.store-page{--market-canvas:#f9f8fd;--market-line:#e8e3f0;background:var(--market-canvas)}
.market-intro{overflow:hidden;background:radial-gradient(circle at 85% 30%,rgba(202,179,255,.36),transparent 33%),#fcfbfe;border-bottom:1px solid #eee8f7}
.market-intro-inner{min-height:350px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);align-items:center;gap:25px;position:relative;padding-top:22px;padding-bottom:20px}
.market-breadcrumb{display:flex;gap:11px;align-items:center;margin-bottom:24px;color:#716a81;font-size:11px;font-weight:620}
.market-breadcrumb a:hover{color:var(--primary)}
.market-breadcrumb span:nth-child(2){color:#b7aeca}
.market-intro .store-kicker{margin-bottom:13px;color:#7050c4;font-size:10px;letter-spacing:.12em}
.market-intro h1{font-family:Manrope,Inter,sans-serif;font-weight:820;font-size:clamp(36px,3.8vw,55px);letter-spacing:-.065em;line-height:1.13;margin:0 0 13px;max-width:700px}
.market-intro h1 span{color:#7044de}
.market-intro .store-lead{font-size:14px;line-height:1.7;margin:0 0 19px;color:#6c6679;max-width:590px}
.market-intro-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px}
.market-intro-meta>span{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#5e526f}
.market-intro-meta .icon{width:15px;height:15px;color:#7353d4}
.market-intro-art{height:330px;position:relative;isolation:isolate;overflow:visible}
.market-art-orb{position:absolute;inset:13% 0 6% 15%;background:radial-gradient(circle at 35% 25%,#dccaff,#bea7f3 61%,#ae94f0);border-radius:40% 58% 57% 43%;transform:rotate(-12deg);filter:drop-shadow(0 18px 25px rgba(100,57,160,.11))}
.market-book{position:absolute;width:171px;height:236px;border-radius:5px 13px 13px 5px;box-shadow:9px 16px 22px rgba(48,28,91,.2),5px 5px 0 rgba(33,19,58,.16);font-family:Manrope,sans-serif;font-size:25px;font-weight:850;letter-spacing:-.075em;line-height:1.02;padding:26px 18px;display:flex;flex-direction:column;justify-content:space-between}
.market-book-back{top:41px;left:47%;background:#c9eade;color:#126752;transform:rotate(14deg);font-size:25px}
.market-book-back span,.market-book-main small{font-family:Inter,sans-serif;font-weight:800;font-size:8px;letter-spacing:.08em;display:block}
.market-book-main{top:46px;left:23%;background:linear-gradient(135deg,#211d47,#50318f);color:#fff;transform:rotate(-9deg);z-index:2;font-size:29px}
.market-book{display:block}
.market-book-back span,.market-book-main small{position:absolute;left:18px;right:18px;bottom:20px}
.market-book-main>span{display:inline;color:#ba99ff}
.market-book-main small{border-top:1px solid #907bb2;padding-top:9px;color:#d7caff}
.market-art-label{position:absolute;z-index:4;right:2%;bottom:33px;background:#fff;color:#5a40a6;font-size:9px;letter-spacing:.09em;font-weight:850;line-height:1.4;padding:15px 17px;border-radius:12px;transform:rotate(-9deg);box-shadow:0 14px 28px rgba(65,39,127,.13)}
.store-catalog{padding:26px 0 100px;background:var(--market-canvas)}
.market-search-row{display:flex;align-items:center;gap:20px;margin-bottom:13px}
.market-search-row .store-search{flex:1 1 auto;min-height:58px;border-radius:13px;border-color:#ddd6eb;box-shadow:0 6px 19px rgba(42,25,94,.035);gap:14px;padding:0 20px}
.market-search-row .store-search .icon{width:20px;height:20px;color:var(--primary)}
.market-search-row input{font-size:14px}
.market-search-hint{flex:none;color:#9890a6;letter-spacing:.16em;font-size:9px;font-weight:850}
.store-preview-notice{max-width:none;background:#f3effe;border:1px solid #e6dcfa;padding:10px 15px;margin:0 0 25px;border-radius:11px}
.store-preview-notice p{font-size:11px;line-height:1.55}
.store-preview-notice strong{font-weight:800}
.store-notice-icon{width:22px;height:22px;font-size:12px}
.market-layout{display:grid;grid-template-columns:238px minmax(0,1fr);gap:26px;align-items:start}
.market-sidebar{position:sticky;top:110px;background:#fff;border:1px solid var(--market-line);border-radius:17px;padding:22px 20px 19px;box-shadow:0 8px 30px rgba(47,26,105,.035)}
.market-sidebar-header{display:flex;align-items:center;justify-content:space-between}
.market-sidebar-header h2{font-family:Manrope,sans-serif;font-size:17px;font-weight:820;letter-spacing:-.04em;margin:0}
.market-sidebar-header h2 span,.market-mobile-actions button span{background:var(--primary);color:#fff;border-radius:50%;font-size:10px;display:inline-grid;place-items:center;width:20px;height:20px;letter-spacing:0;margin-left:5px}
.market-sidebar-header h2 span[hidden],.market-mobile-actions button span[hidden]{display:none}
.market-sidebar-close,.market-apply{display:none}
.market-filter-section{padding:23px 0;border-bottom:1px solid #eeeaf4}
.market-filter-title{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:820;color:#302c3d;margin-bottom:16px}
.market-filter-title span{font-size:9px;color:#b3acc1;letter-spacing:.1em}
.market-checkboxes{display:grid;gap:13px}
.market-checkboxes label{display:flex;align-items:center;gap:10px;font-size:12px;color:#605969;cursor:pointer;min-height:24px}
.market-checkboxes label:hover span{color:var(--primary)}
.market-checkboxes input{width:17px;height:17px;margin:0;accent-color:var(--primary);flex:none;cursor:pointer}
.market-checkboxes label span{flex:1}
.market-checkboxes label small{font-size:10px;color:#8b839b}
.market-price-value{font-size:12px;color:#665f76;margin:0 0 13px}
.market-price-value strong{color:#4f3598;font-weight:820}
.market-sidebar input[type=range]{appearance:none;-webkit-appearance:none;height:6px;width:100%;border-radius:99px;background:linear-gradient(90deg,#7044de var(--range-progress,100%),#e8e3f2 var(--range-progress,100%));cursor:pointer;margin:4px 0 5px}
.market-sidebar input[type=range]::-webkit-slider-thumb{appearance:none;width:19px;height:19px;border-radius:50%;border:4px solid #fff;box-shadow:0 0 0 2px var(--primary),0 3px 6px rgba(48,20,90,.17);background:var(--primary)}
.market-sidebar input[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px var(--primary);background:var(--primary)}
.market-price-ends{display:flex;justify-content:space-between;color:#9c95a8;font-size:10px}
.market-format-row{display:flex;align-items:center;gap:8px;color:#514867;font-size:11px;font-weight:720}
.market-format-row .icon{width:15px;height:15px;color:#7956d6}
.market-format-row small{margin-left:auto;font-size:9px;color:#9d94a9;font-weight:600}
.market-clear-all{display:flex;align-items:center;gap:8px;margin:19px 0 0;color:#6744bd;background:transparent;border:0;padding:8px 0;font-size:11px;font-weight:780}
.market-clear-all .icon{width:12px;height:12px}
.market-results{min-width:0}
.market-results .store-catalog-heading{align-items:center;gap:10px;margin-bottom:17px}
.market-results .store-catalog-heading h2{font-size:clamp(25px,2.5vw,35px);letter-spacing:-.055em;line-height:1.15;margin:7px 0 3px}
.market-results .store-catalog-heading p:not(.store-section-kicker){font-size:12px}
.market-results .store-section-kicker{font-size:9px;letter-spacing:.13em}
.market-results .store-count{box-shadow:none;border-color:#e8e0f3;padding:7px 12px;font-size:11px}
.market-results .store-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #e8e2ee;flex-wrap:wrap}
.market-results .store-filters{gap:6px;flex-wrap:wrap}
.market-results .store-filter{padding:9px 13px;min-height:37px;border:1px solid #e8e1ef;background:#fff;border-radius:9px;color:#5f586d;font-size:10px;box-shadow:none}
.market-results .store-filter.is-selected{background:#7044de;color:white;border-color:#7044de}
.market-results .store-sort-label{flex:none;font-size:11px}
.market-results .store-sort-label select{min-height:38px;max-width:158px;border-radius:9px}
.market-applied{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:-2px 0 19px;color:#777080;font-size:10px}
.market-applied[hidden],.market-filter-backdrop[hidden]{display:none}
.market-applied>span{font-weight:750;margin-right:5px}
.market-applied>div{display:flex;flex-wrap:wrap;gap:6px}
.market-applied-chip{border:1px solid #d9cbed;background:#efe9fb;color:#5337a2;border-radius:8px;padding:6px 9px;font-size:10px;font-weight:730}
#clearApplied{border:0;background:transparent;color:#6946bd;text-decoration:underline;font-size:10px;font-weight:730;padding:6px}
.market-results .store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.market-results .book-card{border-radius:15px;border-color:#e8e3ed;box-shadow:0 5px 18px rgba(50,30,105,.035)}
.market-results .book-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(50,30,105,.09)}
.market-results .book-cover{aspect-ratio:1.05;padding:21px}
.market-results .book-cover-title{font-size:clamp(22px,2vw,31px)}
.market-results .book-card-body{padding:17px 18px 18px}
.market-results .book-card h3{font-size:17px;letter-spacing:-.045em;margin:11px 0 5px;min-height:41px}
.market-results .book-card-body>p{font-size:11px;line-height:1.55;min-height:35px;margin-bottom:13px}
.market-results .book-category{font-size:8px}
.market-results .book-card-bottom{padding-top:13px;align-items:center}
.market-results .book-price strong{font-size:21px}
.market-results .book-details{font-size:10px;min-height:35px;white-space:nowrap}
.book-full-link{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#7044de;color:#fff;font-size:11px;font-weight:770;padding:11px 13px;border-radius:9px;margin-top:14px;min-height:43px;transition:background .2s}
.book-full-link:hover{background:#5932c1}
.book-full-link span{font-size:16px;font-weight:500}
.market-results .book-buy{margin-top:6px;min-height:31px;border-radius:8px;background:#f6f3fb;color:#91849e;font-weight:680;font-size:10px}
.market-results .book-buy:disabled{cursor:not-allowed}
.market-mobile-actions{display:none}
.store-dialog-details-link{min-height:50px;width:100%;margin-bottom:9px;border-radius:12px}
.store-dialog-buy{margin-top:0;min-height:41px;border-radius:11px}
.store-dialog-inner{gap:30px}
.store-dialog-copy{padding-top:18px}
.store-dialog-price{margin-bottom:17px}
@media(max-width:1200px){.market-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}.market-results .store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-results .book-cover-title{font-size:clamp(26px,3.2vw,39px)}.market-search-hint{display:none}}
@media(max-width:900px){.market-intro-inner{grid-template-columns:1fr minmax(230px,.6fr);min-height:320px}.market-intro-art{height:270px}.market-book{transform:scale(.8) rotate(-9deg);transform-origin:top left}.market-book-back{transform:scale(.8) rotate(14deg)}.market-art-label{bottom:25px}.market-layout{display:block}.market-sidebar{position:fixed;top:0;right:0;bottom:0;z-index:211;width:min(380px,92vw);max-width:100%;height:100dvh;overflow-y:auto;border-radius:19px 0 0 19px;padding:25px;box-shadow:-20px 0 80px rgba(27,13,60,.16);transform:translateX(110%);transition:transform .24s ease;visibility:hidden}.market-sidebar.is-open{transform:translateX(0);visibility:visible}.market-sidebar-close{display:grid;place-items:center;width:40px;height:40px;border:0;background:#f0eaff;color:#6b46d4;border-radius:10px}.market-filter-backdrop{position:fixed;z-index:210;inset:0;background:rgba(20,15,36,.5);backdrop-filter:blur(2px)}.filters-open{overflow:hidden}.market-apply{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:49px;border:0;border-radius:10px;background:var(--primary);color:white;font-weight:780;font-size:13px;margin-top:12px}.market-apply .icon{width:16px;height:16px}.market-mobile-actions{display:flex;gap:12px;margin:0 0 15px}.market-mobile-actions>button,.market-mobile-actions>label{display:flex;justify-content:center;align-items:center;flex:1;gap:8px;min-height:46px;background:#fff;border:1px solid #ded6ec;border-radius:10px;padding:0 12px;color:#514760;font-size:12px;font-weight:750}.market-mobile-actions .icon{width:16px;height:16px;color:var(--primary)}.market-mobile-actions label select{border:0;background:transparent;color:#514760;max-width:150px;min-width:0;font-size:11px;font-weight:700}.market-results .store-sort-label{display:none}.market-results .store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-results .book-cover-title{font-size:clamp(23px,3vw,32px)}}
@media(max-width:720px){.market-intro-inner{min-height:0;grid-template-columns:1fr;gap:0;padding-top:30px;padding-bottom:28px}.market-intro-art{display:none}.market-breadcrumb{margin-bottom:18px}.market-intro h1{font-size:clamp(35px,7.2vw,48px)}.market-intro .store-lead{font-size:13px;line-height:1.7}.store-catalog{padding:20px 0 75px}.market-search-row .store-search{min-height:52px}.market-results .store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-results .book-cover-title{font-size:clamp(24px,4.5vw,34px)}.market-results .store-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.market-results .store-filter{white-space:nowrap;flex:none}}
@media(max-width:480px){.market-intro-meta{gap:8px 16px}.market-intro-meta>span{font-size:10px}.market-intro h1{font-size:36px}.market-intro .store-lead{font-size:12px}.market-search-row .store-search{padding-inline:14px}.market-search-row input{font-size:12px}.store-preview-notice{padding:10px;margin-bottom:20px}.store-preview-notice p{font-size:10px}.market-results .store-catalog-heading{margin-bottom:15px}.market-results .store-catalog-heading h2{font-size:27px}.market-results .store-catalog-heading p:not(.store-section-kicker){font-size:11px}.market-results .store-grid{grid-template-columns:1fr;gap:14px}.market-results .book-cover{aspect-ratio:1.28;padding:23px}.market-results .book-cover-title{font-size:37px}.market-results .book-card h3{min-height:0;font-size:19px}.market-results .book-card-body>p{min-height:0;font-size:12px}.market-results .book-card-body{padding:19px}.market-results .book-category{font-size:8px}.market-results .book-details{font-size:11px}.market-mobile-actions>button,.market-mobile-actions>label{padding:0 8px}.store-product-dialog{width:calc(100% - 18px);max-height:94dvh;border-radius:18px}.store-dialog-copy{padding-top:25px}.store-dialog-inner{padding:19px}.market-sidebar{width:min(365px,96vw)}}
@media(prefers-reduced-motion:reduce){.market-sidebar,.market-results .book-card,.book-full-link{transition:none}}
