
.haf-global-header{font-family:Vazirmatn,Tahoma,sans-serif!important;box-sizing:border-box;display:flex!important;align-items:center;justify-content:space-between;gap:24px;max-width:1440px;width:calc(100% - 48px);margin:0 auto 32px;padding:25px 0;line-height:1.8;position:relative;z-index:30;direction:rtl}.haf-global-header a{text-decoration:none!important}.haf-global-header .brand{display:flex;align-items:center;gap:12px;color:#073e49;font-size:30px;font-weight:800}.haf-global-header .brand small{display:block;font-size:10px;font-weight:500;letter-spacing:5px;text-align:center;margin-top:2px}.haf-global-header .brand-icon{display:grid;grid-template-columns:repeat(2,17px);gap:5px;transform:rotate(-8deg);order:-1}.haf-global-header .brand-icon i{width:17px;height:17px;border-radius:4px;background:#073e49}.haf-global-header .brand-icon i:first-child{background:#d1b48c}.haf-global-header .brand-icon i:last-child{background:#0750ff}.haf-global-header .desktop-site-nav{display:flex;align-items:center;gap:32px}.haf-global-header .desktop-site-nav a{font-size:14px;color:#4d607c}.haf-global-header .vendor-link{display:flex;gap:18px;align-items:center;font-size:14px;color:#0750ff;border:1px solid #0750ff;border-radius:14px;padding:13px 18px}.haf-global-header .mobile-site-menu{display:none}.haf-global-header .mobile-site-menu summary{cursor:pointer;list-style:none;width:44px;height:44px;border:1px solid #dce5ee;border-radius:12px;display:grid;align-content:center;justify-content:center;gap:5px;background:white}.haf-global-header .mobile-site-menu summary::-webkit-details-marker{display:none}.haf-global-header .mobile-site-menu summary span{display:block;width:21px;height:2px;background:#073e49}.haf-global-header .mobile-site-menu nav{position:absolute;left:0;top:80px;width:260px;background:#fff;border:1px solid #dce5ee;box-shadow:0 12px 35px #123f4620;border-radius:14px;padding:8px;display:flex;flex-direction:column;z-index:50}.haf-global-header .mobile-site-menu:not([open]) nav{display:none}.haf-global-header .mobile-site-menu nav a{padding:12px;color:#073e49}.haf-global-header .mobile-site-menu nav a:hover{background:#eef5ff}.haf-panel-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px}.haf-panel-toolbar nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px}@media(max-width:850px){.haf-global-header{width:calc(100% - 32px);margin-bottom:20px;padding:18px 0;min-height:90px}.haf-global-header .desktop-site-nav,.haf-global-header .vendor-link{display:none}.haf-global-header .mobile-site-menu{display:block}.haf-global-header .brand{font-size:26px}}


.gallery-editor{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.gallery-editor article{min-width:0;border:1px solid #dbe5f0;border-radius:12px;padding:10px}.gallery-editor article>img{width:100%;height:120px;object-fit:contain;background:#f4f7fb;border-radius:8px}.gallery-editor .btn{font-size:11px;padding:7px}.gallery-add{display:flex;align-items:center;justify-content:center;min-height:150px;border:1px dashed #9bbcf5;border-radius:12px;color:#0750ff;cursor:pointer}.jalali-field{display:flex;align-items:center;gap:6px;direction:rtl}.jalali-field input{min-width:0;flex:1;direction:ltr;text-align:right}.jalali-toggle{border:1px solid #dbe5f0;border-radius:10px;background:#f2f6fc;color:#0750ff;width:44px;height:46px;cursor:pointer;font-size:25px}.jalali-dialog{width:min(94vw,380px);border:1px solid #dbe5f0;border-radius:16px;padding:20px;color:#073e49;font-family:Vazirmatn,Tahoma,sans-serif}.jalali-dialog button,.jalali-dialog select{font:inherit;cursor:pointer;border:1px solid #dbe5f0;border-radius:8px;background:white;padding:8px;color:#073e49}.calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:6px}.calendar-nav label{font-size:11px}.calendar-nav select{max-width:110px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin:16px 0;text-align:center;direction:rtl}.calendar-grid button{padding:8px 0}.calendar-grid button:hover,.calendar-grid button[aria-current="date"]{background:#0750ff;color:white}.calendar-grid b{font-size:12px}.post-text{white-space:pre-wrap;overflow-wrap:anywhere}.gallery-editor input[type=file]{position:absolute}

.haf-global-header .brand-icon{direction:ltr}.haf-global-header .desktop-site-nav>a{display:block!important}

.haf-global-header{width:100%!important;max-width:none!important;margin:0 0 30px!important;padding:24px max(24px,calc((100% - 1440px)/2))!important;background:#fff!important;border-bottom:1px solid #e3eaf1;box-shadow:0 2px 8px #143c4c04}.haf-global-header .mobile-site-menu nav{top:calc(100% - 8px);left:16px}@media(max-width:850px){.haf-global-header{padding:18px 16px!important;margin-bottom:20px!important}}
