/* C2 homepage header styles — extracted from live index.php, isolated to shared shell */
@font-face{font-family:vazir;src:url('/assets/fonts/Vazirmatn-Regular.woff2')}@font-face{font-family:vazir;src:url('/assets/fonts/Vazirmatn-Bold.woff2');font-weight:800}
.c2-home-shell{font-family:vazir,Tahoma,sans-serif;color:#163e30;font-size:15px;line-height:1.8;direction:rtl}
.c2-home-shell *{box-sizing:border-box}.c2-home-shell a{text-decoration:none;color:inherit}.c2-home-shell button,.c2-home-shell input{font:inherit}
.wrap{width:min(1460px,calc(100% - 54px));margin:auto}
.top{background:#07543b;color:white;font-size:13px}
.top .wrap{display:flex;justify-content:space-between;align-items:center;padding:7px 0}
.top a{color:#fff}
.head{background:white;border-bottom:1px solid #e9eee9}
.head .wrap{display:grid;grid-template-columns:245px minmax(200px,1fr) 270px;gap:26px;align-items:center;padding:20px 0}
.brand{display:flex;align-items:center;gap:12px}
.logo{display:grid;place-items:center;background:#07543b;color:#ff981f;font-weight:800;font-size:33px;border-radius:20px;width:69px;height:69px;letter-spacing:-3px}
.brand strong{font-size:24px;line-height:1.2;display:block}
.brand small{font-size:13px;color:#77857c}
.search{display:flex;background:#f4f6f4;border:1px solid #e0e8e0;border-radius:15px;overflow:hidden;height:59px}
.search input{border:0;outline:0;background:transparent;min-width:0;flex:1;padding:0 22px;font-size:15px}
.search button{background:#ff9826;color:#1c3427;border:0;padding:0 30px;font-weight:800}
.actions{display:flex;justify-content:flex-end;gap:10px}
.action{padding:12px 17px;border:1px solid #e1e9e3;border-radius:14px;font-size:14px;font-weight:800;white-space:nowrap}
.action.cart{background:#e8f5ed;border-color:#d6e9dc}
.nav{background:#fff;border-bottom:1px solid #e4ece6}
.nav .wrap{display:flex;gap:29px;align-items:center;min-height:62px;font-weight:800}
.nav a:hover,.foot a:hover{color:#ff9826}
.nav .catbtn{background:#ff9826;padding:11px 22px;border-radius:12px;margin-left:12px;color:#153e2e}
@media (max-width:1180px){.head .wrap{grid-template-columns:220px 1fr}.actions{grid-column:1/-1;justify-content:center}}
@media (max-width:760px){.wrap{width:calc(100% - 26px)}.top .wrap{justify-content:center}.top .wrap span{display:none}.head .wrap{display:flex;flex-wrap:wrap;gap:10px;padding:12px 0}.brand{flex:1}.logo{width:50px;height:50px;font-size:25px;border-radius:13px}.brand strong{font-size:19px}.search{order:3;width:100%;height:51px}.actions{gap:5px}.action{font-size:12px;padding:8px}.nav .wrap{gap:18px;overflow-x:auto;white-space:nowrap;min-height:52px;font-size:13px}.nav .catbtn{padding:8px 11px}}
.c2-authentic-logo{width:70px;height:70px;border-radius:16px;object-fit:cover;display:block;box-shadow:0 3px 12px #063d2a24}
@media (max-width:760px){.c2-authentic-logo{width:51px;height:51px;border-radius:12px}}
.c2-mobile-tabs{display:none}
@media (max-width:760px){.wrap{width:calc(100% - 28px)}.top{font-size:12px;text-align:center}.top .wrap{padding:8px 4px}.head .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 0}.brand{grid-column:1;min-width:0;gap:9px}.c2-authentic-logo{width:52px;height:52px;object-fit:contain;flex-shrink:0}.brand strong{font-size:19px;line-height:1.5}.brand small{font-size:12px}.actions{grid-column:2;grid-row:1;justify-content:flex-end;gap:6px}.action{padding:9px 10px;min-height:43px;border-radius:12px;font-size:12px}.search{grid-column:1/-1;grid-row:2;order:initial;width:100%;height:52px;min-width:0;margin:0}.search input{min-width:0;font-size:14px}.search button{font-size:14px;padding-inline:15px}.nav{display:none}main>.wrap:first-child{padding-top:12px}.c2-mobile-tabs{display:grid;position:fixed;bottom:0;right:0;left:0;z-index:9999;grid-template-columns:repeat(5,minmax(0,1fr));direction:rtl;min-height:70px;padding:6px 3px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e0e8e3;box-shadow:0 -5px 18px #092e1b14}.c2-mobile-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;color:#5c7066;text-decoration:none;font-size:11px;font-weight:800;line-height:1.35}.c2-mobile-tabs a:first-child{color:#086342}.c2-mobile-tabs svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}}
@media (max-width:390px){.brand strong{font-size:16px}.brand small{font-size:10px}.actions .action{font-size:11px;padding:8px 7px}}
@media  (max-width:760px){.wrap{width:calc(100% - 24px)}.top .wrap{padding:5px 4px}.top{font-size:11px}.head .wrap{grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:10px 0 11px}.brand{min-width:0;gap:8px}.c2-authentic-logo{width:45px;height:45px;border-radius:11px}.brand strong{font-size:17px;line-height:1.4}.brand small{font-size:10px;line-height:1.4;display:block}.actions{gap:6px;align-items:center}.action{display:flex;align-items:center;justify-content:center;min-height:40px;padding:7px 9px;font-size:11px}.search{height:47px;border-radius:13px}.search input{font-size:13px;padding:0 11px}.search button{padding:0 14px;font-size:12px}main>.wrap:first-child{padding-top:0}.c2-mobile-tabs{min-height:66px;padding:5px 3px calc(5px + env(safe-area-inset-bottom))}.c2-mobile-tabs a{font-size:10px}.c2-mobile-tabs svg{width:23px;height:23px}}
@media (max-width:390px){.brand strong{font-size:15px}.brand small{font-size:9px}.action{padding:6px;font-size:10px}}