/* Only browser-native replacements for the original theme's JS widgets. */
.legacy-site{--e-global-typography-text-font-family:"گندم";font-family:"گندم",sans-serif;background:#fff;color:#777;line-height:1.6;direction:rtl;overflow:clip;min-height:100vh;font-size:14px}
.legacy-site.elementor-kit-12{
  --e-global-typography-primary-font-family:"گندم";
  --e-global-typography-secondary-font-family:"گندم";
  --e-global-typography-text-font-family:"گندم";
  --e-global-typography-accent-font-family:"گندم";
  --e-global-typography-42875fd-font-family:"گندم";
  --e-global-typography-1b63db5-font-family:"گندم";
  --wd-text-font:"گندم",sans-serif;
  --wd-title-font:"گندم",sans-serif;
  --wd-entities-title-font:"گندم",sans-serif;
  --wd-alternative-font:"گندم",sans-serif;
  --wd-widget-title-font:"گندم",sans-serif;
  --wd-header-el-font:"گندم",sans-serif;
  --btn-font-family:"گندم",sans-serif;
  --btn-default-font-family:"گندم",sans-serif;
  --btn-accented-font-family:"گندم",sans-serif;
}
/* Recovered widgets include local font overrides; keep all text on the site font. */
.legacy-site :where(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,blockquote,figcaption,label,button,input,textarea,select,option,summary,td,th,caption,legend,small,strong,b,em,time,.elementor-widget-text-editor,.elementor-heading-title,.elementor-icon-list-text,.elementor-button-text,.nav-link-text){font-family:"گندم",sans-serif!important}
.legacy-site .legacy-header{height:80px;background:#eaf0f2;position:relative;z-index:50;box-shadow:0 6px 12px rgb(0 0 0 / 7%)}
.legacy-site .legacy-header-inner{max-width:1360px;height:100%;margin:0 auto;display:flex;align-items:flex-end;padding:6px 15px 10px;gap:0;box-sizing:border-box}
.legacy-site .legacy-symbol{width:54px;min-width:54px;display:block;margin-left:32px}
.legacy-site .legacy-symbol img{display:block;width:54px;height:64px;object-fit:contain}
.legacy-site .legacy-desktop-navigation{margin-left:auto}
.legacy-site .legacy-menu{display:flex;gap:34px;align-items:center;list-style:none;padding:0;margin:0}
.legacy-site .legacy-menu>li{position:relative;margin:0;list-style:none}
.legacy-site .legacy-menu a{font-size:17px;line-height:26px;color:#444;display:flex;align-items:center;gap:5px;padding:0;text-decoration:none;white-space:nowrap}
.legacy-site .legacy-menu a:hover{color:#3e5fa8}
.legacy-site .legacy-menu .sub-menu{position:absolute;top:100%;right:-15px;width:230px;padding:12px 20px;margin:0;list-style:none;background:white;border:1px solid #eee;visibility:hidden;opacity:0;transition:opacity .15s}
.legacy-site .legacy-menu li:hover>.sub-menu,.legacy-site .legacy-menu li:focus-within>.sub-menu{visibility:visible;opacity:1}
.legacy-site .legacy-menu .sub-menu a{padding:8px 0;font-size:13px}
.legacy-site .legacy-header-actions{display:flex;gap:16px;align-items:center;margin:0 16px}
.legacy-site .legacy-header-search{display:flex;align-items:center;gap:6px;margin:0;width:372px;max-width:28vw}
.legacy-site .legacy-header-search input{display:block;min-width:0;flex:1;width:100%;height:24px;min-height:24px;padding:0 8px;border:0;border-radius:0;background:#fff;box-shadow:none;font-size:14px;line-height:24px;color:#333}
.legacy-site .legacy-header-search button{display:flex;align-items:center;justify-content:center;width:24px;min-width:24px;height:24px;min-height:24px;padding:0;background:transparent;border:0;color:#444;cursor:pointer}
.legacy-site .legacy-header-search svg{width:22px;height:22px;stroke-width:1.7}
.legacy-site .legacy-header-search input:focus-visible{outline:2px solid #3e5fa8;outline-offset:2px}
.legacy-site .legacy-search-toggle{display:none;padding:0;background:transparent;border:0;min-width:24px;color:#333;height:26px}
.legacy-site .legacy-search-toggle svg{width:24px;height:24px}
.legacy-site .legacy-wordmark{display:block;width:76px;min-width:76px;margin-right:0}
.legacy-site .legacy-wordmark img{display:block;width:76px;height:auto}
.legacy-site .legacy-menu-toggle{display:none;border:0;background:#041e42;color:white;border-radius:2px;padding:8px}
.legacy-site .legacy-menu-toggle svg{width:23px;height:23px}
.legacy-site [hidden]{display:none!important}
.legacy-site .legacy-main{min-height:150px;width:100%;padding-top:40px;padding-bottom:0}
.legacy-site .legacy-search-panel{position:absolute;top:100%;right:0;background:#fff;border:1px solid #eee;width:100%;padding:20px 8%;display:flex;gap:20px;align-items:center}
.legacy-site .legacy-search-panel input{width:min(500px,100%)}
.legacy-site .legacy-inline-icon{width:1em;height:1em;display:inline-block}
.legacy-site .legacy-footer .elementor-nav-menu{list-style:none;margin:0;padding:0}
.legacy-site .legacy-footer .elementor-nav-menu a{display:block;padding:7px 0}
.legacy-site .elementor-background-video-hosted{position:absolute;top:50%;left:50%;width:100%;height:100%;object-fit:cover;transform:translate(-50%,-50%)}
.legacy-site .elementor-background-video-container{inset:0;overflow:hidden;z-index:0}
.legacy-site .elementor-background-video-container:before{z-index:1}
.legacy-site .legacy-blog-grid,.legacy-site .legacy-products-grid{display:grid;grid-template-columns:repeat(var(--legacy-columns,3),minmax(0,1fr));gap:20px;direction:rtl}
.legacy-site .legacy-blog-card{border:1px solid #eee;background:#fff;overflow:hidden;text-align:center;align-self:start}
.legacy-site .legacy-card-image{display:block;position:relative}
.legacy-site .legacy-card-image img{width:100%;height:200px;object-fit:cover}
.legacy-site .legacy-card-image time{position:absolute;right:10px;top:10px;background:#fff;padding:8px;font-size:11px;direction:ltr}
.legacy-site .legacy-card-copy{padding:18px 20px 25px}
.legacy-site .legacy-card-copy h3{font-family:"گندم";font-size:18px;line-height:1.7;margin-bottom:15px}
.legacy-site .legacy-card-copy p{font-size:13px;line-height:1.9;color:#777}
.legacy-site .legacy-read-more{display:inline-block;color:#041e42;font-size:13px;margin-top:20px}
.legacy-site .legacy-product-card{text-align:center}
.legacy-site .legacy-product-card img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.legacy-site .legacy-product-card h3{font:500 14px/1.8 "گندم";margin:15px 0 7px}
.legacy-site .legacy-product-card>span{font-size:12px;color:#999}
.legacy-site .legacy-gallery{display:flex;overflow-x:auto;gap:20px;scroll-snap-type:x mandatory;max-width:100%;scrollbar-width:thin}
.legacy-site .legacy-gallery figure{flex:0 0 100%;margin:0;scroll-snap-align:start}
.legacy-site .legacy-gallery img{width:100%;height:auto}
/* Elementor's row container otherwise sizes this widget to its image content. */
.legacy-site .elementor-widget-wd_images_gallery{width:100%;min-width:0;align-self:stretch}
.legacy-site .legacy-client-logos{display:grid;width:100%;grid-template-columns:repeat(11,minmax(0,1fr));gap:16px 12px;align-items:center;overflow:visible;scroll-snap-type:none}
.legacy-site .legacy-client-logos figure{display:flex;align-items:center;justify-content:center;min-width:0;height:96px;margin:0;padding:8px}
.legacy-site .legacy-client-logos img{display:block;width:100%;height:100%;max-width:100px;max-height:80px;object-fit:contain;object-position:center}
.legacy-site .legacy-map{width:100%;height:400px;border:0}
.legacy-site .elementor-accordion details summary{display:flex;justify-content:space-between;cursor:pointer;list-style:none}
.legacy-site .elementor-form-fields-wrapper{display:flex;flex-wrap:wrap;gap:15px}
.legacy-site .elementor-field-group{position:relative;display:flex;flex-direction:column;width:100%}
.legacy-site .elementor-field-label{font-family:"گندم";margin-bottom:6px}
.legacy-site input,.legacy-site textarea,.legacy-site select{font-family:"گندم";font-size:14px}
.legacy-site .legacy-form-status{font-size:12px;line-height:2;color:#041e42;margin-top:14px}
.legacy-site .legacy-shop-heading{margin:0 auto 45px;max-width:1222px;padding:40px 20px;text-align:center}
.legacy-site .legacy-kind-page>.elementor-1783{max-width:1222px;margin:0 auto;padding:0 15px 60px}
.legacy-site .legacy-product-breadcrumb{max-width:1222px;margin:0 auto;padding:0 20px 20px;font-size:12px}
.legacy-site .legacy-product-main img{width:100%;object-fit:contain}
.legacy-site .legacy-product-thumbs{display:flex;gap:8px;overflow:auto;margin-top:15px}
.legacy-site .legacy-product-thumbs button{padding:0;border:1px solid #ddd;background:#fff;min-width:70px;width:70px;height:70px}
.legacy-site .legacy-product-thumbs img{width:100%;height:100%;object-fit:contain}
.legacy-site .legacy-product-options label{display:block;margin:12px 0}
.legacy-site .legacy-product-options select{margin-top:6px}
.legacy-site .legacy-inquiry-link{margin-top:15px;background:#041e42;color:#fff}
.legacy-site .legacy-product-inquiry-wrapper{max-width:800px;margin:40px auto 70px;padding:20px}
.legacy-site .legacy-post-header{max-width:1000px;padding:35px 20px;margin:0 auto;text-align:center}
.legacy-site .legacy-post-header h1{font-family:"گندم";font-size:32px;line-height:1.8;margin:20px 0}
.legacy-site .legacy-account{max-width:700px;min-height:450px;padding:40px 20px;margin:0 auto}
.legacy-site .legacy-account h1{font-family:"گندم";font-size:30px;margin-bottom:35px}
.legacy-site .legacy-account label{display:block;margin:20px 0}
.legacy-site .legacy-account button{margin-top:15px;background:#041e42;color:white}
.legacy-site .legacy-search-results{max-width:1100px;margin:auto;padding:50px 20px;min-height:500px}
.legacy-site .legacy-search-list{display:grid;gap:15px;margin:35px 0}
.legacy-site .legacy-skip-link{position:fixed;top:-100px;right:15px;z-index:100;background:white;padding:12px}
.legacy-site .legacy-skip-link:focus{top:10px}
@media(max-width:1024px){.legacy-site .legacy-header{height:60px}.legacy-site .legacy-header-inner{justify-content:space-between;align-items:center;padding:0 16px}.legacy-site .legacy-desktop-navigation,.legacy-site .legacy-symbol,.legacy-site .legacy-header-search{display:none}.legacy-site .legacy-search-toggle{display:flex;align-items:center;justify-content:center}.legacy-site .legacy-menu-toggle{display:block;order:-1}.legacy-site .legacy-header-actions{order:2;margin:0;gap:10px}.legacy-site .legacy-wordmark{width:100px;min-width:100px;margin:0}.legacy-site .legacy-wordmark img{width:100px}.legacy-site .legacy-search-panel{top:60px;flex-wrap:wrap;gap:12px;padding:16px}.legacy-site .legacy-search-panel label{width:100%}.legacy-site .legacy-search-panel input{flex:1;min-width:0;width:auto}.legacy-site .legacy-mobile-navigation{position:absolute;top:60px;right:0;width:100%;background:#eaf0f2;padding:15px 25px;border-top:1px solid #ddd}.legacy-site .legacy-mobile-navigation .legacy-menu{display:block}.legacy-site .legacy-menu .sub-menu{position:static;display:block;visibility:visible;opacity:1;background:none;border:none;width:auto}.legacy-site .legacy-mobile-navigation .legacy-menu a{padding:8px}.legacy-site .legacy-client-logos{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:767px){.legacy-site .legacy-blog-grid,.legacy-site .legacy-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-site .legacy-client-logos{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px}.legacy-site .legacy-card-copy{padding:12px}.legacy-site .legacy-card-copy h3{font-size:14px}.legacy-site .legacy-card-image img{height:150px}.legacy-site .legacy-products-grid{gap:15px}.legacy-site .legacy-main{padding-top:40px}.legacy-site .legacy-post-header h1{font-size:24px}.legacy-site .legacy-map{height:300px}}
.legacy-site .elementor-element-265c3d9{background-image:url('/legacy/deno-homepage-poster.jpg');background-size:cover;background-position:center}
.legacy-site .elementor-background-video-container,.legacy-site .elementor-background-video-hosted{display:block;visibility:visible}
.legacy-site .legacy-public-form button:disabled{opacity:.65;cursor:wait}

/* Newsletter: copy on the right, email in the middle, subscribe on the left. */
.legacy-site .legacy-footer.elementor-568 .elementor-element-cdc6a41>.e-con-inner{
  display:grid;
  grid-template-columns:minmax(240px,1fr) minmax(0,2fr);
  align-items:center;
  gap:32px;
  padding:28px 20px;
}
.legacy-site .legacy-footer.elementor-568 .elementor-element-3ad4e38{
  width:100%;
  min-width:0;
  padding:0;
  margin:0;
  gap:8px;
  align-self:center;
}
.legacy-site .legacy-footer.elementor-568 .elementor-element-3ad4e38 :where(h2,p){margin:0;text-align:right}
.legacy-site .legacy-footer.elementor-568 .elementor-element-c960be8{width:100%;max-width:100%;min-width:0;margin:0;align-self:center}
.legacy-site .legacy-footer.elementor-568 .elementor-element-c960be8 .elementor-form-fields-wrapper{
  display:grid;
  grid-template-columns:minmax(0,1fr) 160px;
  align-items:center;
  gap:16px;
  margin:0;
}
.legacy-site .legacy-footer.elementor-568 .elementor-element-c960be8 .elementor-field-group{width:100%;min-width:0;padding:0;margin:0}
.legacy-site .legacy-footer.elementor-568 .elementor-element-c960be8 :where(input:not([type=hidden]),button[type=submit]){width:100%;height:48px;min-height:48px;margin:0}
.legacy-site .legacy-footer.elementor-568 .elementor-element-c960be8 button[type=submit]{position:static;inset:auto;white-space:nowrap;padding:0 20px}
.legacy-site .legacy-footer.elementor-568 .elementor-element-c960be8 .legacy-form-status:empty{display:none}
@media(max-width:767px){
  .legacy-site .legacy-footer.elementor-568 .elementor-element-cdc6a41>.e-con-inner{grid-template-columns:minmax(0,1fr);gap:20px;padding:24px 20px}
  .legacy-site .legacy-footer.elementor-568 .elementor-element-c960be8 .elementor-form-fields-wrapper{grid-template-columns:minmax(0,1fr) 160px;gap:12px}
  .legacy-site .legacy-footer.elementor-568 .elementor-element-c960be8 button[type=submit]{padding:0 12px}
}
@media(max-width:359px){
  .legacy-site .legacy-footer.elementor-568 .elementor-element-c960be8 .elementor-form-fields-wrapper{grid-template-columns:minmax(0,1fr)}
}

@media(max-width:767px){.legacy-site .legacy-client-logos figure{height:80px;padding:4px}}
@media(max-width:359px){.legacy-site .legacy-client-logos{grid-template-columns:repeat(3,minmax(0,1fr))}}
