/* Fullscreen container */
.of-fullscreen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  font-family: Arial, sans-serif;
  color: #333;
}

/* Progress bar + markers wrapper */
.of-progress-bar-wrapper {
  padding: 10px 20px;
}

/* Main progress bar */
.of-progress-bar {
  width: 100%;
  height: 4px;
  background: #ffffff;
  position: relative;
}
.of-progress {
  width: 0;
  height: 100%;
  background: #f5ce45;
  transition: width 0.3s ease;
}

/* Step markers */
.of-step-markers {
  display: flex;
  justify-content: space-between;
  margin-top: -15px;
  position: relative;
  z-index: 1;
}
.of-step-marker {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.of-step-marker .marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-family: 'KrossOilRegular', Arial, sans-serif;
  font-size: 0.9rem;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.of-step-marker.passed .marker,
.of-step-marker.active .marker {
  background: #f5ce45;
  border-color: #f5ce45;
  color: #000;
}
.of-step-marker .label {
  margin-top: 4px;
  font-size: 0.75rem;
  color: #9f9f9f;
  font-family: 'Exo2Regular', Arial, sans-serif;
  text-transform: capitalize;
  text-align: center;
  white-space: nowrap;
}

@media only screen and (max-width: 600px) {
  .of-step-marker .label {display:none;}
  .icon-subtitle {padding: 10px;}
  .category-subtitle {font-size:0.7em;}
  .imagine-svg {height:61px;}
}

/* Steps container */
.of-steps-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

/* Individual step */
.of-step {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  display: none;
}
.of-step.active {
  display: block;
}

/* Search input */
.of-search {
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Options list */
.of-options {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 55vh;
  overflow-y: auto;
  border: 1px solid #2f2f2f;
}
li.of-option {
  margin: 0 !important;
}
.of-options.disabled .of-option {
  color: #aaa;
  cursor: default;
}
.of-option {
  padding: 10px 12px;
  border-bottom: 1px solid #2f2f2f;
  cursor: pointer;
  color: #fff;
}
.of-option:hover {
  background: #f5ce45;
  color: #000;
}

/* Equipment / Recommendations results */
.of-equipment-full {
  padding: 20px;
}

/* Application subtitle */
.of-app-subtitle {
  display: flex;
  gap:20px;
  align-items: flex-start;
  margin-top: 24px;
  font-size: 1.3rem;
  background-color: #f5ce45;
  font-family: 'KrossOilRegular';
  color: #000;
}

.category-subtitle{
  padding-top: 10px;
  line-height: 1.1em;
}

.icon-subtitle{
  padding: 15px;
  background-color: #f1bc00;
}

.imagine-svg{
  height:35px;
}

.of-app-small-subtitle {
  font-family: 'Exo2Regular';
  font-size: 0.8rem;
  margin-top:-10px
}

/* Carousel wrapper */
.of-slider-container {
  position: relative;
  margin-bottom: 24px;
}

/* Slider viewport: flex for equal heights, auto-scroll hidden scrollbar */
.of-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  margin-top: 20px;
  align-items: stretch;

  /* hide scrollbar in Firefox */
  scrollbar-width: none;
  /* hide scrollbar in IE 10+ */
  -ms-overflow-style: none;
}
/* hide scrollbar in WebKit-based browsers */
.of-slider::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Each slide: fixed width, flex column */
.of-slide {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  margin-right: 16px;
}

/* Oil item: fills full slide height */
.oil-item {
  flex: 1;
  position: relative;
  text-align: center;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.oil-item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}
.oil-category {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 4px;
}
.oil-name {
  font-size: 1.2rem;
  font-family: 'KrossOilRegular';
}
.oil-climate {
  font-size: 0.9rem;
  color: #000;
  margin-top: 6px;
  margin-bottom: auto;
}

/* Best‐match overlay */
.oil-item .best-match {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #f5ce45;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 4px 1px 4px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  z-index: 20;
  color: #000;
  font-family: 'Exo2Regular';
}
.oil-item .best-match svg {
  width: 10px;
  height: 10px;
  margin-right: 3px;
  fill: #000;
}

/* Temperature bubble */
.oil-item .temp-bubble {
  position: absolute;
  top: 8px;
  left: 60px;
  background: rgba(100,100,100,0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 4px 1px 4px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  z-index: 20;
}
.oil-item .temp-bubble svg {
  width: 10px;
  height: 10px;
  margin-right: 3px;
  fill: #fff;
}

/* Slider arrows */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #f0ce56;
  color: #000;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  z-index: 30;
  pointer-events: auto;  /* ensure clicks register */
}
.slider-prev {
  left: -16px;
}
.slider-next {
  right: -16px;
}
.slider-prev.disabled,
.slider-next.disabled {
  opacity: 0;
  cursor: default;
}

/* Hide unwanted footer */
.absolute-footer.dark {
  display: none;
}
