/* ParsAray v165: MATCH MATERIAL HERO HEIGHT TO ACTUAL HOMEPAGE HERO.
 * Measured live home stage: 558 @1440x900, 496 @1280x800,
 * 520 @768x1024; mobile stage 768 @390 and 796 @360.
 * Do not modify homepage hero or non-material landings. */
@media (min-width:981px){
 body.pa123-thermowood main.pa164-hero > .pa-hero,
 body.pa140-parquet main.pa164-hero > .pa-hero{
  height:auto!important;min-height:0!important;max-height:none!important;
  padding:0 0 104px!important;
 }
 body.pa123-thermowood main.pa164-hero > .pa-hero > .pa-hero-stage,
 body.pa140-parquet main.pa164-hero > .pa-hero > .pa-hero-stage{
  height:62svh!important;min-height:0!important;max-height:610px!important;
  aspect-ratio:auto!important;padding:0!important;overflow:visible!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-hero-inner,
 body.pa140-parquet main.pa164-hero .pa-hero-inner{
  box-sizing:border-box!important;
  height:100%!important;min-height:0!important;max-height:none!important;
  width:min(1180px,calc(100% - 48px))!important;
  margin:0 auto!important;
  padding:60px 20px 90px!important;
  display:flex!important;align-items:center!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-hero-content,
 body.pa140-parquet main.pa164-hero .pa-hero-content{
  transform:none!important;max-width:760px!important;
  margin:0!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-stats-floating,
 body.pa140-parquet main.pa164-hero .pa-stats-floating{
  position:absolute!important;
  bottom:-75px!important;top:auto!important;right:50%!important;left:auto!important;
  transform:translateX(50%)!important;
  width:min(1120px,calc(100% - 44px))!important;
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;margin:0!important;padding:0!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-stat-card,
 body.pa140-parquet main.pa164-hero .pa-stat-card{
  min-height:195px!important;
 }
}
@media (min-width:761px) and (max-width:980px){
 body.pa123-thermowood main.pa164-hero > .pa-hero,
 body.pa140-parquet main.pa164-hero > .pa-hero{
  height:auto!important;min-height:0!important;max-height:none!important;
  padding:0 0 104px!important;
 }
 body.pa123-thermowood main.pa164-hero > .pa-hero > .pa-hero-stage,
 body.pa140-parquet main.pa164-hero > .pa-hero > .pa-hero-stage{
  height:520px!important;min-height:0!important;max-height:none!important;
  aspect-ratio:auto!important;padding:0!important;overflow:visible!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-hero-inner,
 body.pa140-parquet main.pa164-hero .pa-hero-inner{
  height:100%!important;min-height:0!important;
  padding:50px 20px 75px!important;
  display:flex!important;align-items:center!important;
  width:calc(100% - 42px)!important;margin:0 auto!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-hero-content,
 body.pa140-parquet main.pa164-hero .pa-hero-content{
  transform:none!important;max-width:620px!important;margin:0!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-stats-floating,
 body.pa140-parquet main.pa164-hero .pa-stats-floating{
  position:absolute!important;
  bottom:-66px!important;top:auto!important;right:50%!important;left:auto!important;
  transform:translateX(50%)!important;
  width:min(100%,calc(100% - 28px))!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;margin:0!important;padding:0!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-stat-card,
 body.pa140-parquet main.pa164-hero .pa-stat-card{
  min-height:105px!important;padding:10px 13px!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-stat-card p,
 body.pa140-parquet main.pa164-hero .pa-stat-card p{display:none!important}
}
@media (max-width:760px){
 body.pa123-thermowood main.pa164-hero > .pa-hero,
 body.pa140-parquet main.pa164-hero > .pa-hero{
  height:auto!important;min-height:0!important;max-height:none!important;
  padding:0 0 27px!important;
 }
 body.pa123-thermowood main.pa164-hero > .pa-hero > .pa-hero-stage,
 body.pa140-parquet main.pa164-hero > .pa-hero > .pa-hero-stage{
  height:auto!important;min-height:0!important;max-height:none!important;
  aspect-ratio:auto!important;
  padding:0!important;overflow:visible!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-hero-inner,
 body.pa140-parquet main.pa164-hero .pa-hero-inner{
  min-height:clamp(460px,calc(838px - 90vw),550px)!important;
  height:auto!important;max-height:none!important;
  padding:42px 22px 42px!important;
  width:calc(100% - 36px)!important;margin:0 auto!important;
  display:flex!important;align-items:flex-start!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-hero-content,
 body.pa140-parquet main.pa164-hero .pa-hero-content{
  transform:none!important;width:100%!important;max-width:100%!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-stats-floating,
 body.pa140-parquet main.pa164-hero .pa-stats-floating{
  position:relative!important;
  bottom:auto!important;top:auto!important;right:auto!important;left:auto!important;
  transform:none!important;
  width:calc(100% - 36px)!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;margin:0 auto!important;
  padding:0 0 22px!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-stat-card,
 body.pa140-parquet main.pa164-hero .pa-stat-card{
  min-height:125px!important;padding:17px!important;
  height:auto!important;box-sizing:border-box!important;
 }
 body.pa123-thermowood main.pa164-hero .pa-stat-card p,
 body.pa140-parquet main.pa164-hero .pa-stat-card p{display:none!important}
}

/* The homepage switches from overlaid to in-flow benefit cards at 760px.
   Follow its content-based inner height instead of v118's 100svh minimum. */
@media (min-width:561px) and (max-width:760px){
 body.pa123-thermowood main.pa164-hero .pa-hero-inner,
 body.pa140-parquet main.pa164-hero .pa-hero-inner{
  min-height:425px!important;
 }
}
@media (min-width:391px) and (max-width:560px){
 body.pa123-thermowood main.pa164-hero .pa-hero-inner,
 body.pa140-parquet main.pa164-hero .pa-hero-inner{
  min-height:calc(366px + 29.3vw)!important;
 }
}

/* v165 mobile menu: restore the desktop products and projects groups as
   native, accessible accordions inside the bespoke high-contrast drawer. */
@media (max-width:980px){
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group{
  display:block!important;min-width:0;width:100%;position:relative;
 }
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group>.pa165-mobile-parent{
  appearance:none;box-sizing:border-box;
  width:100%!important;min-width:0!important;
  min-height:76px!important;padding:9px 12px!important;
  display:grid!important;grid-template-columns:52px minmax(0,1fr) 28px!important;
  gap:13px!important;align-items:center!important;
  border:1px solid rgba(230,217,182,.17)!important;border-radius:20px!important;
  background:linear-gradient(100deg,rgba(250,246,228,.07),rgba(250,246,228,.10))!important;
  color:#fff7e7!important;-webkit-text-fill-color:#fff7e7!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025)!important;
  text-align:right!important;
  font-family:"PA164-IRANSansX",IRANSansX,Tahoma,sans-serif!important;
  cursor:pointer;position:relative;
  transition:background .26s ease,border-color .26s ease,box-shadow .26s ease,translate .26s ease!important;
 }
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group>.pa165-mobile-parent:hover,
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group>.pa165-mobile-parent:focus-visible,
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group.is-open>.pa165-mobile-parent{
  background:linear-gradient(112deg,rgba(233,194,119,.18),rgba(255,249,229,.07))!important;
  border-color:rgba(236,202,140,.59)!important;
  box-shadow:inset 0 1px rgba(250,227,180,.10),0 10px 23px rgba(0,0,0,.12)!important;
 }
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group>.pa165-mobile-parent:focus-visible{
  outline:2px solid #f2d597!important;outline-offset:3px!important;
 }
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group>.pa165-mobile-parent .pa164-mi{
  position:relative!important;
  width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;
  display:grid!important;place-items:center!important;
  padding:0!important;box-sizing:border-box!important;
  border-radius:17px!important;
  border:1px solid rgba(255,254,225,.75)!important;
  background:linear-gradient(135deg,#fae8bb,#e0b76d)!important;
  color:#173c2b!important;-webkit-text-fill-color:#173c2b!important;
  box-shadow:0 6px 20px rgba(1,8,5,.25),inset 0 1px 0 rgba(255,255,255,.65)!important;
  overflow:hidden;
  transition:transform .32s cubic-bezier(.2,.8,.3,1),background .3s!important;
 }
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group>.pa165-mobile-parent .pa164-mi>svg{
  width:27px!important;height:27px!important;
  fill:none!important;stroke:#173c2b!important;stroke-width:1.85!important;color:#173c2b!important;
  transition:transform .3s ease!important;
 }
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group>.pa165-mobile-parent .pa164-mi__gleam{
  display:none!important;
 }
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group.is-open>.pa165-mobile-parent .pa164-mi,
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group>.pa165-mobile-parent:hover .pa164-mi{
  transform:scale(1.055) rotate(-4deg)!important;background:linear-gradient(135deg,#fff2d1,#ecc67c)!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-parent__copy{
  display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;
  gap:3px!important;min-width:0!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-parent__copy b{
  display:block!important;color:#fff9e9!important;-webkit-text-fill-color:#fff9e9!important;
  font-size:13px!important;line-height:1.65!important;font-weight:850!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-parent__copy small{
  display:block!important;color:#c2c9bb!important;-webkit-text-fill-color:#c2c9bb!important;
  font-size:10px!important;line-height:1.65!important;font-weight:530!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-chevron{
  display:grid!important;place-items:center!important;
  width:28px!important;height:28px!important;min-width:0!important;
  border-radius:10px!important;
  background:rgba(235,202,137,.16)!important;
  color:#ebcb8a!important;-webkit-text-fill-color:#ebcb8a!important;
  transition:transform .32s ease,background .32s ease!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-chevron svg{
  width:17px!important;height:17px!important;stroke:currentColor!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-group.is-open .pa165-mobile-chevron{
  transform:rotate(180deg)!important;
  background:rgba(235,202,137,.33)!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-submenu[hidden]{
  display:none!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-submenu:not([hidden]){
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;
  min-width:0!important;
  padding:13px 8px 11px 8px!important;
  margin:7px 4px 8px 4px!important;
  border-radius:17px!important;
  border:1px solid rgba(229,199,135,.25)!important;
  background:linear-gradient(165deg,rgba(2,13,8,.58),rgba(21,43,30,.83))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035)!important;
  animation:pa165-submenu-arrive .32s cubic-bezier(.2,.77,.3,1) both;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-submenu__label{
  display:flex!important;justify-content:space-between;align-items:center;gap:7px;
  padding:1px 9px 7px!important;
  color:#ddc99f!important;font-size:10px!important;font-weight:760!important;
  border-bottom:1px solid rgba(232,207,158,.12)!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-submenu__label span:last-child{
  font:750 9px/1.6 "PA164-IRANSansX",IRANSansX,Tahoma,sans-serif!important;
  color:#bec6b5!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-submenu a.pa165-mobile-subitem{
  display:grid!important;
  grid-template-columns:39px minmax(0,1fr) 18px!important;
  gap:10px!important;align-items:center!important;
  min-height:55px!important;
  margin:0!important;padding:7px 10px!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.04)!important;
  border:1px solid rgba(236,213,167,.095)!important;
  color:#f9eed8!important;-webkit-text-fill-color:#f9eed8!important;
  text-align:right!important;text-decoration:none!important;
  box-shadow:none!important;
  transition:background .23s,border-color .23s,transform .23s!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-submenu a.pa165-mobile-subitem:is(:hover,:focus-visible,.is-current){
  background:rgba(223,187,118,.15)!important;border-color:rgba(232,201,140,.48)!important;
  transform:translateX(-2px)!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-submenu a.pa165-mobile-subitem:focus-visible{
  outline:2px solid #efce90!important;outline-offset:2px!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-subitem__icon{
  display:grid!important;place-items:center!important;
  width:39px!important;height:39px!important;
  border-radius:12px!important;
  background:rgba(237,206,152,.16)!important;
  border:1px solid rgba(238,206,148,.23)!important;
  color:#edd8aa!important;-webkit-text-fill-color:#edd8aa!important;
  transition:background .22s!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-subitem:is(:hover,:focus-visible,.is-current) .pa165-mobile-subitem__icon{
  background:rgba(233,196,120,.27)!important;
 }
 body.pa165-subnav .pa-v11-header svg.pa165-sub-svg{
  display:block!important;width:21px!important;height:21px!important;
  fill:none!important;stroke:#f2daa7!important;stroke-width:1.75!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-subitem__copy{min-width:0!important}
 body.pa165-subnav .pa-v11-header .pa165-mobile-subitem__copy strong{
  color:#fff5e2!important;-webkit-text-fill-color:#fff5e2!important;
  display:block!important;font-size:11px!important;font-weight:800!important;line-height:1.7!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-subitem__copy small{
  display:block!important;color:#b4c3b6!important;-webkit-text-fill-color:#b4c3b6!important;
  font-size:9px!important;line-height:1.6!important;margin-top:1px!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-subitem__arrow{
  width:17px!important;height:17px!important;stroke:#dab979!important;fill:none!important;
  transition:transform .25s!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-subitem:is(:hover,:focus-visible) .pa165-mobile-subitem__arrow{
  transform:translateX(-3px)!important;
 }
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu.is-open nav>.pa165-mobile-group{
  animation:pa164-menu-enter .48s cubic-bezier(.2,.82,.2,1) both;
 }
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu.is-open nav>.pa165-mobile-group:nth-child(1){animation-delay:65ms}
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu.is-open nav>.pa165-mobile-group:nth-child(2){animation-delay:120ms}
 @keyframes pa165-submenu-arrive{
  from{opacity:0;translate:0 -8px;filter:blur(3px)}
  to{opacity:1;translate:0 0;filter:blur(0)}
 }
}
@media(max-width:390px){
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group>.pa165-mobile-parent{
  min-height:69px!important;padding:7px 11px!important;
  grid-template-columns:47px minmax(0,1fr) 27px!important;gap:11px!important;
 }
 body.pa165-subnav .pa-v11-header .pa-v11-mobile-menu nav>.pa165-mobile-group>.pa165-mobile-parent .pa164-mi{
  width:47px!important;height:47px!important;min-width:47px!important;min-height:47px!important;border-radius:15px!important;
 }
 body.pa165-subnav .pa-v11-header .pa165-mobile-parent__copy b{font-size:12px!important}
 body.pa165-subnav .pa-v11-header .pa165-mobile-parent__copy small{font-size:9px!important}
}
@media(prefers-reduced-motion:reduce){
 body.pa165-subnav .pa-v11-header .pa165-mobile-group *,
 body.pa165-subnav .pa-v11-header .pa165-mobile-group{
  animation:none!important;transition:none!important;
 }
}
