:root{--ink:#233a30;--green:#2f674d;--green2:#6f9b72;--cream:#f3efe5;--gold:#c9a35a;--muted:#728078;--line:#dfe7df;--paper:#fffdf8;--shadow:0 25px 70px rgba(29,65,47,.14)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Vazirmatn,system-ui,sans-serif;background:radial-gradient(circle at 10% 10%,#e5f0e5,transparent 34%),#edf1ed;line-height:1.8}.topbar{height:74px;background:rgba(255,255,255,.88);border-bottom:1px solid #dce5dc;backdrop-filter:blur(14px);position:sticky;top:0;z-index:10}.top-inner{width:min(1120px,calc(100% - 32px));height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}.brand-mark{width:39px;height:39px;display:grid;place-items:center;background:var(--green);border-radius:12px 12px 12px 4px;overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:contain}.brand b,.brand small{display:block;line-height:1.3}.brand b{font-size:14px}.brand small{font-size:10px;color:var(--muted)}.top-tools{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:12px}.top-tools button{border:0;background:#edf4ed;color:var(--green);border-radius:8px;width:33px;height:33px;font-size:20px;cursor:pointer}.catalog-wrap{width:min(1120px,calc(100% - 28px));margin:34px auto 110px}.book{min-height:700px;background:var(--paper);border:1px solid #e1e5de;border-radius:3px 22px 22px 3px;box-shadow:var(--shadow);position:relative;overflow:hidden}.book:before{content:"";position:absolute;right:0;top:0;bottom:0;width:5px;background:linear-gradient(#b99552,#e0c17d,#b99552);opacity:.7}.page-number{position:absolute;top:28px;left:36px;color:#87968b;font-size:11px;letter-spacing:.04em}.page-content{padding:76px 70px 80px;min-height:700px}.page-footer{position:absolute;bottom:18px;left:60px;right:60px;border-top:1px solid #e8ece6;padding-top:9px;text-align:center;color:var(--muted);font-size:10px}.page-footer a{color:var(--green);font-weight:800;text-decoration:none}.intro-page{display:grid;grid-template-columns:1fr .9fr;align-items:center;gap:75px}.eyebrow{color:#7a8b80;font-size:11px;font-weight:800}.intro-copy h1{font-size:clamp(42px,6vw,70px);line-height:1.25;letter-spacing:-2px;margin:16px 0}.intro-copy h1 em{font-style:normal;color:var(--green2)}.intro-copy p{max-width:485px;color:var(--muted);font-size:15px}.intro-points{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.intro-points span{padding:5px 10px;background:#edf5ed;border-radius:20px;color:var(--green);font-size:11px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;padding:11px 18px;text-decoration:none;font-family:inherit;font-weight:700;font-size:12px;cursor:pointer}.button.primary{color:#fff;background:var(--green);box-shadow:0 10px 24px rgba(47,103,77,.22)}.intro-visual{height:430px;border-radius:35px;background:linear-gradient(145deg,#d8e9d6,#a5c4a5);position:relative;overflow:hidden}.intro-visual:after{content:"";position:absolute;inset:55% -20% -25%;background:rgba(43,91,63,.25);border-radius:50% 50% 0 0}.sun{position:absolute;right:50px;top:42px;width:140px;height:140px;border-radius:50%;background:#f1d69a}.tree-shape{position:absolute;z-index:1;left:70px;top:110px;width:210px;height:160px;background:#407456;border-radius:90% 8% 80% 12%;transform:rotate(23deg);box-shadow:95px 67px 0 -25px #5e8c65}.intro-note{position:absolute;z-index:2;bottom:27px;right:27px;background:rgba(255,255,255,.88);padding:14px 19px;border-radius:14px;box-shadow:var(--shadow)}.intro-note small,.intro-note strong{display:block}.intro-note small{font-size:10px;color:var(--muted)}.intro-note strong{font-size:16px}.page-head{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:17px}.page-head h1{font-size:31px;margin:6px 0 0;line-height:1.4}.lead{color:var(--muted);font-size:12px;margin:17px 0}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:11px;margin-top:18px}.category-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 12px;text-align:right;font-family:inherit;cursor:pointer;min-height:110px;transition:.22s;color:var(--ink);position:relative}.category-card:hover{transform:translateY(-3px);border-color:#a9c3ac;box-shadow:0 10px 25px rgba(47,103,77,.1)}.category-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#edf5ed;font-size:21px;margin-bottom:8px}.category-card strong,.category-card small{display:block}.category-card strong{font-size:12px}.category-card small{font-size:9px;color:var(--muted);margin-top:3px}.category-card small b{color:var(--green);font-size:15px}.category-intro{font-size:12px;color:var(--muted);margin:17px 0}.category-intro b{color:var(--green)}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.product-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;cursor:pointer;transition:.2s}.product-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(42,75,55,.1)}.product-image{height:120px;background:linear-gradient(145deg,#dcebdd,#8fb18e);position:relative;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;position:relative;z-index:1}.image-leaf{position:absolute;font-size:54px;left:25px;top:27px;opacity:.45}.product-info{padding:10px 12px}.product-info h3{font-size:14px;margin:0}.product-info p{font-size:10px;color:var(--muted);margin:2px 0}.price-row{border-top:1px solid #edf0eb;margin-top:8px;padding-top:7px;display:grid;gap:2px;color:var(--muted);font-size:9px}.price-row span{display:flex;justify-content:space-between}.price-row b{color:var(--green);font-size:10px}.card-more{display:flex;justify-content:space-between;color:var(--green);font-size:10px;margin-top:7px}.empty-product{cursor:default;border-style:dashed;background:#fbfcf9}.empty-product:hover{transform:none;box-shadow:none}.empty-product .product-image{background:#f0f4ef}.plus{display:grid;place-items:center;height:100%;font-size:38px;color:#9bb19c}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-top:30px}.guide-grid article{padding:22px;background:var(--cream);border-radius:15px}.guide-grid article>b{color:var(--green);font-size:12px}.guide-grid h3{font-size:16px;margin:7px 0}.guide-grid p{font-size:12px;color:var(--muted);margin:0}.guide-note{margin-top:23px;border-right:4px solid var(--gold);background:#fff8e9;padding:12px 15px;color:#806b42;font-size:12px}.contact-page{display:flex;flex-direction:column}.contact-box{margin-top:70px;padding:32px;background:var(--cream);border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:25px}.contact-box h2{font-size:23px;margin:0 0 5px}.contact-box p{color:var(--muted);font-size:12px;margin:0}.contact-details{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:28px}.contact-details div{padding:18px;border:1px solid var(--line);border-radius:13px}.contact-details small,.contact-details strong{display:block}.contact-details small{font-size:10px;color:var(--muted)}.contact-details strong{font-size:13px;color:var(--green);margin-top:4px}.pager{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:20px}.pager-btn{border:1px solid #cad8cc;background:#fff;color:var(--green);border-radius:9px;padding:9px 15px;font-family:inherit;font-size:11px;cursor:pointer}.pager-btn.primary{background:var(--green);color:#fff;border-color:var(--green)}.pager-btn:disabled{opacity:.4;cursor:not-allowed}.dots{display:flex;gap:4px;max-width:350px;overflow:hidden}.dot{border:0;background:#cbd8ce;width:7px;height:7px;border-radius:50%;padding:0;cursor:pointer}.dot.active{background:var(--green);transform:scale(1.4)}.bulk-bar{position:fixed;z-index:20;bottom:0;left:0;right:0;text-align:center;background:var(--green);color:#fff;padding:9px;font-size:11px}.bulk-bar a{color:#f4d68f;font-weight:800;text-decoration:none}.modal-backdrop{position:fixed;inset:0;background:rgba(20,35,28,.5);z-index:30;display:grid;place-items:center;padding:20px}.modal-backdrop[hidden]{display:none}.modal{position:relative;background:#fff;border-radius:20px;max-width:680px;width:100%;display:grid;grid-template-columns:.9fr 1.1fr;overflow:hidden}.modal-close{position:absolute;left:12px;top:8px;border:0;background:#fff;color:var(--green);font-size:24px;cursor:pointer}.modal-image{min-height:280px;background:linear-gradient(145deg,#d9e7d6,#6a9471)}.modal-content{padding:42px 26px 25px}.modal-content h2{font-size:25px;margin:7px 0}.modal-content p{font-size:12px;color:var(--muted)}.modal-specs{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0}.spec{background:#edf5ed;color:var(--green);padding:5px 9px;border-radius:7px;font-size:10px}@media(max-width:850px){.intro-page{grid-template-columns:1fr;gap:30px}.category-grid{grid-template-columns:repeat(4,1fr)}.page-content{padding:65px 42px 75px}}@media(max-width:600px){.catalog-wrap{width:calc(100% - 16px);margin-top:18px}.book{min-height:760px}.page-content{padding:58px 22px 72px;min-height:760px}.page-number{top:20px;left:22px}.page-footer{left:22px;right:22px;font-size:9px}.category-grid{grid-template-columns:repeat(3,1fr);gap:8px}.category-card{padding:10px 8px;min-height:94px}.category-icon{width:31px;height:31px;font-size:18px}.category-card strong{font-size:10px}.category-card small{font-size:8px}.product-grid{grid-template-columns:repeat(2,1fr);gap:9px}.product-image{height:105px}.product-info{padding:8px}.product-info h3{font-size:11px}.product-info p{font-size:9px}.price-row{font-size:8px}.price-row b{font-size:8px}.intro-copy h1{font-size:45px}.intro-visual{height:270px}.page-head h1{font-size:25px}.contact-box{display:block;margin-top:45px;padding:24px 18px}.contact-box .button{margin-top:18px}.contact-details{grid-template-columns:1fr}.pager{gap:8px}.pager-btn{font-size:9px;padding:8px 10px}.dots{max-width:110px}.top-tools{font-size:10px}.modal{grid-template-columns:1fr}.modal-image{min-height:150px}}
/* قاب‌بندی واقعی هر صفحهٔ کاتالوگ */
.book{padding:14px;background:#dfe8df;box-shadow:var(--shadow);border:0;min-height:800px}
.page-sheet{position:relative;min-height:770px;height:770px;background:var(--paper);border:1px solid #d7ded5;box-shadow:inset 0 0 0 1px rgba(255,255,255,.8),0 2px 5px rgba(32,63,45,.08);overflow:hidden;padding-top:1px}
.page-sheet:before{content:"";position:absolute;inset:12px;border:1px solid #e7ece5;pointer-events:none;z-index:0}
.page-sheet:after{content:"";position:absolute;top:12px;bottom:12px;right:17px;width:2px;background:linear-gradient(transparent,#d4dfd5 12%,#d4dfd5 88%,transparent);opacity:.65;pointer-events:none}
.sheet-head{position:absolute;top:25px;left:42px;right:42px;z-index:1;display:flex;justify-content:space-between;align-items:center;color:#94a198;font-size:9px;letter-spacing:.03em;padding-bottom:8px;border-bottom:1px solid #edf0eb}
.page-sheet .page-content{position:relative;z-index:1;height:100%;min-height:768px;padding:82px 68px 74px}
.page-sheet .page-number{z-index:2;top:28px;left:auto;right:43px;color:var(--green);font-weight:800;font-size:10px;background:var(--paper);padding-right:8px}
.page-sheet .page-footer{z-index:2;bottom:25px;left:42px;right:42px;padding-top:8px;background:var(--paper)}
.footer-page{position:absolute;left:0;color:#91a097;font-weight:700}
/* جلوگیری از بیرون‌زدگی محتوا در برگه */
.category-grid{grid-template-columns:repeat(5,1fr);gap:10px}
.category-card{min-height:108px}
.product-grid{grid-template-columns:repeat(3,1fr);gap:13px}
.product-card .product-image{height:116px}
@media(max-width:850px){.book{padding:10px}.page-sheet{min-height:760px;height:760px}.page-sheet .page-content{min-height:758px;padding:76px 42px 70px}.category-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:600px){.catalog-wrap{margin-bottom:95px}.book{padding:6px;min-height:770px}.page-sheet{min-height:758px;height:758px}.page-sheet:before{inset:8px}.page-sheet:after{right:10px;top:8px;bottom:8px}.sheet-head{top:20px;left:25px;right:25px;font-size:8px}.page-sheet .page-number{top:23px;right:25px;font-size:9px}.page-sheet .page-content{min-height:756px;padding:67px 21px 66px}.page-sheet .page-footer{left:24px;right:24px;bottom:20px;font-size:8px}.footer-page{display:none}.category-grid{grid-template-columns:repeat(3,1fr);gap:7px}.category-card{min-height:91px;padding:8px 7px}.product-grid{grid-template-columns:repeat(2,1fr);gap:8px}.product-card .product-image{height:100px}}
/* تنظیم فشردهٔ صفحهٔ دسته‌بندی برای قرارگیری هر ۲۹ دسته در یک برگه */
.page-sheet{overflow:auto}
.category-grid{grid-template-columns:repeat(6,1fr);gap:8px}.category-card{min-height:88px;padding:11px 10px}.category-icon{width:33px;height:33px;font-size:19px;margin-bottom:6px}
@media(max-width:850px){.category-grid{grid-template-columns:repeat(5,1fr)}.category-card{min-height:88px}}
@media(max-width:600px){.category-grid{grid-template-columns:repeat(3,1fr)}.category-card{min-height:88px}}
/* چارچوب نهایی کاتالوگ: هر برگه یک صفحهٔ مستقل با سربرگ و پابرگ ثابت است */
.page-sheet{border-radius:2px;}
.page-footer{display:flex;align-items:center;justify-content:center;min-height:30px;}
.bulk-copy{display:block;text-align:center;}
.footer-page{position:absolute;left:0;white-space:nowrap;font-size:9px;color:#91a097;font-weight:700;}
@media(max-width:600px){.page-footer{font-size:8px}.footer-page{display:block;font-size:8px;left:0}.bulk-copy{padding:0 36px}}
