
/* ============================================================
   HAZI TECH — Front Hood Light length selector
   Ground-up rebuild. Independent of the old scanner slider.
   Actual selectable lengths: 32–180 cm in 4 cm increments.
   ============================================================ */

body.hood-product .hood-length-control{
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px;
  gap:28px;
  align-items:center;
  margin-top:28px;
}

body.hood-product .hood-length-slider{
  position:relative;
  min-width:0;
  padding:18px 0 36px;
}

body.hood-product .hood-strip-track{
  display:grid;
  grid-template-columns:repeat(38,minmax(0,1fr));
  gap:2px;
  align-items:center;
  width:100%;
  height:30px;
}

body.hood-product .hood-strip-segment{
  height:20px;
  min-width:0;
  border:1px solid #351015;
  border-radius:2px;
  background:#24090d;
  box-shadow:inset 0 0 5px rgba(0,0,0,.65);
  transition:background .12s ease,border-color .12s ease,box-shadow .12s ease;
}

body.hood-product .hood-strip-segment.active{
  background:#ff2538;
  border-color:#ff4a59;
  box-shadow:
    0 0 6px rgba(255,37,56,.75),
    0 0 12px rgba(255,37,56,.30),
    inset 0 0 3px rgba(255,255,255,.25);
}

body.hood-product .hood-length-range{
  position:absolute;
  left:0;
  top:12px;
  width:100%;
  height:42px;
  margin:0;
  padding:0;
  appearance:none;
  -webkit-appearance:none;
  background:transparent;
  cursor:ew-resize;
  z-index:5;
  touch-action:none;
}

body.hood-product .hood-length-range::-webkit-slider-runnable-track{
  height:30px;
  background:transparent;
  border:0;
}

body.hood-product .hood-length-range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:14px;
  height:38px;
  margin-top:-4px;
  border-radius:5px;
  border:2px solid #fff;
  background:#ff2538;
  box-shadow:
    0 0 0 2px rgba(255,37,56,.25),
    0 0 12px rgba(255,37,56,.95),
    0 4px 10px rgba(0,0,0,.45);
  cursor:grab;
}

body.hood-product .hood-length-range:active::-webkit-slider-thumb{
  cursor:grabbing;
  background:#ff5262;
}

body.hood-product .hood-length-range::-moz-range-track{
  height:30px;
  background:transparent;
  border:0;
}

body.hood-product .hood-length-range::-moz-range-progress{
  background:transparent;
}

body.hood-product .hood-length-range::-moz-range-thumb{
  width:14px;
  height:38px;
  border-radius:5px;
  border:2px solid #fff;
  background:#ff2538;
  box-shadow:
    0 0 0 2px rgba(255,37,56,.25),
    0 0 12px rgba(255,37,56,.95),
    0 4px 10px rgba(0,0,0,.45);
  cursor:grab;
}

body.hood-product .hood-length-range:focus{
  outline:none;
}

body.hood-product .hood-length-scale{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:18px;
  color:#737c86;
  font-size:10px;
  font-weight:700;
}

body.hood-product .hood-length-scale span{
  position:absolute;
  top:0;
  transform:translateX(-50%);
  white-space:nowrap;
}

body.hood-product .hood-length-scale span:first-child{
  transform:none;
}

body.hood-product .hood-length-scale span:last-child{
  transform:translateX(-100%);
}

body.hood-product .hood-length-readout{
  min-height:108px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:#090c10;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

body.hood-product .hood-length-readout strong{
  color:#f3f5f7;
  font-family:"Orbitron",sans-serif;
  font-size:30px;
  font-weight:800;
  line-height:1;
}

body.hood-product .hood-length-readout span{
  margin-top:7px;
  color:#aab1b9;
  font-size:12px;
  font-weight:600;
}

body.hood-product .hood-length-readout small{
  margin-top:5px;
  color:#7f8994;
  font-size:9px;
  letter-spacing:.10em;
  text-transform:uppercase;
}

@media(max-width:780px){
  body.hood-product .hood-length-control{
    grid-template-columns:1fr;
    gap:18px;
  }

  body.hood-product .hood-length-readout{
    min-height:82px;
  }

  body.hood-product .hood-strip-track{
    gap:1px;
  }

  body.hood-product .hood-strip-segment{
    height:16px;
  }
}


/* v104 — centimetres are the primary measuring unit */
body.hood-product .hood-length-scale{
  height:30px;
}
body.hood-product .hood-length-slider{
  padding-bottom:48px;
}
body.hood-product .hood-length-scale span{
  display:flex;
  flex-direction:column;
  align-items:center;
  line-height:1.15;
}
body.hood-product .hood-length-scale span:first-child{
  align-items:flex-start;
}
body.hood-product .hood-length-scale span:last-child{
  align-items:flex-end;
}
body.hood-product .hood-length-scale b{
  color:#7f8994;
  font-size:10px;
  font-weight:700;
  white-space:nowrap;
}
body.hood-product .hood-length-scale small{
  margin-top:3px;
  color:#5f6872;
  font-size:8px;
  font-weight:600;
  white-space:nowrap;
}
body.hood-product .hood-length-readout strong{
  font-size:28px;
}
body.hood-product .hood-length-readout span{
  margin-top:8px;
  font-family:"Orbitron",sans-serif;
  color:#8d96a0;
  font-size:14px;
  font-weight:700;
}
