/* Shared public-site shell. Admin routes are excluded by navbar.js. */
.site-shell{--site-orange:#f56e0f;--site-ink:#151419;background:#fbfbfb;color:var(--site-ink)}
.site-shell .navbar{height:72px;min-height:72px;padding:8px max(24px,calc((100vw - 1320px)/2));background:rgba(255,255,255,.97);border-bottom:1px solid #ebebed;box-shadow:0 8px 30px rgba(21,20,25,.055);backdrop-filter:blur(14px);gap:22px}
.site-shell .brand-link{display:flex;align-items:center;min-height:52px}
.site-shell .brand-logo{height:55px;max-width:150px;object-fit:contain}
.site-shell .nav-links{gap:clamp(8px,1.15vw,19px);min-width:0}
.site-shell .nav-links a{min-height:44px;padding:8px 4px;color:#343238;font-size:.79rem;font-weight:700;white-space:nowrap;border-radius:8px;transition:color .18s,background-color .18s}
.site-shell .nav-links a i{display:none!important}
.site-shell .nav-links a:hover,.site-shell .nav-links a.active{color:#b94a08;background:#fff3eb}
.site-shell .nav-links a:after{bottom:3px;right:9px;left:9px;width:auto;height:2px;background:var(--site-orange);transform:scaleX(0);transform-origin:right center;transition:transform .18s}
.site-shell .nav-links a:hover:after,.site-shell .nav-links a.active:after{width:auto;transform:scaleX(1)}
.site-shell .login-button .login-btn,.site-shell .user-name{min-height:42px;padding:8px 14px;border:1px solid #dddde2;border-radius:12px;background:#fff;color:var(--site-ink);font-size:.8rem;font-weight:700;box-shadow:0 3px 9px rgba(21,20,25,.025);white-space:nowrap}
.site-shell .login-button .login-btn:hover,.site-shell .user-name:hover{background:#fff6ef;border-color:#f3b283;color:#a94508;transform:none;box-shadow:none}
.site-shell .login-button .login-btn .login-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:#fff1e7;color:#d85d0a;margin:0}
.site-shell .login-button .login-btn .login-icon svg{display:block;width:18px;height:18px}
.site-shell .mobile-menu-btn{color:var(--site-ink);background:#fff;border-color:#dddde2}
.site-shell .mobile-menu-btn:hover{color:#c45208;background:#fff5ed;border-color:#f5bd94}
.site-shell .dropdown-menu{border:1px solid #ececf0;border-radius:16px;box-shadow:0 18px 42px rgba(21,20,25,.13)}
.site-shell .dropdown-item{min-height:42px;color:#28262d;font-family:Morabba,sans-serif}
.site-shell.home-page .ad-hero{margin-top:72px}
.site-shell .ad-container{width:min(calc(100% - 60px),1200px);margin-inline:auto}
.site-shell .ad-footer{margin:0;padding:14px 0;background:#17171b;color:#fff}
.site-shell .ad-footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:20px;align-items:start}
.site-shell .ad-footer h2{margin:0 0 7px;color:#fff;font-size:.77rem}
.site-shell .ad-footer p,.site-shell .ad-footer a{margin:0;color:#f4f4f5;font-size:.71rem;line-height:1.45;text-decoration:none}
.site-shell .ad-footer a{display:block}
.site-shell .ad-footer a:hover{color:#ff9b55}
.site-shell .ad-footer__brand{position:relative;display:flex;align-items:center;gap:15px}
.site-shell .ad-footer__brand img{object-fit:contain;width:112px;height:58px;filter:brightness(0) invert(1)}
.site-shell .ad-footer__brand:before{content:"";position:absolute;right:0;top:6px;width:112px;height:24px;background:url('/assets/main-logo-nav.png') right top/112px auto no-repeat;pointer-events:none}
.site-shell .ad-footer__social{display:flex;gap:10px;margin-top:12px}
.site-shell .ad-footer__social a{display:grid;place-items:center;width:31px;height:31px;border:1px solid #a4a4a8;border-radius:6px;font-size:1.05rem}
.site-shell #footer-placeholder{width:100%;margin-top:auto;background:#17171b}
.site-shell a:focus-visible,.site-shell button:focus-visible,.site-shell input:focus-visible,.site-shell select:focus-visible{outline:3px solid #a84405;outline-offset:2px}
.site-shell:not(.home-page) main h1,.site-shell:not(.home-page) main h2{color:var(--site-ink)}
.site-shell:not(.home-page) :is(.request-header,.profile-header){color:var(--site-ink)}
.site-shell:not(.home-page) :is(.request-form,.profile-content,.stats-box,.car-card,.blog-card){border:1px solid #e1e2e6;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(21,20,25,.06)}
.site-shell:not(.home-page) :is(.form-section,.stats-item){border-color:#e1e2e6;background:#fbfbfb}
.site-shell:not(.home-page) main :is(input,select,textarea){accent-color:#f56e0f}
.site-shell:not(.home-page) main .submit-btn,.site-shell:not(.home-page) main button[type=submit]{background:#f56e0f;color:#fff}
@media(max-width:1100px){
 .site-shell .ad-container{width:min(calc(100% - 32px),1200px)}
 .site-shell .navbar{height:66px;min-height:66px;padding-inline:18px;gap:0}
 .site-shell .brand-logo{height:50px}
 .site-shell .mobile-menu-btn{display:flex;width:44px;height:44px;border-radius:12px;grid-column:1}
 .site-shell .nav-links{max-height:calc(100dvh - 74px);overflow-y:auto;overscroll-behavior:contain;padding:16px;background:#fff;box-shadow:0 18px 40px rgba(21,20,25,.14);border:1px solid #ebebef;border-top:0;border-radius:0 0 18px 18px;gap:3px}
 .site-shell .nav-links:before{content:'دسترسی سریع';align-self:stretch;padding:5px 10px 10px;color:#8a8990;font-size:.75rem;font-weight:700}
 .site-shell .nav-links a{width:100%;min-height:48px;padding:9px 12px;color:var(--site-ink);font-size:.9rem;border:0;border-radius:10px;white-space:normal}
 .site-shell .nav-links a i{display:inline-grid!important;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:#fff2e8;color:#d65e0e;font-size:.83rem}
 .site-shell .nav-links a:hover,.site-shell .nav-links a.active{background:#fff2e8}
 .site-shell .nav-links a:after{display:none}
 .site-shell.home-page .ad-hero{margin-top:66px}
 .site-shell .ad-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .site-shell .navbar{height:64px;min-height:64px;padding-inline:12px}
 .site-shell .brand-logo{height:46px;max-width:120px}
 .site-shell .login-button .login-btn{width:44px;min-width:44px;height:44px;padding:0;font-size:0;display:flex;align-items:center;justify-content:center;gap:0;line-height:1}
 .site-shell .login-button .login-btn .login-icon{width:28px;height:28px}
 .site-shell .user-name{max-width:112px;min-height:44px;padding:7px 9px;overflow:hidden;text-overflow:ellipsis;font-size:.75rem}
 .site-shell .nav-links{max-height:calc(100dvh - 70px);padding:12px}
 .site-shell.home-page .ad-hero{margin-top:64px}
 .site-shell .ad-footer__brand{display:block}
}
@media(prefers-reduced-motion:reduce){.site-shell .navbar,.site-shell .nav-links a,.site-shell .nav-links a:after,.site-shell .login-button .login-btn,.site-shell .mobile-menu-btn{transition:none}}
