*{box-sizing:border-box}
body{margin:0;font:16px/1.7 Vazirmatn,Tahoma,system-ui,sans-serif;color:#0d2d52;background:#f7f7f5}
h1,h2,h3{margin:0 0 .4rem;line-height:1.4}h1{font-size:1.25rem}h2{font-size:1.15rem}
.muted{color:#4f6478;margin:0}
.demo{background:#fff3cd;padding:.5rem 1rem;text-align:center;font-size:.9rem}
.top{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem 1rem;background:#fff;border-bottom:1px solid #d5e7ec}
main{max-width:960px;margin:0 auto;padding:1rem}
.intro{background:#fff;border:1px solid #d5e7ec;border-radius:12px;padding:1rem;margin-bottom:1.2rem}
.row{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.8rem}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 1rem;border:1px solid #0b7f90;border-radius:10px;background:#fff;color:#0b7f90;font:inherit;cursor:pointer;text-decoration:none}
.btn.primary{background:#0b7f90;color:#fff}
.btn:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #fbb51f;outline-offset:2px}
.filters{display:flex;flex-wrap:wrap;gap:.7rem;margin:.6rem 0}
.filters label{display:flex;flex-direction:column;font-size:.9rem;gap:.2rem;min-width:140px}.grow{flex:1;min-width:200px!important}
select,input,textarea{font:inherit;min-height:44px;padding:.4rem .6rem;border:1px solid #a9c3cb;border-radius:8px;background:#fff}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.9rem}
.card{background:#fff;border:1px solid #d5e7ec;border-radius:12px;padding:.9rem;display:flex;flex-direction:column;gap:.35rem}
.card .price{font-weight:700;color:#0b7f90}.tag{font-size:.8rem;background:#e3f5f7;color:#0b7f90;border-radius:6px;padding:.05rem .5rem;align-self:flex-start}
.card .row{margin-top:auto;padding-top:.4rem}
dialog{width:min(560px,94vw);max-height:90vh;border:0;border-radius:14px;padding:1rem;overflow:auto}
dialog::backdrop{background:rgba(0,0,0,.45)}
dl{display:grid;grid-template-columns:auto 1fr;gap:.2rem .8rem;margin:.6rem 0}dt{color:#4f6478}dd{margin:0}
.note{background:#fdf3dc;border-radius:8px;padding:.5rem .7rem;margin:.4rem 0}
footer{text-align:center;color:#4f6478;font-size:.85rem;padding:1.5rem 1rem 5rem}
.fab{position:fixed;bottom:1rem;left:1rem;z-index:5;min-height:48px;padding:0 1.1rem;border:0;border-radius:24px;background:#0b7f90;color:#fff;font:inherit;box-shadow:0 3px 10px rgba(0,0,0,.25);cursor:pointer}
.chat{position:fixed;z-index:10;display:flex;flex-direction:column;background:#fff;inset:0;height:100vh;height:100dvh}
.chat[hidden]{display:none}
@media(min-width:700px){.chat{inset:auto 1rem 1rem auto;width:380px;height:min(600px,85vh);border-radius:14px;box-shadow:0 6px 24px rgba(0,0,0,.3)}}
.chat-head{display:flex;justify-content:space-between;align-items:center;padding:.6rem .9rem;background:#0b7f90;color:#fff;border-radius:inherit;border-end-start-radius:0;border-end-end-radius:0}
.chat-head button{background:none;border:0;color:#fff;font-size:1.2rem;min-width:44px;min-height:44px;cursor:pointer}
.msgs{flex:1;overflow:auto;padding:.8rem;display:flex;flex-direction:column;gap:.6rem;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}
.m{max-width:88%;padding:.6rem .9rem;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85}
.m.bot{background:#eaf4f6;align-self:flex-start}.m.me{background:#0b7f90;color:#fff;align-self:flex-end}.m.sys{background:#fff3cd;align-self:center;font-size:.9rem}
.chips{display:flex;flex-wrap:wrap;gap:.4rem;padding:0 .8rem}.chips .btn{min-height:38px;font-size:.9rem}
.chat-form{display:flex;gap:.5rem;padding:.7rem;border-top:1px solid #d5e7ec}.chat-form textarea{flex:1;resize:none;max-height:120px}

.card .cover{width:100%;height:150px;object-fit:cover;border-radius:8px;background:#eee}
.gallery{display:flex;gap:.4rem;overflow-x:auto;margin:.5rem 0}.gallery img{height:170px;border-radius:8px;flex:none}

.otp{max-width:95%;width:100%}.otp .row{margin:.4rem 0 0}.otp input{flex:1;min-width:110px;text-align:center;letter-spacing:.3em;font-size:1.1rem}
.m.wait{color:#4f6478}
.m.wait::after{content:"...";display:inline-block;width:0;overflow:hidden;vertical-align:bottom;animation:dots 1.2s steps(4,end) infinite}
@keyframes dots{to{width:1.2em}}
@media(prefers-reduced-motion:reduce){.m.wait::after{animation:none;width:auto}.msgs{scroll-behavior:auto}}
.m.upl progress{width:100%;height:8px;margin:.4rem 0;accent-color:#0b7f90}
.m.upl .thumbs{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.3rem}.m.upl .thumbs img{width:44px;height:44px;object-fit:cover;border-radius:6px}

/* هویت بصری لوگو */
.top{border-bottom:3px solid #26b5c8}
.brand{display:flex;align-items:center;gap:.7rem}.brand h1{margin:0;line-height:0}
.logo{display:block;height:56px;width:auto;max-width:100%}.brand h1{min-width:0;flex:0 1 auto}
.intro{border-top:4px solid #fbb51f;box-shadow:0 2px 8px rgba(13,45,82,.06)}
.card{border-top:3px solid #26b5c8;box-shadow:0 2px 8px rgba(13,45,82,.06)}
.btn:hover{background:#e3f5f7}.btn.primary:hover{background:#096a79}
h2{color:#0d2d52}
#call{white-space:nowrap;flex:none}
@media(max-width:480px){.top{gap:.5rem}.brand{gap:.5rem}.logo{height:44px}#call{padding:0 .7rem;font-size:.9rem}}
