@font-face{font-family:SiteNavigationFa;src:url('/client/template/insta/assets/fonts/iranyekanwebregularfanum.woff') format('woff');font-display:swap}
.site-header{box-sizing:border-box;height:72px;position:sticky;top:0;z-index:100;background:#0d5836;color:#fff;font-family:SiteNavigationFa,Tahoma,sans-serif;line-height:1.7;isolation:isolate}
.site-header *{box-sizing:border-box}.site-header .header-inner{width:min(1180px,calc(100% - 48px));height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-header a{color:inherit;text-decoration:none}.site-header .brand{padding:0;margin:0;display:flex;align-items:center;gap:9px;flex-shrink:0;font-size:19px;font-weight:700;white-space:nowrap}.site-header .brand img{display:block;width:49px;height:45px;object-fit:contain}.site-header .main-nav{display:flex;gap:22px;align-items:center;position:static;background:transparent;padding:0;box-shadow:none}.site-header .main-nav a{font-size:14px;white-space:nowrap}.site-header .main-nav a[aria-current=page]{color:#e7e8af}
.site-header .header-actions{display:flex;align-items:center;gap:17px;min-width:0}.site-header .header-actions button,.site-header .header-actions>a{display:inline-flex;align-items:center;justify-content:center;gap:7px;position:relative;min-width:32px;min-height:40px;flex-shrink:0}.site-header button{border:0;padding:0;background:transparent;color:inherit;cursor:pointer;font:inherit}.site-header svg{display:block;width:23px;height:23px;flex-shrink:0;fill:none}.site-header .login-link svg{width:25px;height:25px;display:block}.site-header .login-link{padding:8px 12px;max-width:235px;background:#a60d16;border-radius:11px;font-size:12px;font-weight:700}.site-header .login-link.is-authenticated{background:transparent;box-shadow:none}.site-header .login-link.is-authenticated:hover{background:#ffffff12}.site-header .account-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.site-header .header-actions .mobile-menu{display:none!important}.site-header a:focus-visible,.site-header button:focus-visible{outline:2px solid #e4eabf;outline-offset:4px}
.site-header .cart-count{position:absolute;top:-3px;right:-6px;background:#fff4d8;color:#145b3d;min-width:18px;height:18px;line-height:18px;border-radius:20px;text-align:center;font-size:11px;padding:0 4px}.site-header [hidden]{display:none!important}
.search-dialog{box-sizing:border-box;border:1px solid #dce5d7;border-radius:20px;width:min(620px,calc(100% - 28px));max-width:620px;max-height:85svh;padding:26px;color:#193b2b;background:white;font:14px/1.9 SiteNavigationFa,Tahoma,sans-serif}.search-dialog::backdrop{background:#12352166;backdrop-filter:blur(4px)}.search-dialog h2{font-size:22px;margin:0 0 18px}.search-dialog .dialog-close{float:left;border:0;border-radius:50%;background:#edf4ea;width:34px;height:34px;font:24px/1 Tahoma;cursor:pointer}.search-controls{display:flex;gap:10px}.search-controls input{min-width:0;flex:1;border:1px solid #cfdccf;border-radius:10px;background:#fff;padding:11px 13px;font:inherit;color:inherit;margin:8px 0}.search-controls button{border:0;border-radius:10px;background:#145b3b;color:white;padding:10px 16px;font:inherit;cursor:pointer;margin:8px 0}.search-feedback{color:#6b796c;font-size:12px;min-height:1.8em;margin:6px 0}.search-results{list-style:none;margin:8px 0 0;padding:0;max-height:46svh;overflow:auto;border:1px solid #e1e8dc;border-radius:12px;background:#fff}.search-results[hidden]{display:none!important}.search-results li+li{border-top:1px solid #edf0e8}.search-results a{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#1b5137;text-decoration:none;padding:11px 14px;line-height:1.9}.search-results a:hover,.search-results a:focus-visible{background:#f0f6ec}.search-results small{white-space:nowrap;color:#74836c;font-size:11px}.search-results span{overflow-wrap:anywhere}
.article-search form{position:relative}.article-search .search-results{position:absolute;top:100%;right:0;left:0;z-index:15;margin:0;box-shadow:0 14px 30px #183c2b1a}.article-search form>.search-feedback{display:block;margin:0}.article-search form>.search-controls{display:flex}.article-search .search-controls input{margin:0}.article-search .search-controls button{margin:0}.article-search form>.search-feedback:empty{display:none}
@media(max-width:1100px){.site-header .header-inner{gap:15px;width:calc(100% - 32px)}.site-header .main-nav{gap:14px}.site-header .main-nav a{font-size:12px}.site-header .brand{font-size:16px}.site-header .header-actions{gap:10px}.site-header .login-link{max-width:200px;padding:7px 9px;font-size:11px}}
@media(max-width:860px){.site-header{height:68px}.site-header .header-inner{gap:10px}.site-header .main-nav{display:none;position:absolute;top:68px;right:0;left:0;padding:18px 24px;background:#0d5836;box-shadow:0 12px 18px #0002;flex-wrap:wrap;gap:20px}.site-header .main-nav.open{display:flex}.site-header .header-actions .mobile-menu{display:flex!important}.site-header .header-actions{margin-inline-start:auto;gap:9px}.site-header .brand{font-size:15px}.site-header .brand img{width:39px;height:38px}.site-header .login-link{max-width:200px}.site-header .header-actions>.search-toggle{display:flex}.site-header .header-actions>a[aria-label='سبد خرید']{align-self:center}}
@media(max-width:480px){.site-header .header-inner{width:calc(100% - 24px);gap:6px}.site-header .header-actions{gap:5px}.site-header .header-actions>a,.site-header .header-actions button{min-width:28px}.site-header .brand{font-size:13px;gap:5px}.site-header .brand img{width:33px;height:34px}.site-header .login-link{max-width:130px;font-size:10px;padding:7px 5px;gap:4px}.site-header .login-link svg{width:22px;height:22px}.site-header .account-label{max-width:85px;white-space:normal;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.site-header svg{width:21px;height:21px}.search-dialog{padding:20px}.search-controls{gap:7px}.search-controls button{padding:9px 12px}}
@media(max-width:350px){.site-header .brand span{max-width:65px;white-space:normal;line-height:1.5;font-size:11px}.site-header .login-link{max-width:102px}.site-header .header-actions{gap:3px}}
body.profile-page>.site-header{flex:none}body.profile-page .shell{min-height:calc(100svh - 72px)}body.profile-page #sidebar{top:72px;height:calc(100svh - 72px)}body.profile-page #sidebar>.brand{align-items:center}body.profile-page #sidebar>.brand .brand-mark{flex-shrink:0}body.profile-page .search-dialog svg{width:22px;height:22px}
@media(max-width:860px){body.profile-page #sidebar{top:68px;height:calc(100svh - 68px)}body.profile-page .shell{min-height:calc(100svh - 68px)}body.profile-page #menu{top:82px}body.profile-page .veil{top:68px}}

/* Same account styling, with a native disclosure for authenticated navigation. */
.site-header .account-menu{position:relative;min-width:0}.site-header .account-menu>summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;min-height:40px}.site-header .account-menu>summary::-webkit-details-marker{display:none}.site-header .account-menu>summary>svg:last-child{width:16px;height:16px}.site-header .account-dropdown{position:absolute;inset-inline-end:0;top:calc(100% + 8px);width:190px;padding:6px;background:#fff;color:#193b2b;border:1px solid #dce5d7;border-radius:10px;box-shadow:0 8px 20px #12352126}.site-header .account-dropdown a,.site-header .account-dropdown button{display:flex;width:100%;justify-content:flex-start;padding:10px 12px;min-height:44px;font-size:13px;border-radius:6px;text-align:start}.site-header .account-dropdown a:hover,.site-header .account-dropdown button:hover{background:#f5f7f3}.site-header .account-dropdown p{font-size:12px;padding:0 10px}.site-header .account-menu>summary:focus-visible{outline:2px solid #e4eabf;outline-offset:4px}
