/* Self-hosted Vazirmatn: fonts.googleapis.com is not reliably reachable from Iran.
   On failure the page fell back to a system font and Persian text rendered wrong. */
@font-face{font-family:Vazirmatn;src:url(/assets/fonts/Vazirmatn-var.woff2) format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--red:#d9272e;--red-dark:#a91720;--ink:#172b33;--muted:#60737a;--teal:#155f63;--teal-soft:#dcebec;--bluegray:#e9eff1;--paper:#f7f9f9;--white:#fff;--line:#dce4e6;--shadow:0 18px 50px rgba(25,52,58,.09);--r-sm:12px;--r:20px;--r-lg:30px;--s1:.5rem;--s2:.75rem;--s3:1rem;--s4:1.5rem;--s5:2rem;--s6:3rem;--s7:4.5rem;--shell:min(1180px,calc(100% - 40px))}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Vazirmatn,Tahoma,sans-serif;font-size:16px;line-height:1.75}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shell{width:var(--shell);margin-inline:auto}.skip{position:fixed;inset-block-start:-80px;inset-inline-start:1rem;z-index:100;background:var(--ink);color:#fff;padding:.7rem 1rem;border-radius:8px}.skip:focus{inset-block-start:1rem}:focus-visible{outline:3px solid #17858b;outline-offset:3px}.eyebrow{display:inline-flex;align-items:center;gap:var(--s2);font-size:.79rem;font-weight:800;letter-spacing:.02em;color:var(--red)}.eyebrow:before{content:"";width:20px;height:2px;background:currentColor}.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:.65rem;padding:.7rem 1.25rem;border:1px solid transparent;border-radius:12px;font-weight:750;white-space:nowrap}.button.primary{background:var(--red);color:#fff;box-shadow:0 10px 24px rgba(217,39,46,.19)}.button.primary:hover{background:var(--red-dark)}.button.secondary{background:var(--ink);color:#fff;font-size:.87rem}.button.ghost{border-color:var(--line);background:#fff}.button.light{background:#fff;color:var(--ink)}.text-link{font-weight:700;text-decoration:underline;text-decoration-color:#bac8cb;text-underline-offset:6px}
.site-header{height:88px;position:sticky;inset-block-start:0;z-index:50;background:color-mix(in srgb,var(--paper) 91%,transparent);backdrop-filter:blur(16px);border-block-end:1px solid rgba(155,176,180,.35)}.header-inner{width:var(--shell);height:100%;margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:var(--s5)}.desktop-nav,.header-actions{display:flex;align-items:center;gap:1.7rem;font-size:.91rem;font-weight:650}.desktop-nav a,.partner-link{padding-block:.7rem}.header-actions{justify-content:flex-end}.logo{display:flex;align-items:center;gap:.7rem}.logo-emblem{width:46px;height:46px;display:grid;place-items:center;border-radius:13px 4px 13px 4px;background:var(--red);color:#fff;font:bold 1.55rem Arial;transform:skew(-5deg)}.logo span:last-child{display:flex;flex-direction:column;line-height:1.2}.logo b{font-size:1.05rem}.logo small{font-size:.66rem;color:var(--muted);margin-block-start:.2rem}.cart-link{height:44px;display:flex;align-items:center;gap:.35rem;padding-inline:.75rem;border:1px solid var(--line);border-radius:12px;background:#fff}.cart-link span{background:var(--red);color:#fff;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;font-size:.65rem}.menu-toggle,.mobile-menu{display:none}
.home-bento{display:grid;grid-template-columns:1.4fr .75fr .75fr;grid-template-rows:280px 210px;gap:var(--s3);padding-block:var(--s5) var(--s7)}.home-bento>*{border-radius:var(--r);overflow:hidden}.bento-lead{grid-row:1/3;display:grid;grid-template-columns:1.04fr .96fr;background:#fff;border:1px solid var(--line)}.lead-copy{padding:clamp(2rem,4vw,4.2rem);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.lead-copy h1{font-size:clamp(2.5rem,4.4vw,4.5rem);line-height:1.11;letter-spacing:-.055em;margin:.8rem 0 1.15rem}.lead-copy h1 em{font-style:normal;color:var(--red)}.lead-copy p{max-width:38ch;color:var(--muted);font-size:1.02rem;margin:0 0 1.6rem}.lead-actions{display:flex;align-items:center;gap:var(--s4);flex-wrap:wrap}.bento-lead>img{width:100%;height:100%;object-fit:cover;background:#e3e8e8}.bento-tile{padding:var(--s5);display:flex;flex-direction:column;position:relative}.dealer{background:var(--teal);color:#fff}.dealer .eyebrow{color:#b5e1df}.dealer h2,.factory h2{font-size:1.45rem;line-height:1.35;margin:.7rem 0}.dealer p,.factory p{margin:0;color:#d5e5e5}.tile-icon{margin-block-end:auto}.tile-arrow{margin-block-start:auto;font-weight:700}.stats{background:var(--teal-soft);gap:.65rem}.stats>span{font-weight:800;font-size:.8rem;color:var(--teal)}.stats div{display:flex;align-items:baseline;justify-content:space-between;border-block-start:1px solid #bdd3d4;padding-block-start:.35rem}.stats strong{font-size:1.5rem}.stats small{color:var(--muted)}.use{padding:0;background:#fff}.use img{width:100%;height:130px;object-fit:cover}.use span{padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.2rem}.use small{color:var(--red);font-weight:700}.factory{background:#e9edf1}.factory svg{position:absolute;inset-inline-end:1.5rem;inset-block-end:1.5rem;width:36px;height:36px;color:var(--teal)}
.product-section{padding-block:0 var(--s7)}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--s5);margin-block-end:var(--s5)}.section-head h2,.page-hero h1,.page-title h1{font-size:clamp(2rem,3.3vw,3.15rem);line-height:1.2;margin:.45rem 0 0;letter-spacing:-.035em}.section-head>p{max-width:43ch;color:var(--muted);margin:0}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s4)}.product-card{min-width:0;height:100%;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;transition:.3s ease}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-image{position:relative;aspect-ratio:4/3;overflow:hidden;background:#e7ecec}.product-image img{width:100%;height:100%;object-fit:cover}.product-image span{position:absolute;inset-block-start:1rem;inset-inline-start:1rem;background:#fff;padding:.3rem .75rem;border-radius:999px;font-size:.72rem;font-weight:750}.product-body{padding:var(--s4);display:flex;flex-direction:column;justify-content:space-between;gap:var(--s5);flex:1}.product-body h3{font-size:1.16rem;margin:0 0 .45rem}.product-body p{font-size:.9rem;color:var(--muted);margin:0}.product-buy{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--s3);padding-block-start:var(--s3);border-block-start:1px solid var(--line)}.product-buy>div{display:flex;flex-direction:column}.product-buy small{font-size:.68rem;color:var(--muted)}.product-buy strong{font-size:1rem}.process{padding:var(--s6);background:var(--ink);color:#fff;border-radius:var(--r-lg);margin-block-end:var(--s7)}.process .section-head p{color:#b7c4c8}.process ol{list-style:none;margin:var(--s5) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s4)}.process li{display:flex;align-items:flex-start;gap:var(--s3);padding-block-start:var(--s4);border-block-start:1px solid #3b5057}.process li>span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--red);flex:0 0 auto}.process li div{display:flex;flex-direction:column;gap:.25rem}.process li small{color:#b7c4c8}.cta-band{display:flex;justify-content:space-between;align-items:center;gap:var(--s5);padding:var(--s6);background:var(--red);color:#fff;border-radius:var(--r-lg);margin-block-end:var(--s7)}.cta-band h2{font-size:clamp(1.5rem,3vw,2.5rem);margin:.3rem 0 0}
.page-hero{padding-block:var(--s7) var(--s6);display:flex;justify-content:space-between;align-items:flex-end;gap:var(--s6)}.page-hero>div:first-child{max-width:700px}.page-hero p,.split-hero p{font-size:1.05rem;color:var(--muted);max-width:58ch}.hero-note{display:flex;align-items:center;gap:1rem;background:var(--teal-soft);padding:1.2rem 1.5rem;border-radius:var(--r);min-width:300px}.hero-note svg{color:var(--teal);width:34px;height:34px}.hero-note span{display:flex;flex-direction:column}.hero-note small{color:var(--muted)}.shop-tools{display:flex;justify-content:space-between;padding-block:var(--s3);border-block:1px solid var(--line);margin-block-end:var(--s5);font-size:.87rem;font-weight:700}.shop-tools a{color:var(--red)}.shop-grid{grid-template-columns:repeat(3,1fr);padding-block-end:var(--s7)}
.product-detail{display:grid;grid-template-columns:1.05fr .95fr;gap:var(--s6);padding-block:var(--s6)}.gallery{display:grid;grid-template-columns:80px 80px 1fr;gap:var(--s3);align-content:start}.gallery-main{grid-column:1/4;aspect-ratio:4/3;border-radius:var(--r);overflow:hidden;background:#e4e9e9}.gallery-main img{width:100%;height:100%;object-fit:cover}.thumb{padding:0;border:2px solid transparent;border-radius:12px;overflow:hidden;background:#fff;aspect-ratio:1}.thumb.active{border-color:var(--red)}.thumb img{width:100%;height:100%;object-fit:cover}.product-info{padding-block:var(--s4)}.product-info h1{font-size:clamp(2.2rem,4vw,3.7rem);line-height:1.15;margin:.8rem 0}.product-info .lead{color:var(--muted);font-size:1.08rem}.price-box{display:flex;flex-direction:column;padding:var(--s4);background:#fff;border:1px solid var(--line);border-radius:var(--r);margin-block:var(--s5)}.price-box>span{font-size:.8rem;color:var(--muted)}.price-box strong{font-size:1.65rem}.price-box a{font-size:.78rem;color:var(--red);font-weight:700;margin-block-start:.5rem}.add-form{display:grid;grid-template-columns:90px 1fr;gap:var(--s3)}.add-form label{font-size:.75rem}.add-form input{width:100%;height:48px;border:1px solid var(--line);border-radius:12px;padding:.5rem}.service-list{display:flex;gap:var(--s4);padding:var(--s5) 0 0;margin:0;list-style:none;flex-wrap:wrap;font-size:.78rem;color:var(--muted)}.service-list li:before{content:'✓';color:var(--teal);font-weight:900;margin-inline-end:.35rem}.detail-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s3);padding-block:var(--s5) var(--s7)}.detail-tabs article{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:var(--s5)}.tab-icon{width:44px;height:44px;display:grid;place-items:center;background:var(--teal-soft);color:var(--teal);border-radius:12px}.detail-tabs h2{font-size:1.18rem}.detail-tabs p{color:var(--muted);font-size:.92rem}.video-placeholder{height:380px;position:relative;border-radius:var(--r-lg);overflow:hidden;margin-block-end:var(--s7);color:#fff}.video-placeholder:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,35,42,.2),rgba(13,35,42,.82))}.video-placeholder img{width:100%;height:100%;object-fit:cover}.video-placeholder>div{position:absolute;z-index:1;inset-inline-start:var(--s6);inset-block-start:50%;transform:translateY(-50%);max-width:400px}.play{width:60px;height:60px;display:grid;place-items:center;background:var(--red);border-radius:50%}.video-placeholder h2{font-size:2rem;margin:.8rem 0 .3rem}
.split-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:var(--s7);padding-block:var(--s6)}.split-hero h1,.contact-info h1{font-size:clamp(2.5rem,4.8vw,4.8rem);line-height:1.15;margin:.8rem 0}.split-hero img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-lg)}.values{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s3);padding-block:var(--s5) var(--s7)}.values article{padding:var(--s5);background:#fff;border-block-start:4px solid var(--teal)}.values strong{color:var(--red)}.values h2{font-size:1.2rem}.values p{color:var(--muted)}.company-card{display:grid;grid-template-columns:repeat(3,1fr) auto;align-items:center;gap:var(--s4);padding:var(--s5);background:var(--teal-soft);border-radius:var(--r);margin-block-end:var(--s7)}.company-card div{display:flex;flex-direction:column}.company-card span{font-size:.75rem;color:var(--muted)}.guide-steps{display:grid;gap:var(--s3);padding-block:var(--s5) var(--s7)}.guide-steps article{display:grid;grid-template-columns:80px 1fr;gap:var(--s4);padding:var(--s5);background:#fff;border:1px solid var(--line);border-radius:var(--r)}.guide-steps article>span{font-size:2.5rem;font-weight:900;color:var(--red)}.guide-steps h2{margin:0}.guide-steps p{color:var(--muted)}.guide-steps small{display:block;background:var(--paper);padding:var(--s3);border-radius:10px}.safety-band{display:flex;align-items:center;gap:var(--s5);padding:var(--s5);background:#fff0f0;border:1px solid #f1c7c9;border-radius:var(--r);margin-block-end:var(--s7)}.safety-band svg{width:46px;height:46px;color:var(--red);flex:none}.safety-band h2{margin:0}.safety-band p{margin:.3rem 0 0;color:var(--muted)}
.news-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--s4);padding-block:var(--s3) var(--s7)}.news-card{display:grid;grid-template-columns:180px 1fr;gap:var(--s4);background:#fff;border:1px solid var(--line);padding:var(--s3);border-radius:var(--r)}.news-card.featured{grid-column:1/3;grid-template-columns:1.2fr 1fr;align-items:center}.news-card img{width:100%;height:100%;min-height:180px;object-fit:cover;border-radius:14px}.news-card div{padding:var(--s3)}.news-card time{font-size:.75rem;color:var(--red)}.news-card h2{font-size:1.15rem;line-height:1.5}.news-card.featured h2{font-size:1.8rem}.news-card p{color:var(--muted);font-size:.9rem}.article-page{max-width:900px;padding-block:var(--s6) var(--s7)}.article-page header{text-align:center;max-width:760px;margin:auto}.article-page h1{font-size:clamp(2.2rem,5vw,4.2rem);line-height:1.2}.article-page header p{font-size:1.1rem;color:var(--muted)}.article-page>img{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:var(--r-lg);margin-block:var(--s5)}.article-body{max-width:700px;margin:auto;font-size:1.06rem}.article-body p{margin-block:var(--s4)}
.auth-layout,.contact-layout,.checkout-layout{display:grid;grid-template-columns:1fr 480px;gap:var(--s7);align-items:center;padding-block:var(--s7)}.auth-copy h1{font-size:clamp(2.5rem,5vw,4.8rem);line-height:1.15}.auth-copy p{color:var(--muted);max-width:50ch}.auth-copy ul{display:grid;gap:var(--s3);padding:0;list-style:none}.auth-copy li:before{content:'✓';display:inline-grid;place-items:center;width:24px;height:24px;background:var(--teal-soft);color:var(--teal);border-radius:50%;margin-inline-end:.7rem}.form-card{display:flex;flex-direction:column;gap:var(--s3);padding:var(--s5);background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}.form-card h1,.form-card h2{margin:0;line-height:1.3}.form-card>p{margin:0;color:var(--muted);font-size:.88rem}.form-card label,.admin-form label{display:flex;flex-direction:column;gap:.4rem;font-size:.84rem;font-weight:700}.form-card input,.form-card textarea,.form-card select,.admin-form input,.admin-form textarea{width:100%;min-height:48px;padding:.7rem .85rem;border:1px solid #cbd6d8;border-radius:10px;background:#fff}.form-card textarea{min-height:110px;resize:vertical}.form-card fieldset{border:0;padding:0;margin:var(--s2) 0;display:grid;gap:var(--s2)}.form-card legend{font-weight:800;margin-block-end:.6rem}.radio{display:flex!important;flex-direction:row!important;align-items:center;gap:var(--s3)!important;border:1px solid var(--line);border-radius:12px;padding:.85rem}.radio input{width:20px;min-height:auto}.radio span{display:flex;flex-direction:column}.radio small{color:var(--muted)}.notice{padding:.8rem 1rem;border-radius:10px}.notice.error{background:#fff0f0;color:#8e1920}.notice.success{background:#e5f3ed;color:#176247}.contact-info>p{color:var(--muted)}.contact-cards{display:grid;gap:var(--s3);margin-block-start:var(--s5)}.contact-cards>a,.contact-cards>div{display:flex;align-items:center;gap:var(--s3);padding:var(--s3);border-block-start:1px solid var(--line)}.contact-cards svg{color:var(--red)}.contact-cards span{display:flex;flex-direction:column}.contact-cards small{color:var(--muted)}
.page-title{padding-block:var(--s6) var(--s4)}.empty-state{text-align:center;display:flex;min-height:460px;flex-direction:column;align-items:center;justify-content:center;gap:var(--s3);padding-block:var(--s6)}.empty-state>svg{width:70px;height:70px;color:var(--teal)}.empty-state h1,.empty-state h2{margin:0}.empty-state p{color:var(--muted)}.error-code{font-size:5rem;color:var(--red)}.success-state>svg{border:3px solid var(--teal);border-radius:50%;padding:12px}.cart-layout{display:grid;grid-template-columns:1fr 340px;gap:var(--s4);padding-block-end:var(--s7);align-items:start}.cart-card,.cart-summary,.order-mini{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:var(--s4)}table{width:100%;border-collapse:collapse}th,td{text-align:start;padding:var(--s3);border-block-end:1px solid var(--line)}th{font-size:.76rem;color:var(--muted)}.cart-product{display:flex;align-items:center;gap:var(--s3)}.cart-product img{width:70px;height:70px;object-fit:cover;border-radius:10px}.qty{width:65px;padding:.5rem;border:1px solid var(--line);border-radius:8px}.cart-summary{display:flex;flex-direction:column;gap:var(--s3);position:sticky;inset-block-start:110px}.cart-summary h2{margin:0}.cart-summary>div,.order-mini>div{display:flex;justify-content:space-between;gap:var(--s3)}.cart-summary>div span:last-child{font-size:.76rem;color:var(--muted);text-align:end}.checkout-layout{grid-template-columns:1fr 380px;align-items:start}.order-mini{position:sticky;inset-block-start:110px;display:grid;gap:var(--s3)}
.site-footer{background:var(--ink);color:#fff;padding:var(--s7) max(20px,calc((100% - 1180px)/2)) var(--s4)}.footer-grid{display:grid;grid-template-columns:1.3fr .7fr 1fr .8fr;gap:var(--s6)}.footer-grid h2{font-size:.9rem;margin:0 0 var(--s3)}.footer-grid p,.footer-grid address{color:#b8c6c9;font-style:normal;font-size:.87rem}.footer-links,.footer-grid address{display:flex;flex-direction:column;gap:.6rem}.footer-logo{margin-block-end:var(--s3)}.footer-logo small{color:#b8c6c9!important}.trust-box{padding:var(--s4);border:1px solid #40555b;border-radius:var(--r);display:flex;flex-direction:column;justify-content:center}.trust-box span{color:#8fbfc0;font-size:.75rem}.trust-box strong{margin:.3rem 0}.trust-box small{color:#b8c6c9}.footer-bottom{display:flex;justify-content:space-between;gap:var(--s3);padding-block-start:var(--s5);margin-block-start:var(--s5);border-block-start:1px solid #40555b;color:#8da0a5;font-size:.76rem}.bottom-nav{display:none}
.admin-body{background:#eef2f3}.admin-side{position:fixed;inset-block:0;inset-inline-start:0;width:240px;background:var(--ink);color:#fff;padding:var(--s4);display:flex;flex-direction:column;gap:var(--s5)}.admin-side nav{display:grid;gap:.4rem}.admin-side nav a{padding:.7rem 1rem;border-radius:9px}.admin-side nav a.active{background:var(--red)}.admin-side>a:last-child{margin-block-start:auto}.admin-main{margin-inline-start:240px;padding:var(--s5);max-width:1300px}.admin-main>header{display:flex;justify-content:space-between;align-items:center;margin-block-end:var(--s5)}.admin-main h1{margin:0}.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s3)}.admin-stats article,.admin-panel{background:#fff;border-radius:var(--r);padding:var(--s4);border:1px solid var(--line)}.admin-stats article{display:flex;flex-direction:column}.admin-stats strong{font-size:2.5rem}.admin-panel{margin-block:var(--s4)}.admin-product-list summary{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:var(--s3);cursor:pointer}.admin-product-list summary img{width:60px;height:60px;object-fit:cover;border-radius:10px}.admin-form{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--s3);margin-block-start:var(--s4)}.admin-form textarea{min-height:100px}.inline-form{display:flex;gap:.4rem}.admin-login{min-height:100vh;display:grid;place-items:center}.admin-login .form-card{width:min(440px,calc(100% - 32px))}
@media(max-width:980px){.desktop-nav{gap:1rem}.home-bento{grid-template-columns:1fr 1fr;grid-template-rows:auto}.bento-lead{grid-column:1/3;grid-row:auto;min-height:500px}.product-grid,.shop-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.auth-layout,.contact-layout{grid-template-columns:1fr 420px;gap:var(--s5)}.company-card{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){:root{--shell:min(100% - 28px,600px);--s7:3.4rem}.site-header{height:72px}.header-inner{grid-template-columns:44px 1fr 44px;gap:.6rem}.desktop-nav,.partner-link{display:none}.header-actions{justify-content:flex-end}.logo{justify-self:center}.logo-emblem{width:40px;height:40px}.logo span:last-child{display:none}.menu-toggle{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent}.mobile-menu{position:fixed;inset-block-start:72px;inset-inline:0;background:var(--paper);padding:1rem 20px 1.5rem;box-shadow:0 18px 30px rgba(20,40,45,.15);flex-direction:column;gap:.4rem}.mobile-menu:not([hidden]){display:flex}.mobile-menu a{padding:.8rem;border-block-end:1px solid var(--line)}[hidden]{display:none!important}.home-bento{padding-block:var(--s3) var(--s7);grid-template-columns:1fr;gap:.75rem}.bento-lead{grid-column:auto;min-height:auto;grid-template-columns:1fr}.lead-copy{padding:1.75rem 1.4rem}.lead-copy h1{font-size:2.55rem}.bento-lead>img{height:260px}.bento-tile{min-height:190px;padding:1.4rem}.stats{min-height:auto}.use{min-height:auto}.use img{height:180px}.factory{min-height:180px}.section-head{align-items:flex-start;flex-direction:column;gap:var(--s3)}.product-grid,.shop-grid{grid-template-columns:1fr}.product-buy{align-items:stretch;flex-direction:column}.product-buy form,.product-buy .button{width:100%}.process{padding:1.5rem}.process ol{grid-template-columns:1fr}.cta-band{flex-direction:column;align-items:flex-start;padding:1.6rem}.cta-band .button{width:100%}.page-hero{padding-block:var(--s5);align-items:stretch;flex-direction:column}.hero-note{min-width:0}.product-detail{grid-template-columns:1fr;gap:var(--s3);padding-block:var(--s4)}.gallery{grid-template-columns:64px 64px 1fr}.product-info h1{font-size:2.4rem}.add-form{grid-template-columns:1fr}.add-form .button{width:100%}.detail-tabs{grid-template-columns:1fr}.video-placeholder{height:330px}.video-placeholder>div{inset-inline:1.5rem;max-width:none}.video-placeholder h2{font-size:1.5rem}.split-hero{grid-template-columns:1fr;gap:var(--s4);padding-block:var(--s5)}.split-hero h1,.contact-info h1{font-size:2.6rem}.split-hero img{order:-1}.values{grid-template-columns:1fr}.company-card{grid-template-columns:1fr}.company-card .button{width:100%}.guide-steps article{grid-template-columns:44px 1fr;padding:1.25rem}.guide-steps article>span{font-size:1.7rem}.safety-band{align-items:flex-start}.news-grid{grid-template-columns:1fr}.news-card,.news-card.featured{grid-column:auto;grid-template-columns:1fr}.news-card img{height:210px}.news-card.featured h2{font-size:1.3rem}.auth-layout,.contact-layout,.checkout-layout{grid-template-columns:1fr;gap:var(--s4);padding-block:var(--s5)}.auth-copy h1{font-size:2.7rem}.form-card{padding:1.25rem}.cart-layout{grid-template-columns:1fr}.cart-card table,.cart-card tbody,.cart-card tr,.cart-card td{display:block}.cart-card thead{display:none}.cart-card tr{border-block-end:1px solid var(--line);padding-block:var(--s3)}.cart-card td{border:0;padding:.45rem 0;display:grid;grid-template-columns:85px 1fr;align-items:center}.cart-card td:before{content:attr(data-label);font-size:.74rem;color:var(--muted)}.cart-card td:first-child{grid-template-columns:1fr}.cart-card td:first-child:before{display:none}.cart-summary,.order-mini{position:static}.footer-grid{grid-template-columns:1fr;gap:var(--s5)}.footer-bottom{flex-direction:column;padding-block-end:70px}.bottom-nav{position:fixed;z-index:60;inset-inline:0;inset-block-end:0;height:68px;background:#fff;border-block-start:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom)}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.1rem;font-size:.66rem}.bottom-nav svg{width:21px;height:21px}.bottom-nav a span{position:absolute;margin-inline-start:25px;margin-block-start:-27px;background:var(--red);color:#fff;width:17px;height:17px;border-radius:50%;display:grid;place-items:center}.admin-side{position:static;width:auto;padding:var(--s3)}.admin-side nav{display:flex;overflow:auto}.admin-side>a:last-child{display:none}.admin-main{margin:0;padding:var(--s3)}.admin-main>header{align-items:flex-start}.admin-stats{grid-template-columns:1fr}.table-wrap{overflow:auto}.admin-form{grid-template-columns:1fr}.admin-product-list summary{grid-template-columns:50px 1fr}.admin-product-list summary span{grid-column:2}.admin-panel table{min-width:760px}}
@media(max-width:390px){:root{--shell:calc(100% - 24px)}.lead-copy h1{font-size:2.3rem}.lead-actions{align-items:stretch;flex-direction:column;width:100%}.lead-actions .button{width:100%}.bento-lead>img{height:230px}.product-body{padding:1.15rem}.page-hero h1,.page-title h1{font-size:2.1rem}.service-list{flex-direction:column;gap:.5rem}.gallery-main{aspect-ratio:1}.contact-info h1,.split-hero h1,.auth-copy h1{font-size:2.25rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Signature: the precise red adhesive seam ties the asymmetric specimen tiles together. */
.home-bento{position:relative}
.home-bento:before{content:"";position:absolute;z-index:2;inset-block:calc(var(--s5) + 28px) calc(var(--s7) + 28px);inset-inline-start:-7px;width:3px;border-radius:99px;background:var(--red);pointer-events:none}
.product-card{transition:transform .3s ease,box-shadow .3s ease}
@media(max-width:768px){.home-bento:before{inset-block:calc(var(--s3) + 18px) calc(var(--s7) + 18px);inset-inline-start:-4px}}

/* CR#857 — on a phone the products table was forced to min-width:760px, so the
   «ویرایش» button sat off-screen behind a sideways scroll, which is exactly the
   discoverability problem the button was added to solve. Stack each product as
   a card instead and give the button the full width of that card. */
@media(max-width:768px){
  .admin-product-list .table-wrap{overflow:visible}
  .admin-panel table.admin-products-table{min-width:0;width:100%}
  .admin-products-table thead{display:none}
  .admin-products-table,.admin-products-table tbody{display:block;width:100%}
  .admin-products-table tr{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;border:1px solid var(--line);border-radius:14px;padding:.75rem;margin-block-end:.7rem}
  .admin-products-table td{display:block;border:0;padding:0}
  .admin-products-table td:nth-child(1){flex:0 0 54px}
  .admin-products-table td:nth-child(2){flex:1 1 55%;font-weight:700;line-height:1.5}
  .admin-products-table td:nth-child(3),.admin-products-table td:nth-child(4),.admin-products-table td:nth-child(5){font-size:.82rem;color:var(--muted)}
  .admin-products-table td:last-child{flex:1 1 100%}
  .admin-products-table td:last-child .button{display:block;width:100%;text-align:center}
}

/* CR#865 — flat "add product" action button (+ icon left of the label, single line) */
.admin-add-bar{display:flex;justify-content:flex-start;margin-block:var(--s4)}
.button.primary.admin-add-btn{box-shadow:none;gap:.5rem;padding:.7rem 1.15rem}
.button.primary.admin-add-btn:hover{box-shadow:none}
.admin-add-btn svg{width:18px;height:18px;stroke-width:2.2;order:2}
@media(max-width:768px){.admin-add-bar .admin-add-btn{width:100%}}

/* CR#869 — product delete (confirm) + recycle bin */
.button.danger{background:#fff;color:#c22026;border-color:#e3b4b6;box-shadow:none}
.button.danger:hover{background:#c22026;color:#fff;border-color:#c22026}
.admin-row-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.admin-row-actions form{margin:0}
.admin-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-block-start:var(--s4);padding:1rem 1.15rem;border:1px solid #e3b4b6;border-radius:14px;background:#fff6f6}
.admin-danger-zone b{font-size:1rem}
.admin-danger-zone p{margin:.35rem 0 0;font-size:.85rem;color:var(--muted);max-width:52ch}
.admin-danger-zone form{margin:0}
@media(max-width:768px){
  .admin-products-table td.admin-row-actions{flex:1 1 100%;display:flex;gap:.5rem;flex-wrap:nowrap}
  .admin-products-table td.admin-row-actions>*{flex:1 1 0;min-width:0}
  .admin-products-table td.admin-row-actions .button{display:block;width:100%;text-align:center}
  .admin-danger-zone{flex-direction:column;align-items:stretch}
  .admin-danger-zone .button{width:100%}
}

/* ── Product manager: counts, stats row and status switches (CR #874) ─────── */
.admin-count-pill{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:28px;height:24px;padding:0 8px;margin-inline-start:8px;
  border-radius:999px;background:#e8380d;color:#fff;
  font-size:.78rem;font-weight:800;vertical-align:middle;
}
.admin-stats-row{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:12px;margin-bottom:16px;
}
.admin-stat{
  display:grid;gap:2px;padding:14px 16px;
  background:#fff;border:1px solid #e6e8ec;border-radius:12px;
}
.admin-stat span{font-size:.8rem;color:#6b7280;font-weight:700}
.admin-stat b{font-size:1.6rem;line-height:1.2;color:#111827}
.admin-flags{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}
.admin-flags label{
  display:inline-flex;align-items:center;gap:6px;
  font-size:.83rem;font-weight:700;white-space:nowrap;cursor:pointer;
}
.admin-flags input[type=checkbox]{width:17px;height:17px;accent-color:#e8380d;cursor:pointer;margin:0}
.admin-flags-save{padding:5px 12px;font-size:.8rem}

/* --- product status block (CR #902) --- */
.admin-status{grid-column:1/-1;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:6px 0 12px;background:#fff}
.admin-status legend{padding:0 6px;font-weight:800;font-size:.92rem}
.admin-status-grid{display:grid;gap:.5rem}
.admin-check{display:flex!important;flex-direction:row!important;align-items:center;gap:.6rem!important;margin:0;padding:.6rem .75rem;font-size:.9rem;font-weight:600;border:1px solid var(--line);border-radius:10px;background:#fbfcfc;cursor:pointer;transition:border-color .15s ease,background .15s ease}
.admin-check:hover{border-color:#b9c6c9;background:#fff}
.admin-check:focus-within{border-color:var(--red);box-shadow:0 0 0 3px rgba(217,39,46,.12)}
.admin-check input[type=checkbox]{flex:0 0 auto;width:17px!important;height:17px;min-height:0!important;padding:0!important;margin:0;border-radius:4px;accent-color:var(--red);cursor:pointer}
.admin-check span{font-weight:600;line-height:1.4}
.admin-status-note{margin:10px 0 0;font-size:.84rem;line-height:1.8;color:#6b7280}
.admin-form-save{grid-column:1/-1;justify-self:stretch}
