@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');
:root{--ink:#1f302e;--muted:#71807b;--paper:#faf8f2;--white:#fff;--green:#163d3b;--green2:#27534e;--mint:#dce9df;--orange:#d17c50;--line:#e8e5dc;--shadow:0 18px 50px rgba(24,52,47,.09);--radius:18px;font-family:'Vazirmatn',Tahoma,Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);font-size:14px;line-height:1.8}body.no-scroll{overflow:hidden}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}.wrap{width:min(1160px,calc(100% - 48px));margin-inline:auto}.announcement{background:var(--green);color:#e6f0e8;text-align:center;font-size:11px;letter-spacing:.02em;padding:7px 16px}.site-header{height:86px;display:flex;align-items:center;gap:32px;padding:0 max(24px,calc((100vw - 1160px)/2));border-bottom:1px solid #eeece4;background:rgba(250,248,242,.95);position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand-mark{width:43px;height:43px;display:grid;place-items:center;background:var(--green);color:#f7ead6;font-size:25px;font-weight:800;border-radius:13px 13px 13px 4px;box-shadow:4px 4px 0 #d6a17c}.brand-text{display:flex;flex-direction:column;line-height:1.35}.brand-text strong{font-size:20px;letter-spacing:-.04em}.brand-text small{font-size:10px;color:var(--muted);letter-spacing:.04em}.main-nav{display:flex;align-items:center;gap:28px;margin-inline:auto}.main-nav a{font-size:12px;color:#64716c;white-space:nowrap;position:relative}.main-nav a:hover,.main-nav a.active{color:var(--green);font-weight:700}.main-nav a.active:after{content:'';position:absolute;bottom:-31px;right:0;left:0;height:2px;background:var(--orange)}.header-actions{display:flex;align-items:center;gap:9px}.icon-button,.mobile-menu{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--green);font-size:24px}.cart-button{display:flex;align-items:center;gap:8px;border:1px solid var(--green);border-radius:30px;background:transparent;color:var(--green);padding:8px 10px 8px 15px;font-size:11px;white-space:nowrap}.cart-button b{display:grid;place-items:center;min-width:21px;height:21px;border-radius:50%;background:var(--orange);color:white;font-size:11px}.cart-symbol{font-size:18px}.mobile-menu{display:none;font-size:19px}.hero{min-height:510px;display:grid;grid-template-columns:1fr 1.02fr;align-items:center;gap:35px;padding-top:39px;padding-bottom:40px}.hero-copy{padding-inline-start:16px}.eyebrow,.section-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--orange);font-size:11px;font-weight:700;letter-spacing:.03em}.eyebrow{padding:7px 11px;border-radius:30px;background:#f4e9df;color:#a7603c}.eyebrow-dot{width:6px;height:6px;background:var(--orange);border-radius:50%}.hero h1{font-size:clamp(42px,5.2vw,66px);line-height:1.32;letter-spacing:-.065em;margin:19px 0 15px;font-weight:800;color:var(--green)}.hero h1 em{font-style:normal;color:var(--orange)}.hero-copy>p{font-size:13px;line-height:2.2;color:#697773;max-width:450px;margin:0}.hero-actions{display:flex;align-items:center;gap:24px;margin-top:27px}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;border-radius:9px;padding:12px 20px;border:1px solid transparent;font-size:12px;font-weight:700;transition:transform .18s,box-shadow .18s,background .18s}.button:hover{transform:translateY(-2px)}.button-primary{background:var(--green);color:#fff;box-shadow:0 7px 18px #163d3b20}.button-primary:hover{background:#23504b;box-shadow:0 10px 20px #163d3b26}.button-primary span,.button-light span{font-size:17px;line-height:1}.button-outline{background:transparent;border-color:#d7ddd5;color:var(--green)}.button-outline:hover{background:#eff3eb}.text-link,.view-link{font-size:11px;font-weight:700;color:var(--green);display:inline-flex;align-items:center;gap:10px}.text-link span,.view-link span{font-size:17px}.hero-trust{display:flex;align-items:center;gap:12px;margin-top:36px}.trust-avatars{display:flex;direction:ltr;padding-left:4px}.trust-avatars i{font-style:normal;width:27px;height:27px;display:grid;place-items:center;border:2px solid var(--paper);border-radius:50%;background:#e8c4a7;color:#75462d;font-size:11px;margin-left:-6px}.trust-avatars i:nth-child(2){background:#c3d4c1;color:#37584e}.trust-avatars i:nth-child(3){background:#eadfbd;color:#806b3e}.hero-trust>span:last-child{display:flex;flex-direction:column;line-height:1.55}.hero-trust strong{font-size:10px}.hero-trust small{font-size:9px;color:var(--muted)}.hero-art{height:415px;position:relative;isolation:isolate;overflow:hidden;border-radius:44% 44% 18px 18px;background:#e5eade;margin-inline:8px 20px}.sun-disc{position:absolute;width:190px;height:190px;border-radius:50%;background:#efcda5;left:21%;top:6%;opacity:.8}.hero-ground{position:absolute;left:-10%;right:-10%;height:80px;bottom:0;background:#cbd8c7;transform:rotate(-5deg);z-index:-1}.hero-book{position:absolute;display:flex;flex-direction:column;box-shadow:12px 16px 25px #1b39332b;overflow:hidden}.hero-book b{font-size:26px;line-height:1.45;letter-spacing:-.04em}.hero-book small{font-size:9px;line-height:2}.cover-label{font-size:8px;border-bottom:1px solid currentColor;padding-bottom:8px;margin-bottom:auto;opacity:.8}.book-back{height:260px;width:150px;left:18%;top:24%;transform:rotate(-12deg);background:#bb7d59;color:#fcf1da;padding:21px 17px 15px;z-index:1}.book-back .cover-line{height:1px;background:#f2d8b2;width:55%;margin:20px 0 10px}.book-back b{font-size:21px}.book-mid{height:310px;width:174px;left:38%;top:14%;transform:rotate(5deg);background:#234946;color:#f5e3c5;padding:20px 18px 15px;z-index:2}.book-mid b{font-size:26px;margin-top:45px}.cover-ornament{font-size:37px;margin-top:5px;color:#d8a878}.book-mid small{margin-top:auto}.book-front{height:272px;width:166px;right:12%;top:26%;transform:rotate(9deg);background:#e7d7b8;color:#274440;padding:20px 18px 14px;z-index:3}.book-front b{font-size:25px;margin-top:31px;z-index:2}.front-circle{position:absolute;top:76px;left:22px;width:112px;height:112px;border-radius:50%;border:1px solid #8d9b7e}.front-circle:before,.front-circle:after{content:'';position:absolute;inset:12px;border:1px solid #8d9b7e;border-radius:50%}.front-circle:after{inset:27px}.book-front small{z-index:2;margin-top:8px}.cover-bottom{font-size:7px;letter-spacing:.15em;margin-top:auto;border-top:1px solid #9aab9b;padding-top:8px}.hero-sticker{position:absolute;right:7%;bottom:13%;width:88px;height:88px;border:1px solid #fff8;background:#f7f1dd;color:var(--green);border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;transform:rotate(10deg);z-index:5;box-shadow:0 7px 20px #1e3c3020}.hero-sticker span{font-size:20px;color:var(--orange);line-height:1.2}.hero-sticker b{font-size:11px;line-height:1.55}.plant{position:absolute;bottom:26px;left:5%;width:40px;height:135px;border-right:3px solid #54776a;transform:rotate(16deg);z-index:4}.plant:before,.plant:after{content:'';position:absolute;width:27px;height:47px;border-radius:100% 0 100% 0;background:#77957e;transform:rotate(-38deg);left:-22px;top:20px;box-shadow:18px 40px 0 -2px #96ad8c}.plant:after{top:58px;left:2px;transform:rotate(18deg);background:#597e70;box-shadow:-18px 34px 0 -2px #a4b89b}.plant-two{left:auto;right:3%;bottom:14px;transform:rotate(-15deg) scale(.72)}.benefits{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e7e6dc;border-radius:14px;background:#fffdf8;padding:21px 26px;margin-bottom:70px}.benefit{display:flex;align-items:center;gap:13px;padding-inline:22px;border-left:1px solid var(--line)}.benefit:first-child{padding-right:0}.benefit:last-child{border-left:0;padding-left:0}.benefit-icon{width:43px;height:43px;flex-shrink:0;background:#eaf0e7;color:var(--green);display:grid;place-items:center;border-radius:12px;font-size:21px}.benefit:nth-child(2) .benefit-icon{background:#f7ebe0;color:#b9704d}.benefit:nth-child(3) .benefit-icon{background:#f1efdb;color:#8e8650}.benefit span:last-child{display:flex;flex-direction:column}.benefit strong{font-size:11px}.benefit small{font-size:9px;color:var(--muted);margin-top:3px}.section{margin-bottom:84px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.section-heading h2,.newsletter h2{margin:5px 0 0;font-size:26px;line-height:1.55;letter-spacing:-.04em;color:var(--green)}.view-link{margin-bottom:9px}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}.category-card{position:relative;min-height:174px;text-align:right;padding:20px 17px 16px;border:1px solid transparent;border-radius:15px;display:flex;align-items:flex-start;flex-direction:column;overflow:hidden;transition:transform .2s,box-shadow .2s}.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.category-business{background:#e4ece1;border-color:#d8e1d6}.category-literature{background:#f4e4d9;border-color:#ead4c6}.category-education{background:#e5e5f0;border-color:#d8d8e7}.category-history{background:#efe8d5;border-color:#e5ddc6}.category-science{background:#dfece9;border-color:#d1e2de}.category-personal{background:#f0e5e9;border-color:#e7d7df}.category-art{font-size:31px;line-height:1.3;margin-bottom:auto;color:#2b5149}.category-literature .category-art{color:#ae6d4b}.category-education .category-art{font-size:25px;font-weight:700;color:#686d9a}.category-card strong{font-size:12px;margin-top:13px}.category-card small{font-size:9px;color:#6e7e76;margin-top:3px}.category-arrow{position:absolute;left:15px;bottom:15px;color:#345951;font-size:17px}.books-section{background:#f2f2e9;padding:66px 0 59px;margin-bottom:0}.books-heading{align-items:flex-end}.books-heading p{font-size:11px;color:var(--muted);margin:6px 0 0}.result-count{color:var(--muted);font-size:10px;padding-bottom:7px}.catalog-tools{display:flex;gap:12px;margin-bottom:16px}.search-box{display:flex;align-items:center;gap:10px;flex:1;min-width:0;background:#fff;border:1px solid #e3e5dc;border-radius:10px;padding:0 14px;height:48px;color:var(--muted)}.search-box>span{font-size:23px}.search-box input{border:0;outline:none;flex:1;min-width:0;background:transparent;color:var(--ink);font-size:11px}.search-box kbd{font-size:9px;font-family:inherit;padding:3px 7px;border:1px solid var(--line);border-radius:5px;white-space:nowrap}.tool-selects{display:flex;gap:9px}.tool-selects select{height:48px;padding:0 13px;border:1px solid #e3e5dc;border-radius:10px;background:#fff;color:#52635e;font-size:10px;min-width:150px;outline:none}.active-filters{display:flex;gap:8px;flex-wrap:wrap;min-height:0;margin-bottom:0}.filter-chip{background:#dce8dc;border:0;border-radius:30px;padding:4px 10px;color:#2b5448;font-size:10px}.filter-chip span{margin-right:7px}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;margin-top:21px}.book-card{background:#fff;border:1px solid #eae9e0;border-radius:13px;overflow:hidden;transition:transform .22s,box-shadow .22s;min-width:0}.book-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px #2b473610}.book-visual{height:210px;display:grid;place-items:center;position:relative;overflow:hidden;background:#e9e2d2;cursor:pointer}.book-cover{position:relative;width:124px;height:169px;display:flex;flex-direction:column;padding:14px 12px 11px;box-shadow:9px 9px 18px #243b332c;overflow:hidden;transition:transform .2s;color:#fff}.book-card:hover .book-cover{transform:rotate(-2deg) scale(1.025)}.book-cover:before{content:'';position:absolute;top:0;bottom:0;right:8px;width:1px;background:#ffffff25}.cover-topline{font-size:7px;opacity:.83;border-bottom:1px solid #ffffff52;padding-bottom:6px}.cover-title{font-size:17px;font-weight:800;line-height:1.45;margin-top:24px;position:relative;z-index:2;letter-spacing:-.04em}.cover-subtitle{font-size:7px;line-height:1.7;margin-top:5px;position:relative;z-index:2;opacity:.9}.cover-graphic{position:absolute;width:90px;height:90px;bottom:12px;left:-13px;border:1px solid #ffffff50;border-radius:50%}.cover-graphic:before,.cover-graphic:after{content:'';position:absolute;inset:10px;border:1px solid #ffffff40;border-radius:50%}.cover-graphic:after{inset:25px}.cover-author{font-size:7px;margin-top:auto;z-index:2}.book-badge{position:absolute;top:12px;right:12px;background:#fffdf2;color:#77513c;border-radius:5px;padding:3px 7px;font-size:8px;font-weight:700}.favorite-button{position:absolute;top:10px;left:10px;width:30px;height:30px;border:0;border-radius:50%;background:#fffdf3e8;color:#597268;font-size:17px;z-index:2}.favorite-button.is-favorite{color:#c36f51}.book-info{padding:14px 15px 15px}.book-category{font-size:9px;color:#a86c4b}.book-title{font-size:13px;line-height:1.7;margin:5px 0 3px;color:#233d38;cursor:pointer;font-weight:700;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.book-author{font-size:10px;color:#849089;margin:0 0 12px}.book-meta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0efe9;padding-top:11px;gap:5px}.book-price{font-size:13px;font-weight:800;color:var(--green);white-space:nowrap}.book-price small{font-size:9px;font-weight:500;color:#78857f}.book-action{display:flex;align-items:center;gap:5px;border:1px solid #dfe6dd;background:#f7faf5;border-radius:7px;color:var(--green);font-size:10px;padding:6px 8px;white-space:nowrap}.book-action:hover{background:var(--green);color:#fff}.book-action span{font-size:14px}.empty-state{text-align:center;padding:55px 20px;color:var(--muted)}.empty-state>span{font-size:42px;color:#bb8c6f}.empty-state h3{color:var(--green);margin:0}.empty-state p{font-size:12px}.hidden{display:none!important}.catalog-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:28px;color:var(--muted);font-size:10px}.catalog-bottom .button{padding:9px 14px}.bestseller-band{background:var(--green);color:#fff;padding:66px 0;overflow:hidden;position:relative}.bestseller-band:before{content:'✳';position:absolute;top:-104px;left:5%;font-size:290px;color:#ffffff06}.bestseller-inner{display:grid;grid-template-columns:1fr .8fr;align-items:center;gap:75px}.section-kicker.light{color:#e6b08c}.bestseller-inner h2{font-size:39px;line-height:1.5;letter-spacing:-.04em;margin:10px 0}.bestseller-inner p{font-size:12px;max-width:365px;color:#cad9d0;line-height:2}.button-light{background:#f1dfc7;color:var(--green);margin-top:12px}.button-light:hover{background:#fff0d9}.quote-card{background:#28504b;border:1px solid #496761;border-radius:15px;padding:31px 34px;position:relative;min-height:230px}.quote-mark{font-family:Georgia,serif;font-size:62px;line-height:.8;color:#e5ad84}.quote-card p{font-size:17px;line-height:2;color:#fcf6e7;max-width:350px;margin:15px 0 18px}.quote-line{width:40px;height:2px;background:#d7a27b}.quote-card small{color:#b8ccc1;font-size:10px}.quote-leaves{position:absolute;left:25px;bottom:20px;color:#6c9083;font-size:33px}.newsletter{display:flex;align-items:center;gap:20px;padding:41px 0 44px}.newsletter-icon{width:58px;height:58px;border-radius:17px;background:#e7eee3;color:var(--green);display:grid;place-items:center;font-size:25px;flex-shrink:0}.newsletter-copy{flex:1}.newsletter h2{font-size:20px}.newsletter-copy p{font-size:10px;color:var(--muted);margin:5px 0 0}.newsletter-form{display:flex;gap:8px;width:min(390px,42%)}.newsletter-form input{min-width:0;flex:1;border:1px solid #e0e3d9;border-radius:9px;background:#fff;padding:0 14px;height:45px;outline:none;font-size:11px}.newsletter-form .button{height:45px;padding:0 16px}.site-footer{background:#ebece3;border-top:1px solid #e1e3d9}.footer-top{display:grid;grid-template-columns:1.4fr .8fr .9fr 1.1fr;gap:40px;padding-top:41px;padding-bottom:34px}.brand-footer .brand-mark{width:38px;height:38px;font-size:22px}.brand-footer .brand-text strong{font-size:17px}.footer-brand p,.footer-contact p{font-size:10px;color:#758079;line-height:2;max-width:260px;margin-top:14px}.footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.footer-col>strong{font-size:11px;margin-bottom:5px;color:#27453f}.footer-col>a{font-size:10px;color:#6f7b75}.footer-col>a:hover{color:var(--orange)}.footer-contact p{margin:0}.footer-admin{border:0;background:#dce6d9;color:#2c564a;font-size:9px;border-radius:6px;padding:6px 9px;margin-top:4px}.footer-bottom{border-top:1px solid #d9ddd3;padding-top:16px;padding-bottom:18px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#78837d}.footer-bottom a{color:var(--green);font-weight:700}.demo-note{color:#a96647}.overlay{position:fixed;inset:0;background:#142c27a8;z-index:40;opacity:0;visibility:hidden;transition:.25s}.overlay.visible{opacity:1;visibility:visible}.cart-drawer{position:fixed;z-index:41;top:0;bottom:0;right:0;width:min(440px,100%);background:#faf9f3;box-shadow:-15px 0 50px #0a241d26;transform:translateX(105%);transition:transform .28s;display:flex;flex-direction:column;padding:27px 24px}.cart-drawer.open{transform:translateX(0)}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:17px;border-bottom:1px solid var(--line)}.drawer-header h2,.modal h2{font-size:23px;color:var(--green);margin:3px 0 0}.drawer-header h2 span{font-size:12px;color:var(--muted);font-weight:400}.close-button{width:35px;height:35px;border:1px solid var(--line);background:#fff;border-radius:50%;color:var(--green);font-size:24px;display:grid;place-items:center;line-height:1}.cart-items{overflow:auto;flex:1}.cart-row{display:grid;grid-template-columns:64px 1fr auto;gap:13px;padding:16px 0;border-bottom:1px solid var(--line);align-items:center}.mini-cover{width:64px;height:79px;display:grid;place-items:center;color:#fff;text-align:center;padding:7px;font-size:11px;font-weight:700;line-height:1.4}.cart-row h3{font-size:12px;margin:0 0 4px;color:var(--green)}.cart-row p{font-size:10px;color:var(--muted);margin:0}.cart-row .cart-line-price{font-size:11px;font-weight:700;color:var(--green);white-space:nowrap}.quantity-controls{display:flex;align-items:center;gap:8px;margin-top:8px}.quantity-controls button{width:23px;height:23px;border:1px solid #dbe2d9;border-radius:5px;color:var(--green);background:#fff}.quantity-controls span{font-size:10px}.remove-item{background:transparent!important;border:0!important;color:#b66c50!important;font-size:14px}.cart-empty{margin:auto;text-align:center;max-width:240px}.cart-empty>span{font-size:47px;color:#bd8e70}.cart-empty h3{font-size:17px;color:var(--green);margin:0}.cart-empty p{font-size:11px;color:var(--muted);margin:8px 0 18px}.cart-summary{border-top:1px solid var(--line);padding-top:17px}.cart-summary>div,.checkout-total{display:flex;justify-content:space-between;align-items:center}.cart-summary>div span,.checkout-total span{font-size:11px;color:var(--muted)}.cart-summary>div strong,.checkout-total strong{font-size:19px;color:var(--green)}.cart-summary>small{display:block;font-size:9px;color:#9a8a7e;margin:7px 0 15px}.button-full{width:100%}.clear-cart{width:100%;background:transparent;border:0;color:#a5684c;font-size:10px;padding:10px}.modal{position:fixed;z-index:50;top:50%;left:50%;transform:translate(-50%,-46%) scale(.98);opacity:0;visibility:hidden;transition:.2s;background:#fcfbf7;border-radius:18px;padding:30px;width:min(650px,calc(100% - 30px));max-height:90vh;overflow:auto;box-shadow:0 25px 70px #10292340}.modal.open{transform:translate(-50%,-50%) scale(1);opacity:1;visibility:visible}.modal-close{position:absolute;top:15px;left:15px;z-index:2}.book-detail{display:grid;grid-template-columns:190px 1fr;gap:26px;align-items:start;padding-top:8px}.detail-visual{min-height:255px;background:#e9e8db;border-radius:12px;display:grid;place-items:center}.detail-visual .book-cover{transform:scale(1.12)}.detail-category{font-size:10px;color:var(--orange)}.detail-copy h2{margin:5px 0;font-size:23px}.detail-author{color:var(--muted);font-size:11px;margin:0 0 15px}.detail-description{font-size:12px;line-height:2.2;color:#65736d}.detail-specs{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.detail-specs span{border:1px solid var(--line);border-radius:6px;padding:4px 7px;font-size:9px;color:#68766f}.detail-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}.detail-price{font-size:22px;font-weight:800;color:var(--green)}.detail-price small{font-size:10px;font-weight:400;color:var(--muted)}.checkout-modal{width:min(560px,calc(100% - 30px));padding:31px}.modal-intro{font-size:11px;line-height:2;color:var(--muted);margin:7px 0 18px}.checkout-form,.admin-add-form{display:flex;flex-direction:column;gap:13px}.checkout-form label,.admin-add-form label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:600;color:#52655d}.checkout-form input,.checkout-form select,.checkout-form textarea,.admin-add-form input,.admin-add-form select{width:100%;border:1px solid #dfe3d9;background:#fff;border-radius:8px;padding:10px 11px;outline:none;font-size:11px;color:var(--ink)}.checkout-form input:focus,.checkout-form select:focus,.checkout-form textarea:focus,.admin-add-form input:focus,.admin-add-form select:focus{border-color:#72978a;box-shadow:0 0 0 3px #dbe8de}.checkout-form textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkout-total{padding:12px 0;border-top:1px solid var(--line);margin-top:4px}.fine-print{font-size:9px;line-height:1.8;color:#9b8c80;text-align:center;margin:0}.success-modal{text-align:center;width:min(400px,calc(100% - 30px));padding:40px 30px}.success-symbol{width:54px;height:54px;display:grid;place-items:center;background:#e1efe0;color:#28624d;border-radius:50%;font-size:27px;margin:0 auto 15px}.success-modal h2{font-size:21px}.success-modal p{font-size:11px;color:var(--muted);line-height:2;margin:10px 0 20px}.admin-modal{width:min(720px,calc(100% - 30px))}.admin-warning{margin:15px 0;background:#fff0df;border-right:3px solid #d68b5d;padding:10px 12px;color:#7f5337;font-size:10px;line-height:1.9}.admin-tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);margin-bottom:17px}.admin-tab{background:transparent;border:0;padding:9px 14px;color:var(--muted);font-size:11px;border-bottom:2px solid transparent}.admin-tab.active{color:var(--green);font-weight:700;border-color:var(--orange)}.admin-add-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-add-form button{align-self:end}.admin-list{margin:16px 0;max-height:220px;overflow:auto}.admin-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:10px}.admin-item strong{font-size:11px}.admin-item small{display:block;color:var(--muted);font-size:9px}.admin-item button{background:#f9e9e0;color:#9a5a42;border:0;border-radius:6px;padding:5px 8px;font-size:9px}.admin-order{background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px;margin-bottom:8px}.admin-order p{margin:3px 0;color:var(--muted);font-size:10px}.toast{position:fixed;z-index:70;bottom:24px;right:50%;transform:translate(50%,20px);opacity:0;visibility:hidden;background:#173e39;color:#fff;padding:11px 17px;border-radius:9px;box-shadow:0 12px 30px #173e3930;font-size:11px;transition:.25s}.toast.show{opacity:1;visibility:visible;transform:translate(50%,0)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.site-header{gap:20px}.main-nav{gap:17px}.hero{gap:18px}.hero-art{margin-inline:0;height:380px}.hero-book b{font-size:23px}.book-mid{left:35%;width:155px}.book-front{right:8%;width:150px}.benefits{padding:18px}.benefit{padding-inline:13px}.category-grid{grid-template-columns:repeat(3,1fr)}.category-card{min-height:150px}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-top{gap:25px}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.announcement{font-size:10px}.site-header{height:70px;padding:0 16px;gap:10px}.brand-mark{width:38px;height:38px;font-size:22px}.brand-text strong{font-size:17px}.main-nav{display:none;position:absolute;top:70px;right:10px;left:10px;background:#fffdf8;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;padding:13px;flex-direction:column;align-items:stretch;gap:0}.main-nav.open{display:flex}.main-nav a{padding:10px}.main-nav a.active:after{display:none}.header-actions{margin-right:auto;gap:6px}.icon-button{width:36px;height:36px}.cart-button{height:36px;padding:4px 7px 4px 9px;font-size:10px;gap:6px}.mobile-menu{display:grid;width:36px;height:36px}.hero{grid-template-columns:1fr;padding-top:31px;gap:18px}.hero-copy{padding:0}.hero h1{font-size:48px;margin:15px 0 10px}.hero-copy>p{max-width:500px}.hero-trust{margin-top:22px}.hero-art{height:340px;width:min(440px,100%);margin:5px auto 0}.book-back{height:220px;width:126px;top:23%;left:16%}.book-mid{height:260px;width:145px;left:35%;top:14%}.book-front{height:230px;width:130px;right:8%;top:25%}.book-front b,.book-mid b{font-size:22px}.book-back b{font-size:18px}.hero-sticker{width:74px;height:74px;right:5%;bottom:11%}.benefits{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:54px;padding:17px}.benefit{border:0;padding:0!important;gap:9px}.benefit-icon{width:38px;height:38px}.section{margin-bottom:60px}.section-heading h2,.newsletter h2{font-size:22px}.section-heading{align-items:flex-start}.category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.category-card{min-height:145px;padding:15px}.books-section{padding:48px 0}.books-heading{align-items:flex-end}.books-heading h2{max-width:440px}.books-heading p{max-width:400px;line-height:1.9}.catalog-tools{flex-direction:column}.tool-selects select{min-width:0;flex:1;width:50%}.search-box{height:45px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.book-visual{height:188px}.book-cover{width:108px;height:151px}.cover-title{font-size:15px;margin-top:19px}.book-info{padding:12px}.book-title{font-size:12px}.book-meta{align-items:flex-start;flex-direction:column}.book-action{width:100%;justify-content:center}.catalog-bottom{align-items:flex-start;gap:12px;flex-direction:column}.bestseller-inner{grid-template-columns:1fr;gap:28px}.bestseller-inner h2{font-size:35px}.quote-card{min-height:190px}.quote-card p{font-size:15px}.newsletter{display:grid;grid-template-columns:52px 1fr;gap:12px;padding:35px 0}.newsletter-icon{width:50px;height:50px}.newsletter-copy p{line-height:1.8}.newsletter-form{grid-column:1/-1;width:100%;margin-top:6px}.footer-top{grid-template-columns:1fr 1fr;gap:28px 18px;padding:32px 0}.footer-bottom{gap:12px;flex-wrap:wrap}.book-detail{grid-template-columns:120px 1fr;gap:15px}.detail-visual{min-height:200px}.detail-visual .book-cover{transform:scale(.82)}.detail-copy h2{font-size:19px}.detail-description{font-size:11px}.modal{padding:25px 19px}.admin-add-form{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.hero h1{font-size:42px}.hero-actions{gap:14px}.hero-actions .button{padding:11px 14px}.hero-art{height:295px}.book-back{height:190px;width:109px;left:13%}.book-mid{height:230px;width:126px;left:33%}.book-front{height:205px;width:113px;right:6%}.book-front b,.book-mid b{font-size:19px}.book-front .front-circle{width:85px;height:85px;left:13px}.hero-sticker{width:62px;height:62px}.hero-sticker b{font-size:9px}.benefits{padding:13px;gap:14px}.benefit strong{font-size:10px}.benefit small{font-size:8px}.book-grid{gap:9px}.book-visual{height:164px}.book-cover{width:96px;height:137px}.book-info{padding:10px}.book-title{font-size:11px}.book-author{font-size:9px}.book-price{font-size:12px}.book-action{font-size:9px}.book-badge{top:7px;right:7px}.favorite-button{top:7px;left:7px;width:27px;height:27px}.form-grid{grid-template-columns:1fr}.book-detail{grid-template-columns:1fr}.detail-visual{min-height:190px}.detail-visual .book-cover{transform:none}.detail-copy h2{font-size:21px}.detail-bottom{align-items:flex-start;flex-direction:column}.admin-add-form{grid-template-columns:1fr}.footer-bottom{font-size:8px}}

/* کتابستان v2: مدیریت کتاب، ویرایش و جلد سفارشی */
.book-cover.has-uploaded-cover{display:block;padding:0;overflow:hidden;background:#fff;}
.book-cover .uploaded-cover-image{display:block;width:100%;height:100%;object-fit:cover;}
.admin-form-heading{font-size:12px;font-weight:800;color:var(--green);margin:5px 0 10px;}
.admin-wide-field{grid-column:1/-1;}
.admin-add-form textarea{width:100%;border:1px solid #dfe3d9;background:#fff;border-radius:8px;padding:10px 11px;outline:none;font-size:11px;color:var(--ink);resize:vertical;line-height:1.9;}
.admin-add-form textarea:focus{border-color:#72978a;box-shadow:0 0 0 3px #dbe8de;}
.admin-add-form input[type=file]{background:#fff;padding:8px;}
.field-help{display:block;color:var(--muted);font-size:9px;font-weight:400;line-height:1.8;}
.cover-preview{grid-column:1/-1;min-height:90px;border:1px dashed #cdd8cb;border-radius:9px;background:#f6f7f1;display:flex;align-items:center;justify-content:center;padding:10px;color:var(--muted);font-size:10px;overflow:hidden;}
.cover-preview img{max-height:150px;max-width:110px;object-fit:cover;border-radius:4px;box-shadow:0 4px 12px #183b3018;}
.admin-form-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.admin-item-main{display:flex;align-items:center;gap:10px;min-width:0;}
.admin-thumb{width:35px;height:45px;border-radius:4px;object-fit:cover;flex-shrink:0;}
.admin-thumb-fallback{display:grid;place-items:center;background:#e6eee3;color:var(--green);font-size:19px;font-weight:800;}
.admin-item-actions{display:flex;gap:6px;flex-shrink:0;}
.admin-item-actions .admin-edit-btn{background:#e9efe7;color:#315b50;}
@media(max-width:420px){.admin-item{align-items:flex-start}.admin-wide-field{grid-column:1/-1}.admin-form-buttons .button{flex:1}}

/* کتابستان v3: فایل الکترونیکی محلی و دریافت آزمایشی */
.admin-file-info{color:#2f7258!important;overflow-wrap:anywhere;}
.admin-file-missing{color:#9b6a48!important;}
.ebook-file-status{display:flex;align-items:center;gap:8px;min-height:48px;border:1px dashed #cdd8cb;border-radius:9px;background:#f6f7f1;padding:11px 13px;color:var(--muted);font-size:10px;line-height:1.9;overflow-wrap:anywhere;}
.ebook-file-status strong{color:var(--green);}
#removeBookFile{justify-self:start;font-size:10px;padding:9px 12px;}
#saveBookButton:disabled{opacity:.65;cursor:wait;}
.demo-download-area{margin:14px 0 19px;padding:14px;border:1px solid #eadcc8;border-radius:10px;background:#fbf5eb;text-align:right;}
.demo-download-area>strong{display:block;color:var(--green);font-size:12px;line-height:1.8;}
.demo-download-area p{font-size:10px;line-height:1.9;color:#766b5f;margin:6px 0 10px;}
.demo-download-area small{display:block;font-size:9px;line-height:1.9;color:#9b674b;}
.demo-download-button{display:flex;width:100%;margin-top:8px;justify-content:center;overflow-wrap:anywhere;white-space:normal;line-height:1.8;}
@media(max-width:420px){.ebook-file-status{font-size:9px}.demo-download-area{padding:11px}}

/* Online deployment additions */
.book-action:disabled, button:disabled { opacity:.55; cursor:not-allowed; }
#downloadResult { margin-top: 16px; }
#downloadResult .button { display:inline-flex; text-decoration:none; align-items:center; justify-content:center; }
#copyOrderCredentials { max-width:100%; }
#issuedAccessToken { display:block; padding:10px; background:#f2f3ef; border-radius:8px; }
