.hph-root,.hph-drawer{--hph-ink:#484848;--hph-accent:#6c7ee4;box-sizing:border-box;font-family:PeydaFaNum,Peyda,var(--e-global-typography-primary-font-family,Tahoma),sans-serif;color:var(--hph-ink);font-size:16px;line-height:1.5;text-align:right}
.hph-root *,.hph-drawer *{box-sizing:border-box}
.hph-root{background:#fafaf7;border-bottom:2px solid #ededed;width:100%;position:relative;z-index:920}
.hph-root a,.hph-drawer a{color:inherit;text-decoration:none;box-shadow:none}
.hph-root button,.hph-drawer button{font-family:inherit;cursor:pointer;letter-spacing:normal;text-transform:none;min-height:0}
.hph-root .hph-plain,.hph-drawer .hph-plain{border:0;background:transparent;color:inherit;box-shadow:none;padding:0;margin:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}
.hph-root a:focus-visible,.hph-root button:focus-visible,.hph-drawer a:focus-visible,.hph-drawer button:focus-visible{outline:3px solid #6c7ee4;outline-offset:4px}
.hph-icon{display:block;object-fit:contain;width:24px;height:24px;max-width:none;flex:none}
.hph-announcement{position:relative;min-height:70px;display:flex;align-items:center;justify-content:center;background:#feb21b;padding:16px 100px}
.hph-announcement[hidden]{display:none}
.hph-announcement-inner{display:flex;align-items:center;gap:16px;font-weight:600;line-height:24px}
.hph-truck{position:relative;width:50px;height:25.057px;flex:none}.hph-truck .hph-icon{width:50px;height:25.057px}.hph-truck i{position:absolute;left:12.7px;top:1.79px;width:19.727px;height:9.229px;background:#faa940}
.hph-root .hph-dismiss{position:absolute;left:max(24px,calc((100% - 1300px)/2));top:13px;width:44px;height:44px}.hph-dismiss .hph-icon{width:20px;height:20px}
.hph-bar{max-width:1440px;margin:auto;padding:16px 70px;display:flex;align-items:center;justify-content:space-between;gap:clamp(16px,3.17vw,46px)}
.hph-brand{display:flex;align-items:center;gap:24px;flex:none}
.hph-logo{position:relative;display:block;overflow:hidden;width:150px;height:49px;flex:none}
.hph-logo img{position:absolute;width:120%;height:121.95%;max-width:none;left:-10.4%;top:-8.54%;object-fit:fill}
.hph-custom-logo img{width:100%;height:100%;left:0;top:0;object-fit:contain}
.hph-root .hph-menu{gap:8px;color:#6c7ee4;font-size:18px;font-weight:500;white-space:nowrap;min-height:44px}
.hph-search{flex:1;min-width:180px;max-width:600px}
.hph-root .hph-explore{display:flex;align-items:center;justify-content:center;gap:8px;background:#6c7ee4;color:white;border-radius:16px;padding:12px 24px;white-space:nowrap;font-size:16px;font-weight:700;line-height:20px;flex:none}
.hph-explore .hph-icon{width:20px;height:20px}
.hph-actions{display:flex;align-items:center;gap:40px;flex:none}
.hph-root .hph-cart{position:relative;min-width:28px;min-height:44px}.hph-cart .hph-icon{width:28px;height:28px}
.hph-count{position:absolute;right:-8px;top:-2px;min-width:17px;height:17px;padding:0 4px;border-radius:10px;background:#6c7ee4;color:white;font-size:11px;line-height:17px;text-align:center}.hph-count:empty,.hph-count[data-empty],.hph-cart:not(.qcp-has-items) .hph-count{display:none}
.hph-account{display:flex;align-items:center;gap:8px;font-size:18px;white-space:nowrap;min-height:44px}
.hph-root .psx-search-frame{height:55px;padding:2px;border-radius:15px}.hph-root .psx-search-frame::after{inset:2px;border-radius:13px;background:#fff}
.hph-root .psx-input{padding-right:32px!important;color:#484848!important;font-weight:400!important}.hph-root .psx-submit{left:18px}.hph-root .psx-submit svg{width:20px!important;height:20px!important}.hph-root .psx-submit i{display:none}
.hph-unavailable{font-size:13px;color:#666}
.hph-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:320px;max-width:calc(100vw - 24px);height:fit-content;max-height:100dvh;padding:24px;border:0;border-radius:24px 0 0 24px;background:#fafaf7;color:#000;overflow:auto;overscroll-behavior:contain;box-shadow:-12px 0 60px #0002}
.hph-drawer:not([open]){display:none}.hph-drawer[open]{display:flex;flex-direction:column;gap:32px;animation:hph-slide .2s ease-out}
.hph-drawer::backdrop{background:rgb(18 21 48 / 34%)}
.hph-drawer-brand{display:flex;align-items:center;justify-content:space-between;min-height:49px}.hph-drawer .hph-drawer-close{width:32px;height:32px}.hph-drawer-close .hph-icon{width:16px;height:16px;opacity:.6}
.hph-main-links{display:flex;flex-direction:column;gap:16px}.hph-main-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:20px;font-weight:600;line-height:24px}.hph-main-links .hph-icon{width:20px;height:16px;transform:scaleX(-1)}
.hph-drawer h2{font:500 18px/24px inherit;font-family:inherit;font-size:18px;font-weight:500;line-height:24px;margin:0 0 8px;color:#000}
.hph-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-left:10px}.hph-product-grid a{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:16px;background:#ededed;padding:8px;font-size:16px;font-weight:500;line-height:24px;min-height:61px}.hph-product-grid .hph-icon{width:50px;height:47px}.hph-product-grid a:nth-child(3) .hph-icon{height:51px;width:47px}
.hph-support h2{margin-bottom:20px}.hph-support nav{display:flex;flex-direction:column;gap:16px}.hph-support a{display:flex;align-items:center;gap:6px;font-weight:500;line-height:24px;width:fit-content}.hph-support .hph-icon{width:16px;height:17px}
.hph-replaced{display:none!important}body.hph-menu-open{overflow:hidden!important}
@keyframes hph-slide{from{transform:translateX(32px);opacity:0}to{transform:none;opacity:1}}
@media(min-width:768px){.admin-bar .hph-drawer{top:32px;max-height:calc(100dvh - 32px)}}
@media(max-width:1200px){.hph-bar{padding-inline:24px;gap:20px}.hph-brand{gap:16px}.hph-actions{gap:20px}.hph-root .hph-explore{padding-inline:16px}}
@media(max-width:1000px){.hph-root .hph-explore{display:none}.hph-bar{gap:24px}}
@media(max-width:767px){.hph-announcement{min-height:48px;padding:10px 48px;font-size:12px}.hph-announcement-inner{gap:8px;line-height:20px}.hph-truck{display:none}.hph-root .hph-dismiss{left:6px;top:2px}.hph-bar{display:grid;grid-template-columns:1fr auto;gap:12px;padding:12px 16px}.hph-brand{gap:14px}.hph-logo{width:123px;height:40px}.hph-root .hph-menu span{display:none}.hph-root .hph-menu{width:30px}.hph-search{grid-row:2;grid-column:1/-1;width:100%;max-width:none;min-width:0}.hph-actions{gap:16px}.hph-account span{display:none}.hph-root .psx-input{padding-right:15px!important}.hph-drawer .hph-logo{width:150px;height:49px}.hph-root .psx-search{padding:0}.hph-root .psx-search.is-open{padding:8px}.hph-root .psx-search.is-open .psx-search-frame::after{background:#fff}}
@media(prefers-reduced-motion:reduce){.hph-drawer[open]{animation:none}}
@media(max-width:767px){.hph-root .psx-search:not(.is-open):not(.is-mobile-stuck){width:100%;right:0;left:auto;background:transparent}}
@media(min-width:783px){.admin-bar .hph-root.psx-sticky-host{top:32px!important}}
@media(min-width:768px) and (max-width:782px){.admin-bar .hph-root.psx-sticky-host{top:46px!important}}
.hph-managed-search-space,.hph-managed-space[hidden]{display:none!important}
@media(max-width:767px){
 .hph-root.hph-mobile-managed.psx-sticky-host{position:relative!important;top:auto!important;animation:none!important;transform:none!important}
 .psx-header-space:has(~.hph-mobile-managed),.hph-mobile-managed .psx-mobile-sticky-placeholder{display:none!important}
 .hph-mobile-managed .hph-bar{padding:12px 0 0;row-gap:4px}
 .hph-mobile-managed .hph-brand{margin-right:16px}.hph-mobile-managed .hph-actions{margin-left:16px}
 .hph-root.hph-mobile-managed .hph-search{padding:8px 16px;background:#fafaf7;position:relative;width:100%;max-width:none;z-index:930}
 .hph-root.hph-mobile-managed .psx-search,.hph-root.hph-mobile-managed .psx-search.is-mobile-stuck,.hph-root.hph-mobile-managed.psx-mobile-header-visible .psx-search.is-mobile-stuck{position:relative!important;inset:auto!important;right:0!important;left:auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent;transform:none!important}
 .hph-root.hph-mobile-managed .psx-search-form,.hph-root.hph-mobile-managed .psx-search.is-open .psx-search-form{display:block!important;position:relative;margin:0!important}
 .hph-root.hph-mobile-managed .psx-search-frame{width:100%!important;height:55px!important;min-height:55px!important}
 .hph-root.hph-mobile-managed .psx-mobile-close{display:none!important}
 .hph-root.hph-mobile-managed .psx-panel{right:0;left:0;padding-top:56px}
 .hph-search [data-hph-search-close]{display:none;position:absolute;left:12px;top:calc(100% + 10px);padding:4px 12px;border:0;border-radius:8px;background:#ededed;color:#484848;z-index:1000;min-height:32px;font-family:inherit}
 .hph-search:has(.psx-search.is-open) [data-hph-search-close]{display:block}
}
@media(min-width:768px){[data-hph-search-close]{display:none}}

/* Figma section header — revision 3 */
@media(min-width:1201px){.hph-bar{gap:37px}}
@media(min-width:768px){.hph-bar{height:auto;min-height:87px;padding-block:16px}}
@media(max-width:767px){
 .hph-root.hph-mobile-managed{position:relative!important;top:auto!important;transform:none!important;animation:none!important;overflow:visible}
 .hph-mobile-managed .hph-announcement{position:relative;z-index:1}
 .hph-mobile-managed .hph-bar{display:grid;grid-template-columns:1fr auto;grid-template-rows:52px 71px;align-items:center;gap:0 12px;padding:4px 0 0;background:#fafaf7;overflow:visible}
 .hph-mobile-managed .hph-brand{margin-right:16px}.hph-mobile-managed .hph-actions{margin-left:16px}
 .hph-mobile-managed .hph-search{grid-column:1/-1;grid-row:2;padding:8px 16px;background:#fafaf7;position:relative!important;inset:auto!important;width:100%;max-width:none;opacity:1;transform:translateY(0);visibility:visible;transition:opacity .36s ease,transform .36s cubic-bezier(.2,.72,.22,1),visibility 0s linear 0s;box-shadow:none}
 .hph-mobile-managed .hph-bar-space[hidden]{display:none!important}.hph-mobile-managed .hph-bar-space:not([hidden]){display:block;height:var(--hph-bar-flow-height,127px);pointer-events:none}
 .hph-mobile-managed[data-hph-scroll=compact] .hph-bar,.hph-mobile-managed[data-hph-scroll=expanded] .hph-bar{position:fixed!important;top:var(--hph-admin-top,0px)!important;right:0;left:0;width:100%;height:127px;grid-template-rows:52px 71px;z-index:940;box-shadow:0 4px 16px rgb(0 0 0 / 7%);transition:transform .42s cubic-bezier(.2,.72,.22,1),box-shadow .36s ease;will-change:transform}
 .hph-mobile-managed[data-hph-scroll=compact] .hph-bar{transform:translateY(-56px)}
 .hph-mobile-managed[data-hph-scroll=expanded] .hph-bar{transform:translateY(0)}
 .hph-mobile-managed[data-hph-scroll=compact] .hph-search,.hph-mobile-managed[data-hph-scroll=expanded] .hph-search{opacity:1;transform:none;visibility:visible;pointer-events:auto}
 .hph-root.hph-mobile-managed .psx-input{padding-right:14px!important;padding-left:52px!important}
 .hph-root.hph-mobile-managed .psx-submit{left:4px!important;width:44px!important;height:44px!important}
 .hph-root.hph-mobile-managed .psx-clear{left:40px!important;width:36px!important}
 .hph-root.hph-mobile-managed .psx-search.has-value .psx-input{padding-left:80px!important}
 .hph-root.hph-mobile-managed .psx-search,.hph-root.hph-mobile-managed .psx-search.is-mobile-stuck,.hph-root.hph-mobile-managed.psx-mobile-header-visible .psx-search.is-mobile-stuck{position:relative!important;inset:auto!important;right:0!important;left:auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent;transform:none!important}
 .hph-root.hph-mobile-managed .psx-search-form{display:block!important;position:relative;margin:0!important;transition:width .28s cubic-bezier(.2,.72,.22,1)}
 .hph-root.hph-mobile-managed .psx-search.is-open .psx-search-form{display:flex!important;align-items:stretch;gap:8px;direction:rtl}
 .hph-root.hph-mobile-managed .psx-search.is-open .psx-mobile-close{display:grid!important;flex:0 0 55px!important;width:55px!important;height:55px!important;opacity:1;transform:scale(1);animation:hph-search-close-in .28s cubic-bezier(.2,.8,.2,1) both}
 .hph-root.hph-mobile-managed .psx-search-frame{width:100%!important;height:55px!important;min-height:55px!important;border-radius:15px}.hph-root.hph-mobile-managed .psx-search-frame::after{border-radius:13px;background:#fff}
 .hph-root.hph-mobile-managed .psx-panel{top:calc(100% + 8px);right:0;left:0;padding-top:18px}
 .hph-search [data-hph-search-close]{display:none!important}
 @keyframes hph-search-close-in{from{opacity:0;transform:scale(.75) rotate(-12deg)}to{opacity:1;transform:scale(1) rotate(0)}}
}
@media(max-width:767px) and (prefers-reduced-motion:reduce){.hph-mobile-managed .hph-bar,.hph-mobile-managed .hph-search,.hph-mobile-managed[data-hph-scroll] .hph-search,.hph-root.hph-mobile-managed .psx-search-form,.hph-root.hph-mobile-managed .psx-search.is-open .psx-mobile-close{transition:none!important;animation:none!important}}

/* حرکت فقط برای بازگشت ردیف اصلی موبایل است. */
@media(max-width:767px){
 .hph-mobile-managed[data-hph-scroll=compact] .hph-bar{transition:box-shadow .36s ease!important}
 .hph-mobile-managed[data-hph-scroll=expanded] .hph-bar{transition:transform .42s cubic-bezier(.2,.72,.22,1),box-shadow .36s ease!important}
}
