/* Toyota Iran — Figma 937:8225. Plain, editable CSS; no build required. */
@font-face{font-family:Anjoman;src:url('assets/fonts/AnjomanMaxFN-Light.woff') format('woff');font-weight:300;font-display:swap}
@font-face{font-family:Anjoman;src:url('assets/fonts/AnjomanMaxFN-Regular.woff') format('woff');font-weight:400;font-display:swap}
@font-face{font-family:Anjoman;src:url('assets/fonts/AnjomanMaxFN-Medium.woff') format('woff');font-weight:500;font-display:swap}
@font-face{font-family:Anjoman;src:url('assets/fonts/AnjomanMaxFN-SemiBold.woff') format('woff');font-weight:600;font-display:swap}
@font-face{font-family:Anjoman;src:url('assets/fonts/AnjomanMaxFN-Bold.woff') format('woff');font-weight:700;font-display:swap}
:root{--red:#c30400;--bright-red:#ec2d30;--ink:#000;--muted:#8e8e8e;--line:#efefef;--soft:#fafafa;--content:1248px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;color:var(--ink);background:white;font:400 14px/1.57 Anjoman,sans-serif}
button,a{-webkit-tap-highlight-color:transparent}
button,input{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button{color:inherit}
p,h1,h2,h3,figure,dl,dd{margin:0}
img{display:block;max-width:100%}
button{border:0;background:none}
ul{list-style:none;padding:0;margin:0}
em{font-style:normal}
main,section,article,nav,div{min-width:0}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #0075ff;outline-offset:4px}
.container{width:min(var(--content),calc(100% - 64px));margin-inline:auto}
.section{position:relative}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:8px 24px;border:1px solid var(--line);border-radius:4px;background:white;font-size:12px;line-height:19px;text-align:center}
.button:hover{filter:brightness(.96)}
.button .icon{flex-shrink:0}
.icon{width:18px;height:18px;object-fit:contain}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;z-index:100;inset-block-start:-80px;inset-inline-start:16px;padding:12px;background:white;color:black;border:2px solid var(--red)}
.skip-link:focus{top:12px}
.logo{display:inline-block;position:relative;flex-shrink:0;overflow:hidden;width:71px;height:29px}
.logo img{position:absolute;max-width:none;height:232.26%;width:271.12%;left:-170.65%;top:-29.03%}
.full-logo{width:154px;height:23px}
.full-logo img{width:100.35%;left:-.17%}
.section-heading{text-align:center}
.section-heading h2{display:flex;justify-content:center;align-items:center;gap:8px;font-size:24px;font-weight:500;line-height:38px}
.section-heading p{font-size:14px;font-weight:300;line-height:22px;color:#1f1f1f;margin-top:8px}
.cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.image-button{display:block;padding:0;position:relative;overflow:hidden}
.eyebrow{font-size:14px;line-height:22px}

/* Footer */
.site-footer{position:relative;background:black;color:white;padding-top:88px;overflow:hidden}
.footer-inner{position:relative;z-index:1}
.footer-glow{position:absolute;top:-180px;left:calc(50% - 500px);width:1000px;height:620px;background:radial-gradient(ellipse,rgba(80,80,100,.38),transparent 65%);pointer-events:none}
.footer-intro{text-align:center}
.footer-intro .full-logo{display:block;margin-inline:auto;width:458px;height:67px;max-width:100%}
.footer-intro>p{font-size:15px;line-height:30px;letter-spacing:-.3px;width:760px;max-width:100%;margin:24px auto}
.footer-contact{position:relative;display:flex;align-items:center;justify-content:center;gap:32px;width:826px;max-width:100%;margin:0 auto;font-style:normal;text-align:center;padding-block:24px}
.footer-contact:before,.footer-contact:after{content:'';height:1px;background:#252525;position:absolute;left:41px;right:41px;top:0}
.footer-contact:after{top:auto;bottom:0}
.footer-contact>div{flex:1}
.footer-contact h3{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;line-height:21px;font-weight:700;margin-bottom:4px}
.footer-contact p,.footer-contact a{font-size:12px;line-height:22px;font-weight:300}
.footer-contact .icon{width:18px;height:18px}
.footer-links{display:flex;justify-content:space-between;width:744px;max-width:100%;margin:56px auto 64px}
.footer-links h3{font-size:16px;line-height:24px;font-weight:600;margin-bottom:24px}
.footer-links ul{display:flex;flex-direction:column;gap:16px}
.footer-links li,.text-button{font-size:14px;line-height:21px;font-weight:400}
.text-button{border:0;background:none;padding:0;min-height:21px;text-align:right}
.copyright{position:relative;display:flex;align-items:center;justify-content:center;background:#262626;gap:0;min-height:32px}
.copyright p{font-size:15px;line-height:30px;letter-spacing:-.3px;white-space:nowrap}
.copyright [lang=en]{font-size:14px;line-height:32px;width:378px}

/* Local dialogs and accessible interaction states */
dialog{width:min(520px,calc(100% - 32px));padding:24px;border:1px solid var(--line);border-radius:12px;color:black;background:white;box-shadow:0 24px 80px #0004}
dialog::backdrop{background:rgba(0,0,0,.72)}
.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
.dialog-heading h2{font-size:20px;font-weight:600}
#notice-text{font-size:15px;line-height:28px}
.gallery-dialog{width:min(1000px,calc(100% - 32px))}
.gallery-dialog figure img{width:100%;height:min(64vh,660px);object-fit:contain;background:#fafafa}
.gallery-dialog figcaption{margin-top:12px;text-align:center}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}
.noscript-note{padding:16px;background:#fff9ee;text-align:center}

@font-face{font-family:Arizonia;src:url('assets/fonts/Arizonia-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
:root{--content:1250px}
.container{width:min(1250px,calc(100% - 64px))}
.site-header{position:relative;display:flex;align-items:center;justify-content:space-between;height:34px;gap:22px;margin-top:56px;z-index:5}
.main-navigation{display:flex;gap:24px;align-items:center;white-space:nowrap}
.main-navigation a,.nav-button{position:relative;font-size:12px;line-height:20px;font-weight:400;padding:0;min-height:20px}
.design-current:after{content:'';position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);width:36px;height:2px;border-radius:32px;background:var(--red)}
.header-tools{display:flex;align-items:center;gap:24px}.socials{display:flex;gap:16px;align-items:center}.socials img{width:14px;height:14px;object-fit:contain}.icon-button{padding:0}
.dashboard{background:#f5f5f5;color:#181d28;width:162px;min-height:34px;padding:8px 20px;font-size:12px;line-height:18px;border:0;white-space:nowrap}.dashboard .icon{width:14px;height:14px}.menu-toggle{display:none}

/* Frame 937:8225 — 1440 × 3857, original spacing and image crops. */
.site-header{width:min(1248px,calc(100% - 64px))}
.mobile-header-tools{display:none}
#parts-page{margin-top:48px}
.parts-hero{position:relative;height:593px;background:#fafafa;border-radius:8px;overflow:hidden}
.hero-heading{position:absolute;top:53px;left:50%;transform:translateX(-50%);width:702px;max-width:90%;text-align:center;z-index:2}
.hero-heading h1{font-size:32px;line-height:50px;font-weight:500;letter-spacing:-2px}
.hero-heading strong{font-weight:500;color:#ec2d30}
.hero-heading>p{max-width:570px;margin:8px auto 0;font-size:13px;line-height:22px;font-weight:300}
.hero-script{position:absolute;left:50%;top:130px;transform:translateX(-50%);width:1250px;max-width:100%;text-align:center;font:400 200px/200px Arizonia,cursive;color:transparent;background:linear-gradient(#e1e1e1 25.2%,#e1e1e133 75.467%);background-clip:text;pointer-events:none}
.hero-car{position:absolute;left:50%;top:203px;transform:translateX(-50%);width:846px;height:245px;overflow:hidden;pointer-events:none}
.hero-car img{position:absolute;width:100%;height:194.43%;left:0;top:-33.25%;max-width:none}
.blur-car{filter:blur(2px)}
.parts-search{position:absolute;top:429px;left:50%;transform:translateX(-50%);width:818px;max-width:calc(100% - 48px);height:98px;padding:24px 32px;display:flex;align-items:center;gap:32px;border:1px solid #efefef;background:white;z-index:3}
.search-field{display:flex;align-items:center;gap:8px;flex:1;min-width:0;height:50px}
.search-field>img{width:18px;height:18px;flex:none}
.search-field input{min-width:0;width:100%;height:42px;background:none;border:0;padding:0;color:#1f1f1f;font-size:13px;font-weight:300;line-height:22px}
.search-field input::placeholder{color:#1f1f1f;opacity:1}
.brand-filter{position:relative;width:218px;flex:none;text-align:right;padding:0 24px 0 0}
.brand-filter:before,.brand-filter:after{content:'';position:absolute;top:10px;width:1px;height:30px;background:#efefef}
.brand-filter:before{right:-16px}.brand-filter:after{left:-16px}
.brand-filter>span{display:flex;align-items:center;font-size:14px;font-weight:500;line-height:24px}
.brand-filter img{width:24px;height:24px}
.brand-filter small{display:block;font-size:12px;line-height:22px;font-weight:300;color:#4b4b4b;margin-top:4px}
.show-results{display:flex;gap:8px;align-items:center;justify-content:center;background:#c30400;color:white;flex:none;padding:8px 16px;border-radius:4px;font-size:12px;line-height:19px;height:40px;white-space:nowrap}
.show-results img{width:24px;height:24px}
.categories{display:flex;flex-direction:column;gap:48px;margin-top:48px}
.parts-category{width:min(1250px,calc(100% - 64px));padding:32px 96px;margin-inline:auto}
.category-heading{text-align:center;margin-bottom:24px}
.category-heading h2{font-size:16px;font-weight:500;line-height:25px}
.category-heading p{font-size:14px;font-weight:300;line-height:22px;margin-top:8px;color:#1f1f1f}
.parts-grid{display:flex;flex-wrap:wrap;justify-content:center;list-style:none;padding:0;margin:0}
.part-item{width:20%;height:178px}
.part-card{width:100%;height:100%;border:1px solid #efefef;padding:8px;display:flex;flex-direction:column;gap:8px;text-align:right}
.part-card:hover{border-color:#c30400;position:relative;z-index:1}
.part-picture{display:block;background:#fafafa;padding:8px;border-radius:8px;width:100%;flex:1;min-height:0}
.picture-crop{display:block;position:relative;width:100%;height:100%;overflow:hidden;border-radius:8px}
.picture-crop>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;max-width:none}
.crop-coil>img{height:66.87%;width:57.95%;left:20.78%;top:16.56%;object-fit:fill}
.crop-cylinder>img{height:119.61%;width:58.22%;left:20.89%;top:-9.8%;object-fit:fill}
.crop-belt>img{height:161.3%;width:135.81%;left:-14.79%;top:-34.35%;object-fit:fill}
.part-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 4px;min-height:35px;width:100%;font-size:12px;line-height:19px}
.part-label>span{min-width:0}.part-label>img{width:16px;height:16px;flex:none}
.site-footer{margin-top:48px}
.footer-glow{background:none;width:1440px;height:712px;top:0;left:calc(50% - 720px)}
.footer-glow img{width:100%;height:100%;max-width:none}
.copyright{flex-wrap:wrap}
.search-feedback{max-width:1058px;margin:32px auto 0;padding:16px 24px;background:#fafafa;display:flex;align-items:center;justify-content:space-between;gap:20px}
.search-feedback .button{flex:none}
#part-dialog{width:min(580px,calc(100% - 32px))}
#part-preview{width:100%;height:280px;object-fit:contain;background:#fafafa;border-radius:8px}
.part-note{margin-top:20px;font-size:14px;line-height:28px}
@media(max-width:1300px){.main-navigation{gap:14px}.header-tools{gap:14px}.socials{gap:10px}.dashboard{width:145px;padding-inline:10px}.parts-category{padding-inline:40px}}
@media(max-width:1050px){.site-header{margin-top:32px}.menu-toggle{display:block;min-height:34px;background:#f5f5f5}.header-tools{margin-inline-start:auto}.main-navigation{display:none;position:absolute;top:50px;left:0;right:0;padding:24px;background:white;border:1px solid #eee;box-shadow:0 12px 30px #0002;border-radius:8px;flex-direction:column;align-items:stretch;gap:18px}.main-navigation.is-open{display:flex}.main-navigation a,.nav-button{text-align:right;font-size:14px}.design-current:after{display:none}.hero-script{font-size:150px;line-height:170px;top:180px}.hero-car{width:760px;height:220px;top:220px}.parts-search{gap:24px;padding-inline:24px}.brand-filter{width:180px;padding-right:16px}.brand-filter:before{right:-12px}.brand-filter:after{left:-12px}.parts-category{padding-inline:0}.part-item{width:25%}.copyright{padding-inline:16px}.search-feedback{margin-inline:32px}}
@media(max-width:700px){.container,.site-header{width:calc(100% - 40px)}.site-header{margin-top:24px;gap:12px}.header-tools{display:none}.menu-toggle{margin-inline-start:auto;min-height:40px}.mobile-header-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #efefef;padding-top:16px}.mobile-header-tools .icon-button{min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center}#parts-page{margin-top:32px}.parts-hero{height:580px}.hero-heading{top:28px;max-width:calc(100% - 40px)}.hero-heading h1{font-size:28px;line-height:44px;letter-spacing:-1px}.hero-heading>p{font-size:13px;line-height:24px}.hero-script{top:174px;font-size:85px;line-height:100px;width:650px;max-width:none}.hero-car{top:210px;width:480px;height:139px}.parts-search{top:340px;max-width:calc(100% - 40px);height:auto;padding:20px;display:grid;grid-template-columns:1fr auto;gap:16px}.search-field{grid-column:1/-1;border-bottom:1px solid #efefef;padding-bottom:12px;height:50px}.brand-filter{width:auto;padding:0}.brand-filter:before,.brand-filter:after{display:none}.show-results{height:44px;padding-inline:12px}.brand-filter small{font-size:11px}.brand-filter>span{font-size:13px}.categories{margin-top:24px;gap:24px}.parts-category{width:calc(100% - 40px);padding:24px 0}.category-heading{margin-bottom:20px}.category-heading p{font-size:13px;line-height:24px}.part-item{width:50%;height:190px}.part-label{font-size:12px;line-height:20px;min-height:56px;gap:4px;padding:6px 2px}.part-picture{padding:6px}.search-feedback{margin:24px 20px 0;padding:16px;flex-direction:column;align-items:stretch}.search-feedback .button{min-height:44px}.part-note{font-size:13px;line-height:26px}#part-preview{height:220px}}
@media(max-width:370px){.container,.site-header{width:calc(100% - 32px)}.hero-heading h1{font-size:25px}.hero-heading{max-width:calc(100% - 32px)}.hero-car{width:410px;height:119px;top:229px}.parts-search{max-width:calc(100% - 32px);padding:16px;gap:14px 8px}.show-results{padding:8px;font-size:11px;gap:4px}.brand-filter img{width:20px;height:20px}.brand-filter small{font-size:10px}.parts-category{width:calc(100% - 32px)}.part-card{padding:6px}.part-label{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Keep both ends of the original vehicle visible on narrow screens. */
@media(max-width:700px){.hero-car{width:100%;height:auto;aspect-ratio:846/245;top:auto;bottom:231px}}

@media(max-width:700px){
 .site-footer{padding-top:48px;margin-top:40px}.footer-intro .full-logo{width:290px;height:43px}.footer-intro>p{font-size:14px;line-height:28px;margin-block:24px}.footer-contact{flex-direction:column;gap:24px;padding-block:24px}.footer-contact:before,.footer-contact:after{left:0;right:0}.footer-contact>div{width:100%;max-width:310px}.footer-contact p,.footer-contact a{font-size:13px}.footer-links{margin-block:40px 48px;display:grid;grid-template-columns:1fr 1fr;gap:32px 24px}.footer-links h3{font-size:15px;margin-bottom:16px}.footer-links li,.text-button{font-size:13px;line-height:22px}.footer-links ul{gap:14px}.text-button{min-height:22px}.copyright{gap:4px;padding:12px 20px;text-align:center}.copyright p{white-space:normal;font-size:12px;line-height:22px}.copyright [lang=en]{font-size:12px;line-height:22px;width:100%}.dialog-heading h2{font-size:17px}.dialog-heading{gap:12px}
}

.site-footer{margin-top:48px}

/* Article frame 1234:10719. Dimensions from the original Figma node. */
:root{--content:1248px}.container{width:min(1248px,calc(100% - 64px))}
.header-tools{width:308px;gap:24px}.header-tools .dashboard{width:130px;padding-inline:16px}.socials{gap:20px}.socials button{font-size:12px;line-height:19px;font-weight:300;padding:0;white-space:nowrap}
.article-layout{display:grid;grid-template-columns:459px minmax(0,1fr);gap:16px;margin-top:48px;align-items:start}
.article-picture img{width:459px;height:364px;object-fit:cover}
.article-details{position:relative}.article-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;height:40px}
.article-heading h1{font-size:20px;line-height:31px;font-weight:500}
.article-actions{display:flex;gap:13px}.article-actions button{width:40px;height:40px;padding:12px;border-radius:8px;background:#f5f5f5}.article-actions img{width:16px;height:16px}.article-actions button[aria-pressed=true]{background:#fbe3e3;box-shadow:inset 0 0 0 1px #c30400}
.article-body{display:flex;flex-direction:column;gap:24px;margin-top:24px}.article-body h2{font-size:16px;line-height:25px;font-weight:400}
.article-copy{margin-top:8px;font-size:16px;line-height:30px;font-weight:300;color:#1f1f1f}.article-copy strong{font-weight:500;color:black}
.article-callout{padding:8px 16px;background:#fef2f2;color:#ec2d30;border-radius:4px;align-self:flex-start;font-weight:500;font-size:16px;line-height:25px}
.article-body hr{width:100%;height:0;border:0;margin:0;box-shadow:0 -1px #efefef}
.related{position:relative;margin-top:96px}.related:before{content:'';position:absolute;top:-48px;left:0;right:0;height:1px;background:#efefef}.related .category-heading{margin-bottom:48px}
.bookmark-status{margin-top:20px;background:#fafafa;padding:12px 16px;font-size:13px;line-height:24px;border:1px solid #efefef}
#share-dialog p{font-size:14px;line-height:26px}#share-dialog label{display:block;margin-top:20px;font-size:13px}#share-url{display:block;width:100%;border:1px solid #ddd;border-radius:4px;padding:10px;margin:8px 0 12px;overflow:auto}#share-status{margin-top:12px}
@media(max-width:1300px){.header-tools{gap:16px}.socials{gap:12px}.article-layout{grid-template-columns:minmax(280px,36.78%) minmax(0,1fr)}.article-picture img{width:100%;height:auto;aspect-ratio:459/364}.article-callout{font-size:15px}.article-copy{font-size:15px}}
@media(max-width:1050px){.header-tools{width:auto}.article-layout{gap:24px;grid-template-columns:1fr}.article-picture{max-width:459px;margin-inline:auto;width:100%}.article-details{width:100%}.article-copy{font-size:16px}.related{margin-top:72px}.related:before{top:-36px}.related .part-item{width:20%}.related .part-label{gap:4px;font-size:11px}}
@media(max-width:700px){.container{width:calc(100% - 40px)}.header-tools{display:none}.mobile-header-tools .socials{gap:20px}.article-layout{margin-top:32px;gap:28px}.article-picture{max-width:380px}.article-heading{height:auto;min-height:44px;gap:16px}.article-heading h1{line-height:36px}.article-actions button{width:44px;height:44px;padding:14px}.article-actions{gap:10px}.article-body{gap:24px;margin-top:24px}.article-copy{font-size:15px;line-height:30px}.article-body h2{font-size:16px;line-height:28px}.article-callout{font-size:14px;line-height:28px}.related{margin-top:64px}.related:before{top:-32px}.related .category-heading{margin-bottom:24px}.related .part-item{width:50%;height:190px}.related .part-label{font-size:12px}.site-footer{margin-top:40px}}
@media(max-width:370px){.container{width:calc(100% - 32px)}.article-copy{font-size:14px;line-height:28px}.article-callout{padding:10px 12px}}

.picture-crop img{object-fit:contain}
/* /parts-guide/{slug}: no matching page on toyotairan.mhyeganeh.ir — same type scale and content width as the matched pages
   (measured at 1440px); picture and cards grow with the wider content (x1.094). Sizes only. */
@media(min-width:1251px){
 .container,.parts-category{width:min(1400px,calc(100% - 60px));max-width:none}
 .article-layout{grid-template-columns:502px minmax(0,1fr);gap:20px;margin-top:50px}
 .article-picture img{width:502px;height:398px}
 .article-heading h1{font-size:22.5px;line-height:35px}
 .article-body h2{font-size:16.5px;line-height:26px}
 .article-copy{font-size:16.5px;line-height:31px}
 .article-callout{font-size:16.5px;line-height:26px;border-radius:5px}
 .bookmark-status{font-size:14.25px;line-height:26px}
 .related{margin-top:100px}
 .related .category-heading{margin-bottom:50px}
 .category-heading h2{font-size:16.5px;line-height:26px}
 .category-heading p{font-size:15px;line-height:24px}
 .part-item{height:197px}
 .part-label{font-size:13.5px;line-height:21px}
}
