/* اصلاح یکپارچهٔ موبایل؛ فقط پوستهٔ فروشگاه، بدون تغییر مسیر یا دادهٔ خرید. */
:root{--ht-orbit-colors:transparent 0deg,transparent 235deg,var(--ht-blue) 272deg,var(--ht-red) 303deg,var(--ht-red) 321deg,transparent 350deg}
body.ht-storefront :is(.ht7-main,.ht6-header){font-family:Vazirmatn,Tahoma,sans-serif!important}
body.ht-storefront :is(.ht7-main,.ht6-header) :is(h1,h2,h3,p,a,button,input,span,b,strong,small){font-family:inherit!important}
body.ht-storefront .ht8-header-shell::before,
body.ht-storefront .ht7-slides::after,
body.ht-storefront .ht7-section:has(.ht8-rail-shell)::before,
body.ht-storefront:is(.woocommerce-shop,.tax-product_cat) :is(.wd-content-area.site-content,.sidebar-container)::before{padding:2px!important;opacity:1!important;background:conic-gradient(from var(--ht-orbit),var(--ht-orbit-colors))!important}
body.ht-storefront .ht7-section:has(.ht8-rail-shell)::before{animation-duration:10s!important}
body.ht-storefront .ht8-header-shell::before,body.ht-storefront .ht7-slides::after{animation-duration:10s!important}
body.ht-storefront:is(.woocommerce-shop,.tax-product_cat) :is(.wd-content-area.site-content,.sidebar-container)::before{animation-duration:10s!important}
.ht11-mega-brands{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 18px;border-top:1px solid var(--ht-border);font-size:12px}
.ht11-mega-brands strong{font-size:12px;margin-inline-end:8px;color:var(--ht-dim)}
.ht11-mega-brands a{display:flex;align-items:center;min-height:36px;padding:6px 12px;border:1px solid var(--ht-border);border-radius:9px;color:var(--ht-text);background:var(--ht-surface)}
.ht11-menu-brands{border-block:1px solid var(--ht-border)}
.ht11-menu-brands>div{display:flex;flex-wrap:wrap;gap:8px;padding:4px 8px 14px}
.ht11-menu-brands>div a{display:flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--ht-border);border-radius:10px;color:var(--ht-blue-ink);font-size:13px}
@media(min-width:721px){
 body.ht-storefront .ht7-main .ht7-systems{padding:18px!important;margin-top:26px!important}
 body.ht-storefront .ht7-main .ht7-systems .ht7-section-head{margin-bottom:14px!important}
 body.ht-storefront .ht7-main .ht7-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
 body.ht-storefront .ht7-main .ht7-system{display:flex!important;min-width:0;min-height:230px!important;align-items:center}
 body.ht-storefront .ht7-main .ht7-system>div{width:70%!important;min-width:0;padding:20px!important}
 body.ht-storefront .ht7-main .ht7-system h3{font-size:21px!important;line-height:1.6;max-width:20em;margin:8px 0!important}
 body.ht-storefront .ht7-main .ht7-system p{font-size:12px!important;line-height:1.9;margin:0!important;max-width:34em}
 body.ht-storefront .ht7-main .ht7-system .ht7-button{min-height:36px!important;font-size:11px!important;margin-top:12px!important;padding:8px 12px!important}
 body.ht-storefront .ht7-main .ht7-section{padding:16px!important;margin-top:22px!important}
 body.ht-storefront .ht7-main .ht7-section-head{margin-bottom:12px!important;align-items:center;min-height:38px}
 body.ht-storefront .ht7-main .ht7-section-head>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 16px}
 body.ht-storefront .ht7-main .ht7-section-head h2{font-size:20px!important;line-height:1.5;margin:0!important}
 body.ht-storefront .ht7-main .ht7-section-head p{font-size:11px!important;margin:0!important}
 body.ht-storefront .ht7-main .ht7-section-head .ht7-text-link{min-height:34px;font-size:11px;padding:6px 12px}
 body.ht-storefront .ht7-main .ht7-product-image{height:158px!important;aspect-ratio:auto!important;padding:8px!important}
 body.ht-storefront .ht7-main .ht7-product-image img{width:100%;height:100%;max-height:142px!important;object-fit:contain!important}
 body.ht-storefront .ht7-main .ht7-product h3{font-size:12px!important;line-height:1.7;margin:8px 10px!important;min-height:41px!important}
 body.ht-storefront .ht7-main .ht7-product-price{min-height:40px!important;font-size:14px!important;margin:0 10px 8px!important;padding-top:7px!important;gap:2px!important}
 body.ht-storefront .ht7-main .ht7-product-price del{font-size:10px!important}
 body.ht-storefront .ht7-main .ht7-product-action{min-height:36px!important;font-size:10px!important;padding:6px!important;margin:0 8px 8px!important}
 body.ht-storefront .ht7-main .ht7-badge{font-size:9px!important;padding:4px 7px!important}
}
@media(max-width:720px){
 html{scroll-padding-top:118px;scroll-padding-bottom:96px}
 body.ht-storefront{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}
 body.ht-storefront .ht6-header{backdrop-filter:none;background:var(--ht-bg);padding-bottom:0!important}
 body.ht-storefront .ht7-topbar .ht6-container{min-height:30px;height:auto;padding-block:2px;gap:6px}
 body.ht-storefront .ht7-topbar .ht6-container>span{display:block!important;font-size:10px;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.ht-storefront .ht7-topbar nav>a{display:none!important}
 body.ht-storefront .ht7-topbar nav{gap:0;width:auto!important;min-width:0!important;flex:0 0 auto!important}
 body.ht-storefront .ht8-theme-switch{min-height:32px;padding:2px 4px;font-size:10px}
 body.ht-storefront .ht8-header-shell{margin-block:4px 8px!important;border-radius:20px}
 body.ht-storefront .ht6-header-main{height:66px!important;gap:8px;padding-inline:12px!important}
 body.ht-storefront .ht6-brand{gap:7px;min-width:0;order:-1;flex:1;justify-content:center}
 body.ht-storefront .ht6-brand-mark,body.ht-storefront .ht6-brand-mark img{width:34px!important;height:44px!important;min-width:34px}
 body.ht-storefront .ht6-brand-copy{display:block!important}
 body.ht-storefront .ht6-brand-copy b{display:block;font-size:17px!important;white-space:nowrap}
 body.ht-storefront .ht6-brand-copy small{display:block;font-size:6px!important;letter-spacing:1px}
 body.ht-storefront .ht6-actions{display:contents!important}
 body.ht-storefront .ht6-actions .ht6-burger{order:-2!important}
 body.ht-storefront .ht6-actions .ht6-mobile-search{order:1}
 body.ht-storefront .ht6-actions .ht6-cart{order:2}
 body.ht-storefront .ht6-actions :is(.ht6-icon-btn,.ht6-action){width:44px!important;height:44px!important;min-width:44px;padding:10px!important;border-radius:13px}
 body.ht-storefront .ht6-actions .ht6-account,body.ht-storefront .ht7-desktop-shortcut{display:none!important}
 body.ht-storefront .ht6-mobile-bar{inset-inline:10px;bottom:calc(8px + env(safe-area-inset-bottom,0px));width:auto!important;height:64px;padding:5px!important;border:1px solid var(--ht-border-2);border-radius:22px;background:var(--ht-surface);box-shadow:var(--ht-shadow);backdrop-filter:none}
 body.ht-storefront .ht6-mobile-bar>a,body.ht-storefront .ht6-mobile-bar>button{min-height:52px;min-width:0;border-radius:16px!important;gap:2px;font-size:10px}
 body.ht-storefront .ht6-mobile-bar .ht6-icon{width:21px;height:21px}
 body.ht-storefront .ht6-mobile-bar>a,body.ht-storefront .ht6-mobile-bar>button{position:relative;isolation:isolate;overflow:visible;color:var(--ht-dim)!important;background:transparent!important;border:0!important;transition:transform .16s ease,color .2s ease}
 body.ht-storefront .ht6-mobile-bar>* .ht6-icon{width:23px;height:23px;stroke-width:1.65;filter:none;transition:transform .2s ease;color:var(--ht-blue-soft)}
 body.ht-storefront .ht6-mobile-bar>* span{font-size:10px;font-weight:650;line-height:1.6}
 body.ht-storefront .ht6-mobile-bar>*[aria-current=page]{background:color-mix(in srgb,var(--ht-blue) 12%,transparent)!important;color:var(--ht-blue-ink)!important;box-shadow:none}
 body.ht-storefront .ht6-mobile-bar>*[aria-current=page] .ht6-icon{color:var(--ht-blue-ink);filter:drop-shadow(0 2px 5px color-mix(in srgb,var(--ht-blue) 30%,transparent))}
 body.ht-storefront .ht6-mobile-bar>*[aria-current=page]::after{content:"";position:absolute;bottom:1px;inset-inline:32%;height:2px;border-radius:4px;background:linear-gradient(90deg,var(--ht-blue),var(--ht-red));box-shadow:0 1px 6px color-mix(in srgb,var(--ht-red) 28%,transparent)}
 body.ht-storefront .ht6-mobile-bar>*:active{transform:scale(.93)}
 body.ht-storefront .ht6-mobile-bar>*:active .ht6-icon{transform:translateY(-2px)}
 body.ht-storefront .ht6-mobile-bar>*:focus-visible{outline:2px solid var(--ht-blue-ink);outline-offset:2px}
 body.ht-storefront .ht6-drawer-panel{width:min(390px,calc(100vw - 16px));height:100dvh;padding:16px 18px calc(24px + env(safe-area-inset-bottom,0px));overscroll-behavior:contain;scrollbar-gutter:stable;border-radius:22px 0 0 22px}
 body.ht-storefront .ht6-drawer-panel>*{flex-shrink:0}
 body.ht-storefront .ht6-drawer-head{margin-bottom:12px;min-height:44px}
 body.ht-storefront .ht6-drawer-head button{width:44px;height:44px;border-radius:12px}
 body.ht-storefront .ht6-drawer-panel>.ht6-search{flex-basis:50px;height:50px;margin-bottom:12px}
 body.ht-storefront .ht6-drawer input[type=search]{min-width:0;font-size:16px!important;border:0!important;background:transparent!important;box-shadow:none!important}
 body.ht-storefront .ht6-drawer-panel>a,body.ht-storefront .ht6-drawer-sub a,body.ht-storefront .ht7-drawer-child>a{display:flex;align-items:center;min-height:44px;padding:9px 12px;font-size:14px;line-height:1.7}
 body.ht-storefront .ht6-drawer summary{min-height:48px;font-size:14px;padding:9px 12px}
 body.ht-storefront .ht6-drawer-term[open]>summary{color:var(--ht-blue-ink);border-bottom:1px solid var(--ht-border)}
 body.ht-storefront .ht6-drawer-phone{direction:rtl!important;flex-wrap:wrap}
 body.ht-storefront .ht6-drawer[data-search-mode=true] .ht6-drawer-panel>a,body.ht-storefront .ht6-drawer[data-search-mode=true] .ht6-drawer-mega{display:none}
 body.ht-storefront .ht6-drawer[data-search-mode=true] .ht6-search-results.is-open{position:static!important;margin-top:10px;max-height:calc(100dvh - 170px);overflow-y:auto;box-shadow:none}
 body.ht-storefront .ht6-drawer[data-search-mode=true] .ht6-search{flex-wrap:wrap;overflow:visible}
 body.ht-storefront .ht6-drawer[data-search-mode=true] .ht6-search-results{flex-basis:100%}
 body.ht-storefront .ht6-cart-panel{height:100dvh!important;max-height:100dvh!important;width:min(410px,calc(100vw - 16px));padding-bottom:env(safe-area-inset-bottom,0px);overscroll-behavior:contain}
 body.ht-storefront .ht6-cart-drawer-items.is-empty{display:flex;align-items:center;justify-content:center}
 body.ht-storefront .ht6-cart-empty{padding:30px 12px!important;margin:0!important}
 body.ht-storefront .ht6-cart-drawer-footer{padding:12px 16px 16px!important}
 body.ht-storefront .ht7-main .ht7-hero{margin-top:8px}
 body.ht-storefront .ht7-main .ht7-hero .ht7-slide{height:auto!important;min-height:510px!important;padding-top:175px!important}
 body.ht-storefront .ht7-main .ht7-hero .ht7-hero-media{height:200px!important}
 body.ht-storefront .ht7-main .ht7-hero .ht7-hero-copy{padding:12px 20px 62px!important}
 body.ht-storefront .ht7-main .ht7-hero .ht7-hero-copy :is(h1,h2){font-size:24px!important;line-height:1.7;letter-spacing:-.5px}
 body.ht-storefront .ht7-main .ht7-hero .ht7-hero-copy p{font-size:13px!important;line-height:2}
 body.ht-storefront .ht7-main .ht7-hero-actions{gap:12px!important}
 body.ht-storefront .ht7-main .ht7-secondary-link{min-height:44px;display:inline-flex;align-items:center;font-size:11px!important}
 body.ht-storefront .ht7-slider-controls>button{width:44px!important;height:44px!important;top:88px!important}
 body.ht-storefront .ht7-slider-dots button{min-width:26px;min-height:24px;background-clip:content-box;padding:8px!important}
 body.ht-storefront .ht7-main .ht7-system-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 body.ht-storefront .ht7-main .ht7-system{display:flex!important;min-width:0;min-height:260px!important;width:100%;align-items:flex-end}
 body.ht-storefront .ht7-main .ht7-system>div{width:100%!important;min-width:0;padding:24px!important}
 body.ht-storefront .ht7-main .ht7-system h3{font-size:25px!important;max-width:15em;line-height:1.6}
 body.ht-storefront .ht7-main .ht7-system p{font-size:13px;max-width:32em}
 body.ht-storefront .ht7-main .ht7-system .ht7-button{font-size:12px;min-height:44px;margin-top:12px}
 body.ht-storefront .ht7-main .ht7-faq{grid-template-columns:minmax(0,1fr)!important;padding:20px 16px!important;gap:18px!important}
 body.ht-storefront .ht7-main .ht8-faq-intro img{display:none}
 body.ht-storefront .ht7-main .ht7-faq h2{font-size:23px;line-height:1.7}
 body.ht-storefront .ht7-main .ht7-faq summary{font-size:14px!important;min-height:52px;padding:15px 12px!important}
 body.ht-storefront .ht7-main .ht7-faq details p{font-size:14px;line-height:2;padding:0 12px 15px}
 body.ht-storefront .ht7-main .ht7-section{padding:18px 12px!important;margin-top:24px!important}
 body.ht-storefront .ht7-main .ht7-section-head{gap:10px;margin-bottom:16px}
 body.ht-storefront .ht7-main .ht7-section-head h2{font-size:20px!important}
 body.ht-storefront .ht7-main .ht7-text-link{font-size:11px!important;min-height:40px;max-width:110px;text-align:center}
 body.ht-storefront .ht7-main .ht7-product-grid{grid-auto-columns:calc((100% - 10px)/2)!important;gap:10px}
 body.ht-storefront .ht7-main .ht7-product h3{font-size:12px!important;line-height:1.9;margin-inline:10px}
 body.ht-storefront .ht7-main .ht7-product-action{min-height:44px!important;font-size:11px!important;margin-inline:8px;gap:4px}
 body.ht-storefront .ht7-main .ht7-rail-controls>button{min-width:40px!important;min-height:44px!important}
 body.ht-storefront .ht7-main .ht7-build{padding:24px 18px!important;gap:18px!important}
 body.ht-storefront .ht7-main .ht7-build h2{font-size:25px!important}
 body.ht-storefront .ht7-footer{margin-top:28px!important}
 body.ht-storefront .ht7-footer .ht7-footer-cta{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:24px 0!important}
 body.ht-storefront .ht7-footer .ht7-footer-cta h2{font-size:21px!important;line-height:1.7}
 body.ht-storefront .ht7-footer .ht7-footer-cta p{font-size:13px;line-height:2}
 body.ht-storefront .ht7-footer .ht7-footer-cta>a{min-height:46px;justify-content:center;align-self:flex-start}
 body.ht-storefront .ht7-footer .ht7-footer-main{gap:22px 14px!important;padding-block:22px!important}
 body.ht-storefront .ht7-footer .ht7-footer-about p{font-size:13px!important;line-height:2!important}
 body.ht-storefront .ht7-footer .ht7-footer-main nav a{min-height:44px!important;display:flex;align-items:center;font-size:13px!important}
 body.ht-storefront .ht7-footer .ht7-footer-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
 body.ht-storefront .ht7-footer .ht7-footer-contact h2,body.ht-storefront .ht7-footer .ht7-footer-contact>a:last-child{grid-column:1/-1}
 body.ht-storefront .ht7-footer .ht7-contact-card{min-height:62px;margin:0;padding:8px 0;min-width:0;gap:6px}
 body.ht-storefront .ht7-footer .ht7-contact-card strong{font-size:12px!important;overflow-wrap:anywhere}
 body.ht-storefront .ht7-footer .ht7-contact-card small{font-size:11px!important}
 body.ht-storefront .ht7-footer .ht7-contact-card[href^=mailto]{grid-column:1/-1}
 body.ht-storefront .ht7-footer .ht7-footer-contact>a:last-child{font-size:13px!important;min-height:44px;display:flex;align-items:center}
 body.ht-storefront .ht7-footer .ht9-trust-slots{display:flex;flex-wrap:wrap;gap:12px}
 body.ht-storefront .ht7-footer div.ht9-trust-slot:not(.is-configured){display:none}
 body.ht-storefront .ht7-footer .ht9-enamad{display:flex;width:118px!important;flex:none!important;min-height:145px!important;align-items:center}
 body.ht-storefront .ht7-footer .ht7-footer-bottom{display:flex;flex-direction:column;align-items:stretch;gap:14px;font-size:12px!important;padding-block:18px!important}
 body.ht-storefront .ht7-footer .ht7-to-top{min-height:44px;align-self:flex-start}
 body.ht-storefront :is(button,a,input,summary):focus-visible{outline:2px solid var(--ht-blue-ink);outline-offset:3px}
 body.ht-storefront input:not([type=checkbox]):not([type=radio]),body.ht-storefront select,body.ht-storefront textarea{font-size:16px}
}
@media(max-width:359px){body.ht-storefront .ht6-brand-copy{display:none!important}body.ht-storefront .ht7-main .ht7-product-grid{grid-auto-columns:72%!important}}
@keyframes ht-mobile-nav-sheen{0%,68%{transform:translateX(-70%)}90%,100%{transform:translateX(70%)}}
@media(prefers-reduced-motion:reduce){body.ht-storefront .ht6-mobile-bar>*::after{animation:none!important}body.ht-storefront .ht6-mobile-bar>*,body.ht-storefront .ht6-mobile-bar>* .ht6-icon{transition:none!important}}
