@font-face{font-family:StorefrontIranSans;src:url('../fonts/IRANSansWeb.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:StorefrontIranSans;src:url('../fonts/IRANSansWeb_Bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{font-family:StorefrontIranSans,Tahoma,sans-serif;color:#1d2939;background:#fff;font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:82px}
body{margin:0;font-family:StorefrontIranSans,Tahoma,sans-serif;line-height:1.9;background:#fff;color:#1d2939}
a{color:inherit;text-decoration:none}
.storefront-container{width:min(1120px,calc(100% - 40px));margin-inline:auto}
.storefront-preview-ribbon{position:relative;z-index:50;background:#7a4c0b;color:#fff;text-align:center;padding:7px 12px;font-size:.82rem}
.storefront-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid #e9edf3}
.storefront-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.storefront-brand{display:flex;align-items:center;gap:11px;min-width:0;font-size:1rem;color:#1d2939}
.storefront-brand img{width:48px;height:48px;object-fit:contain;border-radius:12px;background:#fff}
.storefront-brand-fallback{width:44px;height:44px;display:grid;place-items:center;background:var(--brand-color);color:#fff;border-radius:13px;font-weight:700;font-size:1.15rem}
.storefront-nav{display:flex;align-items:center;gap:25px;font-size:.86rem;color:#566274}
.storefront-nav>a:not(.storefront-login-link):hover,.storefront-text-link:hover{color:var(--brand-color)}
.storefront-login-link{padding:9px 17px;border-radius:9px;background:var(--brand-color);color:#fff;font-weight:700;white-space:nowrap}
.storefront-hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#f7f9fc,#edf3fa);padding:76px 0 82px}
.storefront-hero:before{content:"";position:absolute;width:480px;height:480px;border-radius:50%;background:color-mix(in srgb,var(--brand-color) 9%,transparent);left:-180px;top:-250px}
.storefront-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:50px;align-items:center}
.storefront-hero-copy{max-width:590px}
.storefront-eyebrow,.storefront-section-kicker{display:inline-block;color:var(--brand-color);font-size:.82rem;font-weight:700;letter-spacing:.01em}
.storefront-hero h1{font-size:clamp(1.9rem,4.4vw,3.2rem);line-height:1.55;margin:12px 0 15px;color:#14233a;font-weight:700}
.storefront-hero-copy>p{max-width:570px;margin:0;color:#5d6b7e;font-size:1.02rem;line-height:2.2;white-space:pre-line}
.storefront-hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:28px}
.storefront-button{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:9px 23px;border-radius:10px;font-weight:700;font-size:.88rem;transition:transform .15s ease,box-shadow .15s ease}
.storefront-button:hover{transform:translateY(-2px)}
.storefront-button-primary{background:var(--brand-color);color:#fff;box-shadow:0 8px 20px color-mix(in srgb,var(--brand-color) 22%,transparent)}
.storefront-button-light{background:#fff;color:#344054;border:1px solid #e1e7ef}
.storefront-hero-media{height:370px;border-radius:23px;overflow:hidden;background:#e2e9f2;box-shadow:0 20px 55px rgba(27,45,75,.14)}
.storefront-hero-media img{width:100%;height:100%;display:block;object-fit:cover}
.storefront-hero-decoration{height:320px;border-radius:28px;border:1px solid rgba(255,255,255,.85);background:linear-gradient(145deg,color-mix(in srgb,var(--brand-color) 82%,#fff),var(--brand-color));display:grid;place-items:center;color:rgba(255,255,255,.9);font-size:2rem;font-weight:700;box-shadow:0 20px 55px rgba(27,45,75,.13);transform:rotate(2deg)}
.storefront-about{padding:82px 0;background:#fff}
.storefront-about-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:55px;align-items:center}
.storefront-about-media{height:320px;border-radius:20px;overflow:hidden;background:#edf1f6}
.storefront-about-media img{width:100%;height:100%;object-fit:cover;display:block}
.storefront-about-copy h2,.storefront-contact-heading h2{font-size:1.65rem;line-height:1.6;margin:8px 0 14px;color:#17263c}
.storefront-about-text{margin:0;color:#667085;white-space:pre-line;line-height:2.3}
.storefront-text-link{display:inline-flex;align-items:center;gap:9px;margin-top:18px;color:var(--brand-color);font-weight:700;font-size:.88rem}
.storefront-contact{padding:72px 0;background:#f6f8fb}
.storefront-contact-heading{text-align:center;margin-bottom:28px}
.storefront-contact-heading h2{margin-bottom:0}
.storefront-contact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.storefront-contact-item{min-width:0;padding:18px;background:#fff;border:1px solid #e8edf3;border-radius:13px;display:flex;flex-direction:column;gap:6px}
.storefront-contact-item>span{font-size:.76rem;color:#8390a2}
.storefront-contact-item>a,.storefront-contact-item>p{font-size:.88rem;font-weight:700;color:#344054;overflow-wrap:anywhere;margin:0}
.storefront-contact-item>a[dir=ltr]{text-align:right;align-self:flex-start}
.storefront-social-links{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:23px}
.storefront-social-links a{padding:7px 14px;border:1px solid #e1e7ef;background:#fff;border-radius:30px;font-size:.8rem;color:#475467}
.storefront-social-links a:hover{border-color:var(--brand-color);color:var(--brand-color)}
.storefront-footer{padding:21px 0;background:#17263c;color:#d5deea;font-size:.78rem}
.storefront-footer-inner{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.storefront-footer a{color:#fff}

/* قالب کلاسیک */
.template-classic .storefront-hero{background:#f7f2e9;padding-block:64px}
.template-classic .storefront-hero-grid{grid-template-columns:1fr;max-width:900px;text-align:center}
.template-classic .storefront-hero-copy{max-width:780px;margin:auto}
.template-classic .storefront-hero-copy>p{margin-inline:auto}
.template-classic .storefront-hero-actions{justify-content:center}
.template-classic .storefront-hero-media{height:330px;max-width:850px;margin:auto;width:100%;border:8px solid #fff}
.template-classic .storefront-hero-decoration{height:250px;max-width:850px;margin:auto;width:100%;transform:none;border:8px solid #fff;border-radius:12px}
.template-classic .storefront-about{background:#fffdf9}
.template-classic .storefront-contact{background:#f7f2e9}
.template-classic .storefront-login-link,.template-classic .storefront-button{border-radius:4px}

/* قالب مینیمال */
.template-minimal .storefront-header{border-bottom:0}
.template-minimal .storefront-hero{background:#fff;padding-block:90px}
.template-minimal .storefront-hero:before{display:none}
.template-minimal .storefront-hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:35px}
.template-minimal .storefront-hero-media{height:320px;border-radius:5px;box-shadow:none}
.template-minimal .storefront-hero-decoration{height:280px;border-radius:5px;box-shadow:none;transform:none}
.template-minimal .storefront-about{background:#f8f9fb}
.template-minimal .storefront-about-media{border-radius:5px}
.template-minimal .storefront-contact{background:#fff;border-top:1px solid #edf0f4}
.template-minimal .storefront-contact-item{border-radius:5px;box-shadow:none}
.template-minimal .storefront-login-link,.template-minimal .storefront-button{border-radius:5px}

@media(max-width:850px){
 .storefront-container{width:min(100% - 30px,700px)}
 .storefront-header-inner{min-height:68px}
 .storefront-nav{gap:13px}
 .storefront-hero{padding:54px 0}
 .storefront-hero-grid,.template-minimal .storefront-hero-grid{grid-template-columns:1fr;gap:28px}
 .storefront-hero-copy{max-width:none}
 .storefront-hero-media{height:300px}
 .storefront-hero-decoration{height:230px}
 .storefront-about-grid{gap:25px}
 .storefront-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
 .storefront-container{width:calc(100% - 26px)}
 .storefront-header-inner{align-items:flex-start;flex-direction:column;padding-block:11px;gap:9px}
 .storefront-brand img{width:40px;height:40px}
 .storefront-brand-fallback{width:38px;height:38px}
 .storefront-nav{width:100%;justify-content:space-between;gap:8px;font-size:.76rem}
 .storefront-login-link{padding:7px 11px}
 .storefront-hero{padding:39px 0 45px}
 .storefront-hero h1{font-size:1.7rem;line-height:1.65}
 .storefront-hero-copy>p{font-size:.9rem}
 .storefront-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}
 .storefront-button{padding:8px 10px;min-height:43px;font-size:.78rem}
 .storefront-hero-media{height:225px;border-radius:15px}
 .storefront-hero-decoration{height:190px;font-size:1.5rem}
 .storefront-about{padding:48px 0}
 .storefront-about-grid{grid-template-columns:1fr}
 .storefront-about-media{height:210px}
 .storefront-about-copy h2,.storefront-contact-heading h2{font-size:1.3rem}
 .storefront-contact{padding:46px 0}
 .storefront-contact-grid{grid-template-columns:1fr;gap:8px}
 .storefront-contact-item{padding:13px}
 .storefront-footer-inner{justify-content:center;text-align:center;flex-direction:column;gap:3px}
 .template-classic .storefront-hero{padding-block:42px}
 .template-classic .storefront-hero-media{height:220px}
 .template-minimal .storefront-hero{padding-block:45px}
}

.storefront-main-site-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #d9e0ea;border-radius:8px;color:#42516a;font-size:.8rem;white-space:nowrap}
.storefront-main-site-link:hover{border-color:var(--brand-color);color:var(--brand-color)}
@media(max-width:560px){.storefront-nav .storefront-main-site-link{padding:6px 8px;font-size:.7rem}}
