/* v1.7.0 — product usability, gallery, reviews and personal lists */
.product-breadcrumb{font-size:14px}.product-category{font-size:14px;padding:7px 15px}.product-detail h1{font-size:clamp(36px,4vw,52px);font-weight:900}.product-people small{font-size:13px;color:#687a73}.product-people a{font-size:17px}.original-title.prominent{display:block;padding:16px 18px;margin:14px 0;border:1px solid #cfe1da;background:linear-gradient(135deg,#eaf7f2,#fff);border-radius:16px}.original-title.prominent span,.original-title.prominent b{display:block}.original-title.prominent span{font-size:13px;color:#547069}.original-title.prominent b{font-size:20px;color:#133f33;margin-top:3px}.rating-link{display:inline-flex;align-items:center;gap:8px;margin-block:4px 10px;padding:8px 13px;border-radius:12px;background:#fff8e8;color:#a56c0a;font-size:15px}.rating-link small{color:#596c65}.product-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0}.product-quick-actions button{min-height:66px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce8e3;border-radius:15px;background:#fff;color:#244e42;font:700 14px Vazirmatn;cursor:pointer}.product-quick-actions button span{font-size:23px}.product-quick-actions button:hover,.product-quick-actions button.active{border-color:#168064;background:#e8f6f0;color:#087158}.product-image{border:0;cursor:zoom-in}.product-image>span{width:100%;height:100%;display:grid;place-items:center}.product-image>span>img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 24px 26px rgba(18,52,42,.18))}.zoom-hint{position:absolute;left:18px;bottom:18px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 8px 20px rgba(15,55,44,.15);font-style:normal;font-size:22px;color:#0b7059}.gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:12px 3px 4px;scrollbar-width:thin}.gallery-thumbs button,.dialog-thumbs button{flex:0 0 72px;width:72px;height:88px;border:2px solid transparent;border-radius:12px;background:#f3f6f4;padding:5px;cursor:pointer}.gallery-thumbs button.active,.dialog-thumbs button.active{border-color:#118064;background:#fff}.gallery-thumbs img,.dialog-thumbs img{width:100%;height:100%;object-fit:contain}.buy-price{display:flex;align-items:center}.product-buybox .detail-price{font-size:clamp(32px,3.5vw,46px)!important;font-weight:950!important;line-height:1.25;white-space:nowrap;color:#123f33}.product-buybox .availability b{font-size:17px!important}.product-buybox .buy{font-size:18px}.purchase-trust b{font-size:14px!important}.purchase-trust small{font-size:12px!important;color:#62756e}.product-actions button,.product-actions a{font-size:14px}.product-copy>span,.subsection-heading span{font-size:14px}.product-copy h2,.subsection-heading h2{font-size:30px}.automatic-intro{padding:17px 18px;border-right:4px solid #168064;border-radius:12px;background:#eff8f4;color:#254e43;font-size:16px;font-weight:700;line-height:2.1}.book-description{font-size:16px!important;color:#405c53!important}.spec-grid dt,.spec-grid dd{font-size:14px!important}.product-author small{font-size:13px}.product-author h2{font-size:26px}.product-author p,.product-author a{font-size:15px}
.gallery-dialog{width:min(1050px,calc(100% - 24px));height:min(92dvh,850px);border:0;border-radius:25px;padding:18px;background:#fff;box-shadow:0 35px 100px rgba(5,28,21,.42);overflow:hidden}.gallery-dialog::backdrop{background:rgba(6,27,21,.65);backdrop-filter:blur(8px)}.gallery-close{position:absolute;z-index:4;top:14px;left:14px;width:44px;height:44px;border:0;border-radius:50%;background:#eef5f2;font-size:27px;cursor:pointer}.gallery-stage{height:calc(100% - 115px);display:grid;place-items:center;padding:25px 80px}.gallery-stage img{width:100%;height:100%;object-fit:contain}.gallery-stage .fake-cover{width:280px;height:420px}.gallery-arrow{position:absolute;z-index:3;top:45%;width:48px;height:60px;border:1px solid #d9e6e1;border-radius:15px;background:rgba(255,255,255,.95);color:#155b49;font-size:31px;cursor:pointer}.gallery-arrow.prev{right:18px}.gallery-arrow.next{left:18px}.gallery-counter{position:absolute;bottom:87px;right:50%;transform:translateX(50%);padding:5px 12px;border-radius:99px;background:#eef5f2;font-size:13px}.dialog-thumbs{height:80px;display:flex;justify-content:center;gap:8px;overflow-x:auto}.dialog-thumbs button{flex-basis:58px;width:58px;height:70px}
.product-reviews{padding-block:58px;border-top:1px solid #e0e9e5}.reviews-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.reviews-heading span{font-size:14px;color:#a66f14}.reviews-heading h2{margin:3px 0;font-size:30px;color:#174b3f}.reviews-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:25px}.review-summary{padding:22px;border:1px solid #dce7e2;border-radius:20px;background:#fbfdfa}.review-summary>strong{font-size:40px;color:#174b3f}.review-summary>span{font-size:13px;color:#667970}.review-stars{direction:ltr;color:#e8a51b;font-size:20px;letter-spacing:2px}.rating-row{display:grid;grid-template-columns:20px 1fr 24px;align-items:center;gap:7px;margin-top:8px;font-size:12px}.rating-row i{height:7px;border-radius:99px;background:#e8eeeb;overflow:hidden}.rating-row em{display:block;height:100%;background:#e8a51b}.review-list{display:grid;gap:12px}.review-card,.review-form,.review-empty{padding:20px;border:1px solid #dce7e2;border-radius:18px;background:#fff}.review-card header{display:flex;justify-content:space-between}.review-card header span{margin-right:8px;padding:3px 8px;border-radius:99px;background:#e8f6f0;color:#087158;font-size:11px}.review-card time{color:#71827c;font-size:12px}.review-card p{font-size:15px}.shop-reply{margin-top:12px;padding:13px;border-radius:12px;background:#f1f7f4}.shop-reply p{margin:4px 0}.review-form[hidden]{display:none}.review-form fieldset{display:flex;gap:6px;border:0;padding:0;margin:12px 0}.review-form fieldset input{position:absolute;opacity:0}.review-form fieldset span{display:block;padding:8px 11px;border:1px solid #dce7e2;border-radius:9px;cursor:pointer}.review-form fieldset input:checked+span{background:#fff2cf;border-color:#e8a51b}.review-form textarea{width:100%;border:1px solid #dce7e2;border-radius:12px;padding:12px;font:14px Vazirmatn}.review-form>div{display:flex;gap:10px;margin-top:10px}.review-form>div>button:last-child{border:0;background:transparent}.review-empty{color:#667970}
.related-books{padding-block:60px;background:radial-gradient(circle at 80% 20%,rgba(255,197,87,.22),transparent 30%),linear-gradient(135deg,#fff9e9,#f6fbf8)}.related-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.related-head span{font-size:14px;color:#a66f14}.related-head h2{font-size:32px;margin:3px 0;color:#174b3f}.related-head>div:last-child{display:flex;gap:8px}.related-head button{width:46px;height:46px;border:1px solid #cddfd8;border-radius:13px;background:#fff;color:#155b49;font-size:28px;cursor:pointer}.related-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 18px}.related-track>.product-card{flex:0 0 calc((100% - 54px)/4);scroll-snap-align:start}.product-assistance{position:relative;display:grid;grid-template-columns:130px minmax(260px,.9fr) 1.5fr;gap:28px;align-items:center;margin-block:55px;padding:32px;border-radius:26px;overflow:hidden;background:radial-gradient(circle at 15% 20%,rgba(255,190,99,.32),transparent 28%),linear-gradient(125deg,#123f34,#19715a);color:#fff}.product-assistance .assistance-copy h2{color:#fff}.product-back-top{display:flex;justify-content:center;padding:8px 0 48px}.product-back-top button{height:50px;border:1px solid #cfe0da;border-radius:15px;background:#f2faf6;color:#155c49;padding:0 22px;font:800 15px Vazirmatn;cursor:pointer}.product-back-top span{font-size:21px;margin-right:8px}.account-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.saved-book{min-width:0}.saved-book>button{width:100%;margin-top:7px;border:1px solid #e5b8b8;border-radius:10px;background:#fff7f7;color:#a33d43;padding:9px;font:12px Vazirmatn}
@media(max-width:900px){.product-quick-actions{grid-template-columns:1fr}.reviews-layout{grid-template-columns:1fr}.review-summary{display:grid;grid-template-columns:auto 1fr;gap:8px}.rating-row{grid-column:1/-1}.related-track>.product-card{flex-basis:calc((100% - 36px)/3)}.product-assistance{grid-template-columns:90px 1fr}.product-assistance .assistance-links{grid-column:1/-1}.account-book-grid{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.product-detail h1{font-size:34px}.product-category{font-size:13px}.original-title.prominent b{font-size:18px}.product-people a{font-size:15px}.product-quick-actions{grid-template-columns:1fr 1fr}.product-quick-actions button:first-child{grid-column:1/-1}.product-buybox .detail-price{font-size:34px!important}.purchase-trust b{font-size:13px!important}.purchase-trust small{font-size:11px!important}.automatic-intro,.book-description{font-size:15px!important}.spec-grid dt,.spec-grid dd{font-size:13px!important}.gallery-dialog{height:95dvh;padding:12px}.gallery-stage{height:calc(100% - 105px);padding:55px 15px}.gallery-arrow{top:auto;bottom:95px;width:44px;height:44px}.gallery-counter{bottom:100px}.reviews-heading{align-items:flex-start;gap:12px;flex-direction:column}.reviews-heading h2{font-size:26px}.related-track>.product-card{flex-basis:calc((100% - 12px)/2)}.product-assistance{grid-template-columns:1fr;text-align:center;padding:25px 18px}.product-assistance .assistance-art{margin:auto}.product-assistance .assistance-links{grid-template-columns:1fr 1fr;text-align:right}.account-book-grid{grid-template-columns:1fr}.product-back-top{padding-bottom:35px}}
@media(max-width:390px){.product-quick-actions{grid-template-columns:1fr}.product-quick-actions button:first-child{grid-column:auto}.product-buybox .detail-price{font-size:29px!important}.related-track>.product-card{flex-basis:85%}.review-summary{display:block}}
