/* Meritline Studio's editorial digital bookshelf. Existing site tokens and typography are inherited. */
.store-page{background:var(--canvas);color:var(--ink)}
.store-page .primary-nav a[aria-current="page"]{color:var(--primary-deep)}
.store-page .primary-nav a[aria-current="page"]::after{opacity:1}
.store-page .header-cta{text-align:center}
.store-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 78% 42%,#ede3ff 0,transparent 38%),linear-gradient(170deg,#fcfbfe 18%,#f8f5ff 100%)}
.store-hero-layout{display:grid;grid-template-columns:52% 48%;align-items:center;min-height:630px;padding-top:16px;padding-bottom:76px}
.store-hero-copy{position:relative;z-index:2;padding-bottom:20px}
.store-kicker,.store-section-kicker{margin:0;color:var(--primary-deep);font-size:11px;line-height:1.5;font-weight:850;letter-spacing:.16em}
.store-kicker{display:flex;align-items:center;gap:11px;margin-bottom:29px}
.store-kicker-dot{display:block;width:9px;height:9px;background:#7651d8;border:3px solid #e5d8ff;box-sizing:content-box;border-radius:50%}
.store-hero h1{font-family:"Manrope",ui-sans-serif,sans-serif;font-size:clamp(62px,5.7vw,91px);font-weight:800;line-height:1.025;letter-spacing:-.085em;color:#1d1b2b;margin:0 0 28px}
.store-hero h1 em,.store-philosophy h2 em{font-style:normal;color:var(--primary)}
.store-lead{font-size:18px;line-height:1.75;color:#5b586c;max-width:520px;margin:0 0 32px}
.store-hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.store-explore{min-height:60px;padding:0 25px;font-size:14px}
.store-explore .icon{width:18px;height:18px}
.store-format{display:inline-flex;align-items:center;gap:9px;color:#6e6882;font-size:12px;font-weight:680}
.store-format .icon{width:19px;height:19px;color:var(--primary)}
.store-hero-wave{position:absolute;bottom:-1px;left:0;width:100%;height:80px;pointer-events:none}
.store-hero-wave path{fill:var(--lavender)}

.store-hero-art{position:relative;min-height:530px;isolation:isolate;perspective:1000px}
.store-art-halo{position:absolute;inset:5% 0 8% 0;border-radius:49% 51% 51% 49%;background:radial-gradient(circle at 35% 32%,#d2bbff,#b89af4 50%,#ae88e9 80%);opacity:.82;transform:rotate(-14deg);box-shadow:0 35px 90px rgba(110,70,202,.13)}
.store-art-halo::after{content:"";position:absolute;inset:14%;border:1px solid rgba(255,255,255,.4);border-radius:50%;transform:rotate(-25deg) scale(1.45,.68)}
.store-art-sheet{position:absolute;top:13%;left:28%;width:52%;height:71%;border-radius:7px 16px 15px 7px;box-shadow:-10px 16px 40px rgba(48,27,104,.16),8px 11px 0 rgba(38,24,66,.13);overflow:hidden}
.store-art-sheet::before{content:"";position:absolute;top:0;bottom:0;left:9px;width:1px;background:rgba(255,255,255,.2)}
.store-art-sheet-back{background:#f2e7ff;color:#7652b8;transform:translate(-37%,8%) rotate(-19deg);z-index:1;padding:62px 25px}
.store-art-sheet-back span{font-family:"Manrope",sans-serif;font-size:30px;line-height:1.03;letter-spacing:-.07em;font-weight:850;position:relative;z-index:2}
.store-art-sheet-back i{display:block;position:absolute;width:230px;height:230px;border:30px solid #d8c1f6;border-radius:50%;right:-90px;bottom:-80px}
.store-art-sheet-middle{background:#ceeee3;color:#0d755b;transform:translate(37%,7%) rotate(17deg);z-index:2;padding:62px 28px}
.store-art-sheet-middle span{font-family:"Manrope",sans-serif;font-size:38px;font-weight:850;line-height:1;letter-spacing:-.07em}
.store-art-sheet-middle i{display:block;width:220px;height:220px;border:25px solid rgba(0,111,84,.2);border-radius:50%;position:absolute;left:20%;bottom:-40%}
.store-art-sheet-front{z-index:3;background:linear-gradient(150deg,#222047 2%,#312162 57%,#5639a2);color:#fff;transform:translate(0,0) rotate(-4deg);padding:24px 30px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:-10px 24px 45px rgba(44,22,108,.23),8px 11px 0 #211b3e}
.art-overline{font-size:9px;letter-spacing:.18em;font-weight:800;color:#bcb4df}
.store-art-sheet-front strong{font-family:"Manrope",sans-serif;font-size:clamp(30px,3.6vw,49px);line-height:1.02;letter-spacing:-.085em;font-weight:850;position:relative;z-index:2}
.store-art-sheet-front strong span{color:#b9a1ff}
.store-art-sheet-front::after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,#9b75e6 5%,transparent 70%);right:-85px;top:30%}
.art-footer{font-size:8px;letter-spacing:.13em;font-weight:800;color:#e2d9ff;border-top:1px solid #8e79c7;padding-top:14px;display:flex;justify-content:space-between;align-items:center}
.art-footer b{font-size:21px;font-weight:500}
.store-art-sticker{z-index:5;position:absolute;right:0;bottom:10%;width:140px;height:140px;border-radius:50%;background:#fffdfd;box-shadow:0 12px 28px rgba(70,40,132,.17);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(11deg);color:#43306f;text-align:center;font-size:9px;font-weight:750;letter-spacing:.075em;line-height:1.5}
.store-art-sticker strong{font-size:10px}.store-art-sticker span{color:var(--primary);font-size:26px;margin-top:6px}

.store-catalog{background:var(--lavender);padding:85px 0 112px}
.store-catalog-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}
.store-catalog-heading h2,.store-faq h2{font-family:"Manrope",sans-serif;font-size:clamp(38px,3.6vw,54px);line-height:1.15;letter-spacing:-.065em;font-weight:820;margin:11px 0 9px}
.store-catalog-heading h2 span,.store-faq h2 span{color:var(--primary)}
.store-catalog-heading p:not(.store-section-kicker){font-size:15px;color:#665e75;margin:0}
.store-count{border:1px solid #d9c9ee;background:#fff;box-shadow:0 6px 16px rgba(58,30,108,.04);border-radius:999px;padding:9px 15px;color:#5f4a8c;font-size:12px;font-weight:780;white-space:nowrap}
.store-preview-notice{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e2d6f4;color:#605670;border-radius:15px;padding:13px 18px;margin-bottom:31px}
.store-preview-notice p{font-size:12px;line-height:1.6;margin:0}
.store-preview-notice strong{color:#3b2c68}
.store-notice-icon{display:grid;place-items:center;background:#ebe3ff;color:var(--primary-deep);width:25px;height:25px;border-radius:50%;font-size:14px;font-weight:900;flex:none;font-family:Georgia,serif;font-style:italic}
.store-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:25px}
.store-search{display:flex;align-items:center;gap:10px;flex:0 0 250px;min-height:46px;padding:0 14px;border:1px solid #dcd2ed;border-radius:13px;background:#fff;color:#82769b;transition:border-color .2s,box-shadow .2s}
.store-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(112,68,222,.12)}
.store-search .icon{width:17px;height:17px}
.store-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#292538;font-size:12px}
.store-search input::placeholder{color:#6f6879}
.store-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap;flex:1}
.store-filter{border:1px solid transparent;background:transparent;color:#5c5371;border-radius:10px;padding:11px 14px;min-height:43px;font-family:"Inter",sans-serif;font-size:11px;font-weight:780;white-space:nowrap;transition:background .18s,color .18s,border-color .18s}
.store-filter:hover{background:#fff;border-color:#dfd3f1}
.store-filter.is-selected{background:var(--primary);color:white;box-shadow:0 7px 15px rgba(112,68,222,.17)}
.store-sort-label{display:flex;align-items:center;gap:10px;margin-left:auto;font-size:11px;font-weight:730;color:#716685}
.store-sort-label select{min-height:44px;padding:0 34px 0 13px;border:1px solid #dcd2ed;border-radius:11px;background:#fff;color:#3a324e;max-width:175px;font-size:12px;font-weight:650;cursor:pointer}
.store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}
.book-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #eae3f2;border-radius:21px;box-shadow:0 9px 28px rgba(51,28,95,.045);transition:transform .22s,box-shadow .22s}
.book-card:hover{transform:translateY(-5px);box-shadow:0 16px 36px rgba(51,28,95,.12)}
.book-card[hidden]{display:none}
.book-cover{aspect-ratio:1/.96;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;padding:23px;overflow:hidden}
.book-cover::before{content:"";position:absolute;top:0;bottom:0;left:14px;border-left:1px solid rgba(255,255,255,.2);z-index:5}
.book-cover-series,.book-cover-bottom{position:relative;z-index:2;font-size:8px;letter-spacing:.15em;font-weight:800;line-height:1.35}
.book-cover-title{position:relative;z-index:2;font-family:"Manrope",sans-serif;font-size:clamp(25px,2.2vw,35px);font-weight:860;letter-spacing:-.075em;line-height:1.05;margin:15px 0}
.book-cover-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;border-top:1px solid currentColor;padding-top:12px;opacity:.75;font-size:7px}
.book-cover-bottom b{font-size:13px}
.book-cover-git{color:#f5efff;background:linear-gradient(145deg,#222044,#392269 75%,#57349e)}
.book-cover-git .book-cover-title span{color:#bb9aff}
.git-cover-lines{position:absolute;right:-23px;top:30%;width:152px;height:152px;opacity:.45;transform:rotate(-35deg)}
.git-cover-lines i{position:absolute;border:1px solid #c8b6f9;border-radius:50%;width:100%;height:100%}.git-cover-lines i:nth-child(2){width:69%;height:69%;top:15%;left:15%}.git-cover-lines i:nth-child(3){width:38%;height:38%;top:31%;left:31%}
.book-cover-focus{color:#084e42;background:#caeee1}
.focus-cover-ring{position:absolute;right:-50px;bottom:-65px;width:260px;height:260px;border:35px solid #7ccdb7;border-radius:50%;opacity:.8}
.focus-cover-ring i{position:absolute;inset:26px;border:2px solid #128b6d;border-radius:50%}
.book-cover-learning{color:#3a2869;background:#e1d4ff}
.learning-cover-disc{position:absolute;right:-33px;bottom:-56px;width:213px;height:213px;background:#c1a3ff;border-radius:50%;display:grid;place-items:center}
.learning-cover-disc::after{content:"";position:absolute;inset:32px;border:1px solid #7955c1;border-radius:50%}
.learning-cover-disc i{font-size:95px;font-style:normal;font-family:"Manrope",sans-serif;font-weight:850;letter-spacing:-.1em;color:#8a67ce;transform:rotate(-22deg)}
.book-cover-dopamine{color:#ffeae7;background:linear-gradient(150deg,#40224e,#7c386a 64%,#9c577e)}
.dopamine-cover-orbits{position:absolute;right:-48px;bottom:-95px;width:290px;height:290px;border-radius:50%;border:25px solid rgba(255,165,148,.3)}
.dopamine-cover-orbits i{position:absolute;inset:26px;border-radius:50%;border:1px solid rgba(255,191,190,.6)}.dopamine-cover-orbits i:nth-child(2){inset:68px}.dopamine-cover-orbits i:nth-child(3){inset:103px;background:#ef9ba1;border:0}
.book-card-body{padding:19px 20px 20px;display:flex;flex-direction:column;flex:1}
.book-category{display:flex;justify-content:space-between;gap:4px;flex-wrap:wrap;color:#6d5b88;font-size:8px;font-weight:850;letter-spacing:.095em;min-height:15px}
.book-category span:last-child{color:#6f6879}
.book-card h3{font-family:"Manrope",sans-serif;font-size:19px;line-height:1.24;letter-spacing:-.055em;font-weight:830;color:#242034;margin:14px 0 8px}
.book-card-body>p{font-size:12px;line-height:1.65;color:#777181;margin:0 0 20px}
.book-card-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:9px;border-top:1px solid #f0edf5;padding-top:17px;margin-top:auto}
.book-price{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.book-price strong{font-size:20px;font-weight:830;line-height:1.1;letter-spacing:-.06em;color:#28243a}
.book-price small{font-size:9px;color:#756e83}
.book-details{display:inline-flex;align-items:center;gap:4px;background:transparent;border:0;color:var(--primary-deep);font-size:11px;font-weight:780;white-space:nowrap;padding:8px 0}
.book-details:hover{text-decoration:underline}
.book-details .icon{width:14px;height:14px}
.book-buy{display:block;width:100%;margin-top:16px;min-height:43px;border:0;border-radius:11px;background:var(--primary);color:#fff;font-size:12px;font-weight:780;transition:background .18s,transform .18s}
.book-buy:not(:disabled):hover{background:#5b32c7;transform:translateY(-2px)}
.book-buy:disabled{cursor:not-allowed;background:#f1ecfb;color:#9786b5}
.store-empty{border:1px dashed #cabbdf;background:#fff;border-radius:20px;text-align:center;padding:45px 18px;margin-top:15px;color:#777181}
.store-empty[hidden]{display:none}
.store-empty>.icon{width:26px;height:26px;margin:0 auto 12px;color:var(--primary)}
.store-empty h3{color:#272236;font-size:22px;margin:0 0 5px}.store-empty p{font-size:13px;margin:0 0 18px}

.store-philosophy{background:linear-gradient(120deg,#5c32d0,#743ce9);color:#fff;padding:95px 0;position:relative;overflow:hidden}
.store-philosophy::before{content:"";position:absolute;right:-70px;top:-180px;width:580px;height:580px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 80px rgba(255,255,255,.035),0 0 0 170px rgba(255,255,255,.025);pointer-events:none}
.store-philosophy-inner{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:75px;position:relative;z-index:1}
.store-philosophy .store-section-kicker{color:#e0d4ff}
.store-philosophy h2{font-family:"Manrope",sans-serif;font-size:clamp(46px,4.5vw,66px);line-height:1.1;letter-spacing:-.07em;font-weight:830;margin:14px 0 0}
.store-philosophy h2 em{color:#d6c5ff}
.store-philosophy-inner>div:last-child p{font-size:18px;line-height:1.8;color:#f0eaff;max-width:470px;margin-bottom:22px}
.store-philosophy a{display:inline-flex;align-items:center;gap:11px;color:#fff;font-size:13px;font-weight:790;border-bottom:1px solid rgba(255,255,255,.58);padding-bottom:7px}
.store-philosophy a .icon{width:16px;height:16px}
.store-faq{background:#fff;padding:92px 0 109px}
.store-faq-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:85px}
.store-faq h2{margin-top:14px}.store-faq-items{border-top:1px solid #e8e2f0}
.store-faq-items details{border-bottom:1px solid #e8e2f0}
.store-faq-items summary{display:flex;justify-content:space-between;align-items:center;gap:18px;list-style:none;cursor:pointer;font-size:15px;font-weight:750;padding:22px 0;color:#383044}
.store-faq-items summary::-webkit-details-marker{display:none}
.store-faq-items summary span{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;background:#f0e9ff;color:var(--primary);font-size:22px;font-weight:400;line-height:1;transition:transform .2s}
.store-faq-items details[open] summary span{transform:rotate(45deg)}
.store-faq-items details p{font-size:13px;line-height:1.8;color:#706a7e;max-width:620px;padding-right:40px;margin:0 0 23px}
.store-footer .footer-links a[aria-current="page"]{color:var(--primary)}

.store-product-dialog{width:min(850px,calc(100% - 32px));max-width:850px;max-height:min(90dvh,850px);overflow:auto;border:0;border-radius:26px;padding:0;background:#fff;color:#29233b;box-shadow:0 35px 90px rgba(22,10,48,.28)}
.store-product-dialog::backdrop{background:rgba(27,19,50,.61);backdrop-filter:blur(5px)}
.store-dialog-inner{position:relative;display:grid;grid-template-columns:.84fr 1.16fr;gap:32px;padding:34px}
.store-dialog-close{position:absolute;top:15px;right:15px;z-index:5;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#f0e9fc;color:var(--primary-deep)}
.store-dialog-close .icon{width:18px;height:18px}
.store-dialog-cover>.book-cover{aspect-ratio:.77;min-height:390px;border-radius:10px;box-shadow:8px 14px 27px rgba(35,19,76,.18)}
.store-dialog-copy{padding:28px 11px 12px 0}
.store-dialog-copy h2{font-family:"Manrope",sans-serif;font-size:clamp(30px,3vw,40px);line-height:1.14;letter-spacing:-.06em;font-weight:830;margin:12px 0 10px}
.store-dialog-subtitle{font-size:15px;line-height:1.65;color:#665a79;font-weight:670}
.store-dialog-copy>p:not(.store-section-kicker):not(.store-dialog-subtitle):not(.store-dialog-note){font-size:13px;color:#6f6879;line-height:1.75;margin:16px 0}
.store-dialog-copy h3{font-family:"Manrope",sans-serif;font-size:15px;letter-spacing:-.02em;margin:22px 0 11px}
.store-dialog-copy ul{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:9px}
.store-dialog-copy li{position:relative;padding-left:21px;font-size:13px;line-height:1.55;color:#5d556a}
.store-dialog-copy li::before{content:"✓";position:absolute;top:0;left:0;color:var(--primary);font-weight:900}
.store-dialog-price{display:flex;align-items:center;gap:13px;margin-bottom:15px}
.store-dialog-price strong{font-size:27px;letter-spacing:-.06em;color:#241d37}
.store-dialog-price span{font-size:11px;color:#91899b}
.store-dialog-buy{width:100%;min-height:51px}
.store-dialog-buy:disabled{background:#e9e3f3;color:#9a89b3;box-shadow:none;cursor:not-allowed}
.store-dialog-note{font-size:10px;line-height:1.6;color:#756e83;text-align:center;margin:10px 0 0}

@media(max-width:1150px){.store-hero-layout{min-height:560px}.store-hero-art{min-height:485px}.store-art-sheet-front strong{font-size:38px}.store-toolbar{gap:13px}.store-search{flex-basis:100%}.store-filters{justify-content:flex-start}.store-sort-label{margin-left:auto}.store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.book-cover{aspect-ratio:1.2}.book-cover-title{font-size:37px}}
@media(max-width:820px){.store-page .primary-nav a[aria-current="page"]{background:#f2ecff}.store-hero-layout{grid-template-columns:1fr;padding-top:65px;padding-bottom:75px;min-height:0}.store-hero-copy{padding:0}.store-hero h1{font-size:clamp(58px,10vw,78px)}.store-lead{max-width:550px}.store-hero-art{width:min(540px,100%);margin:20px auto 0;min-height:470px}.store-art-sheet{width:48%;left:28%}.store-art-sheet-front strong{font-size:clamp(30px,5vw,43px)}.store-art-sticker{right:2%}.store-hero-wave{height:60px}.store-catalog{padding:70px 0 90px}.store-philosophy-inner,.store-faq-grid{gap:35px}.store-philosophy h2{font-size:49px}.store-faq{padding:75px 0}}
@media(max-width:590px){.store-hero-layout{padding-top:46px;padding-bottom:61px}.store-kicker{font-size:9px;letter-spacing:.1em;margin-bottom:23px}.store-hero h1{font-size:clamp(50px,13vw,66px);margin-bottom:19px}.store-lead{font-size:15px;line-height:1.65;margin-bottom:24px}.store-hero-actions{gap:15px}.store-explore{min-height:51px;font-size:12px}.store-format{font-size:11px}.store-hero-art{min-height:340px;margin-top:9px}.store-art-halo{inset:5% 2% 9%}.store-art-sheet{top:13%;left:29%;width:48%;height:72%;padding:18px}.store-art-sheet-back span{font-size:22px}.store-art-sheet-middle span{font-size:26px}.store-art-sheet-front strong{font-size:clamp(24px,6.8vw,33px)}.art-overline{font-size:6px}.art-footer{font-size:6px}.art-footer b{font-size:17px}.store-art-sticker{width:86px;height:86px;right:1%;bottom:10%;font-size:6px}.store-art-sticker strong{font-size:6px}.store-art-sticker span{font-size:18px;margin-top:1px}.store-hero-wave{height:45px}.store-catalog{padding:55px 0 72px}.store-catalog-heading{align-items:flex-start;margin-bottom:20px}.store-catalog-heading h2{font-size:36px}.store-catalog-heading p:not(.store-section-kicker){font-size:12px}.store-count{padding:6px 9px;font-size:10px}.store-preview-notice{align-items:flex-start;padding:12px;font-size:11px;margin-bottom:20px}.store-toolbar{gap:12px;margin-bottom:20px}.store-search{flex-basis:100%}.store-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;width:100%;flex:1 1 100%;padding-bottom:6px}.store-filter{font-size:11px;min-height:40px;padding:10px 13px;flex:none}.store-sort-label{margin-left:0}.store-grid{grid-template-columns:1fr;gap:17px}.book-card{border-radius:19px}.book-cover{aspect-ratio:1.05;padding:23px}.book-cover-title{font-size:clamp(30px,9vw,37px)}.book-card-body{padding:20px}.store-philosophy{padding:68px 0}.store-philosophy-inner,.store-faq-grid{grid-template-columns:1fr;gap:22px}.store-philosophy h2{font-size:46px}.store-philosophy-inner>div:last-child p{font-size:15px}.store-faq{padding:66px 0 74px}.store-faq h2{font-size:40px}.store-faq-items summary{font-size:13px}.store-dialog-inner{grid-template-columns:1fr;gap:13px;padding:20px}.store-dialog-cover{display:none}.store-dialog-copy{padding:23px 4px 7px}.store-dialog-copy h2{font-size:30px}.store-dialog-close{top:9px;right:9px}.store-product-dialog{max-height:92dvh}}
@media(prefers-reduced-motion:reduce){.book-card,.book-buy,.store-filter,.store-faq-items summary span{transition:none}}
