/* home-pull v1 — directive home page (fa en zh ru de ar): motion hero (uses shop-hero.css), group banners with
   top picks and a clear "see all" path, process steps, closing photo band with call / WhatsApp. */

/* ---------- hero extras ---------- */
html .az-home-hero .az-h1s{margin:8px 0 13px}
html .az-home-hero .az-hero-lede{max-width:560px;font-size:15px;line-height:1.95;color:rgba(235,246,246,.76)}
html .az-home-hero .az-btns{display:flex;flex-wrap:wrap;gap:13px;margin-top:26px}
html .az-home-vals{display:flex;flex-wrap:wrap;gap:8px 18px;margin:26px 0 0;padding:0;list-style:none;max-width:560px}
html .az-home-vals li{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:rgba(235,246,246,.82)}
html .az-home-vals li:before{content:"";flex:none;width:15px;height:15px;background:#20beb8;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat}
html .az-home-hero .az-shp-kpis dd[data-static]{font-size:40px}

/* ---------- group banners: the group's own photo, dark side for the text, the way in made obvious ---------- */
html .az-shp--home .az-shp-sec{margin-bottom:34px}
html .az-shp--home .az-shp-head{position:relative;isolation:isolate;overflow:hidden;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:21px 34px;min-height:300px;padding:34px;margin-bottom:13px;background:#081316;border:0;border-radius:13px;box-shadow:0 21px 34px -26px rgba(8,19,22,.8)}
html .az-shp--home .az-shp-head>img{display:none}
html .az-shp-head-bg{position:absolute;inset:0;z-index:-2;display:block}
html .az-shp-head-bg img{position:absolute;top:0;inset-inline-end:0;width:62%;height:100%;object-fit:cover;object-position:50% 35%;filter:saturate(1.06) contrast(1.05);transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
html .az-shp--home .az-shp-head:hover .az-shp-head-bg img{transform:scale(1.04)}
html .az-shp--home .az-shp-head:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to left,#081316 0%,#081316 36%,rgba(8,19,22,.86) 50%,rgba(8,19,22,.25) 72%,rgba(8,19,22,.08) 100%),linear-gradient(to top,rgba(0,148,148,.2),rgba(0,148,148,0) 45%)}
html[dir=ltr] .az-shp--home .az-shp-head:before{background:linear-gradient(to right,#081316 0%,#081316 36%,rgba(8,19,22,.86) 50%,rgba(8,19,22,.25) 72%,rgba(8,19,22,.08) 100%),linear-gradient(to top,rgba(0,148,148,.2),rgba(0,148,148,0) 45%)}
html .az-shp--home .az-shp-head:after{content:"";position:absolute;top:0;inset-inline-start:0;width:89px;height:3px;background:#20beb8}
html .az-shp--home .az-shp-head-t{max-width:560px}
html .az-shp--home .az-shp-tag{color:#20beb8}
html .az-shp--home .az-shp-head h2{color:#fff;font-size:30px;margin:5px 0 8px}
html .az-shp--home .az-shp-head p{color:rgba(235,246,246,.74);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html .az-shp--home .az-shp-meta li{background:rgba(255,255,255,.06);border-color:rgba(210,232,232,.2);color:rgba(235,246,246,.85)}
html .az-shp--home .az-shp-meta li.pr{background:rgba(32,190,184,.16);border-color:rgba(32,190,184,.5);color:#7fe3df}
html .az-shp--home .az-shp-head{grid-template-columns:minmax(0,1fr)}
html .az-shp--home .az-shp-btns{grid-column:1;flex-direction:row;flex-wrap:wrap;justify-self:start;min-width:0}
html .az-shp--home .az-shp-btns .az-btn{min-height:48px}
html .az-shp--home .az-shp-btns .az-btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
html .az-shp--home .az-shp-btns .az-btn--ghost:hover{border-color:#20beb8;color:#20beb8}
/* top picks: the first six families; the rest one click away (opens for tabs and search) */
html .az-shp--home:not(.is-searching) .az-shp-sec.is-capped .az-shp-fam.az-more{display:none}
html .az-shp-morebar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:13px 21px;margin:13px 0 0;padding:13px 13px 13px 21px;border:1px solid rgba(0,148,148,.28);border-radius:13px;background:linear-gradient(90deg,rgba(0,148,148,.08),rgba(0,148,148,0))}
html[dir=rtl] .az-shp-morebar{padding:13px 21px 13px 13px;background:linear-gradient(270deg,rgba(0,148,148,.08),rgba(0,148,148,0))}
html .az-shp-morebar .az-btn{min-height:48px;gap:8px}
html .az-shp-morebar .az-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
html[dir=rtl] .az-shp-morebar .az-btn svg{transform:scaleX(-1)}
html .az-shp-morein{margin:0;padding:8px 0;border:0;background:none;color:var(--az-teal-dark,#007a7a);font:inherit;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:5px;cursor:pointer}
html .az-shp-morein:focus-visible{outline:2px solid #009494;outline-offset:3px;border-radius:4px}
html .az-shp--home.is-searching .az-shp-morebar{display:none}
@media (max-width:1100px){html .az-shp--home .az-shp-head{grid-template-columns:minmax(0,1fr);min-height:340px}html .az-shp--home .az-shp-btns{flex-direction:row;flex-wrap:wrap}}
@media (max-width:700px){
 html .az-shp--home .az-shp-head{padding:21px;padding-top:170px;min-height:0}
 html .az-shp-head-bg img{width:100%;height:230px}
 html .az-shp--home .az-shp-head:before,html[dir=ltr] .az-shp--home .az-shp-head:before{background:linear-gradient(to top,#081316 0%,#081316 52%,rgba(8,19,22,.55) 72%,rgba(8,19,22,.1) 100%)}
 html .az-shp--home .az-shp-head h2{font-size:22px}
 html .az-shp-morebar{flex-direction:column;align-items:stretch;padding:13px}
 html .az-shp-morebar .az-btn{justify-content:center}
}

/* ---------- from code to order: a visible path of four steps ---------- */
html .az-home .az-shp-flow{background:linear-gradient(180deg,#f3f7f7 0,#fff 100%)}
html .az-home .az-shp-steps{gap:21px;border:0;margin-bottom:34px}
html .az-home .az-shp-steps li{padding:26px 21px 21px;border:0;border-top:2px solid rgba(0,148,148,.22);border-radius:0;background:transparent}
html .az-home .az-shp-steps li:before{content:"";position:absolute;top:-2px;inset-inline-start:0;width:55px;height:2px;background:#009494}
html .az-home .az-shp-steps li:after{content:"";position:absolute;top:-6px;inset-inline-start:55px;width:10px;height:10px;border-radius:50%;background:#20beb8;box-shadow:0 0 0 4px rgba(32,190,184,.18)}
html .az-home .az-shp-sn{font-family:Vazirmatn,var(--az-latin);font-size:55px;color:transparent;-webkit-text-stroke:1.3px #009494;margin-bottom:8px}
html .az-home .az-shp-steps b{font-size:18px}
@media (max-width:900px){html .az-home .az-shp-steps li{border-inline-start:0!important}}

/* ---------- closing band: product photo, dark side for the offer, call and WhatsApp ---------- */
html .az-band--x{position:relative;isolation:isolate;overflow:hidden;min-height:420px;display:flex;align-items:center;padding:89px 0;background:#081316}
html .az-band--x .az-band-media{position:absolute;inset:0;z-index:-2;background:#fff;overflow:hidden}
html .az-band--x .az-band-media img{position:absolute;top:0;inset-inline-end:0;width:calc(50% + 140px);height:100%;object-fit:cover;object-position:50% 45%}
html .az-band--x .az-band-media:after{content:"";position:absolute;inset:0;mix-blend-mode:multiply;background:linear-gradient(to left,#081316 0,#081316 calc(50% - 40px),#3d5055 calc(50% + 60px),#b3c1c4 calc(50% + 220px),#e9eef0 100%)}
html[dir=ltr] .az-band--x .az-band-media:after{background:linear-gradient(to right,#081316 0,#081316 calc(50% - 40px),#3d5055 calc(50% + 60px),#b3c1c4 calc(50% + 220px),#e9eef0 100%)}
html .az-band--x:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(to bottom,rgba(8,19,22,.55),rgba(8,19,22,0) 30%,rgba(8,19,22,0) 70%,rgba(8,19,22,.6)),radial-gradient(ellipse 40% 60% at 80% 50%,rgba(0,148,148,.22),transparent 70%)}
html[dir=ltr] .az-band--x:before{background:linear-gradient(to bottom,rgba(8,19,22,.55),rgba(8,19,22,0) 30%,rgba(8,19,22,0) 70%,rgba(8,19,22,.6)),radial-gradient(ellipse 40% 60% at 20% 50%,rgba(0,148,148,.22),transparent 70%)}
html .az-band--x .az-band-inner{flex-direction:column;align-items:flex-start;justify-content:center;gap:26px}
html .az-band--x .az-band-inner>div:first-child{max-width:520px}
html .az-band--x h2{font-size:34px;line-height:1.35;font-weight:800;color:#fff}
html .az-band--x p{color:rgba(235,246,246,.78)}
html .az-band--x .az-btns{display:flex;flex-wrap:wrap;gap:13px}
html .az-band--x .az-btns .az-btn{min-height:52px}
html .az-band--x .az-btn--wa{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.4)}
html .az-band--x .az-btn--wa:hover{border-color:#25d366;color:#25d366}
@media (max-width:900px){
 html .az-band--x{padding:0 0 55px;flex-direction:column;align-items:stretch}
 html .az-band--x .az-band-media{position:relative;inset:auto;height:300px;z-index:-2}
 html .az-band--x .az-band-media img{width:100%}
 html .az-band--x .az-band-media:after,html[dir=ltr] .az-band--x .az-band-media:after{background:linear-gradient(to top,#081316 0,#3d5055 30%,#dfe6e8 100%)}
 html .az-band--x h2{font-size:26px}
}
/* home hero figures: founded / groups / families / codes get their own icons */
html .az-home-hero .az-shp-kpis div:nth-child(1){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E")}
html .az-home-hero .az-shp-kpis div:nth-child(2){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3 8l9 5 9-5-9-5Z'/%3E%3Cpath d='m3 13 9 5 9-5'/%3E%3Cpath d='m3 17.5 9 5 9-5' opacity='.5'/%3E%3C/svg%3E")}
html .az-home-hero .az-shp-kpis div:nth-child(3){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E")}
html .az-home-hero .az-shp-kpis div:nth-child(4){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 5v14M7.5 5v14M11 5v14M13.5 5v14M17 5v14M20 5v14'/%3E%3C/svg%3E")}

/* v2 (3 Dec): group banners show the WHOLE product — own crop per group (_build/group_banners.py),
   natural aspect, anchored to the outer edge, faded on the inner edge into the dark tone. */
html .az-shp--home .az-shp-head-bg img{width:auto;max-width:60%;height:100%;object-fit:cover;object-position:50% 50%;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 30%);mask-image:linear-gradient(to right,transparent 0,#000 30%)}
html[dir=rtl] .az-shp--home .az-shp-head-bg img{-webkit-mask-image:linear-gradient(to left,transparent 0,#000 30%);mask-image:linear-gradient(to left,transparent 0,#000 30%)}
html .az-shp--home .az-shp-head:hover .az-shp-head-bg img{transform:scale(1.025)}
html .az-shp--home .az-shp-head>picture:not(.az-shp-head-bg){display:none}
html .az-shp--home .az-shp-head:before{background:linear-gradient(to left,#081316 0%,#081316 40%,rgba(8,19,22,.62) 52%,rgba(8,19,22,.1) 68%,rgba(8,19,22,0) 100%),linear-gradient(to top,rgba(0,148,148,.16),rgba(0,148,148,0) 40%)}
html[dir=ltr] .az-shp--home .az-shp-head:before{background:linear-gradient(to right,#081316 0%,#081316 40%,rgba(8,19,22,.62) 52%,rgba(8,19,22,.1) 68%,rgba(8,19,22,0) 100%),linear-gradient(to top,rgba(0,148,148,.16),rgba(0,148,148,0) 40%)}
@media (max-width:700px){
 html .az-shp--home .az-shp-head-bg img{width:100%;max-width:none;height:230px;object-fit:contain;-webkit-mask-image:linear-gradient(to bottom,#000 72%,transparent);mask-image:linear-gradient(to bottom,#000 72%,transparent)}
 html .az-shp--home .az-shp-head:before,html[dir=ltr] .az-shp--home .az-shp-head:before{background:linear-gradient(to top,#081316 0%,#081316 50%,rgba(8,19,22,.35) 68%,rgba(8,19,22,0) 100%)}
}

/* v3 (3 Dec): keep the copy off the product — copy column ends before the photo's solid part (desktop/tablet). */
@media (min-width:701px){
 html .az-shp--home .az-shp-head-t{max-width:min(560px,57%)}
 html .az-shp--home .az-shp-head-bg img{max-width:52%}
}
