/* ================================
   KST Result Cards - Vertical Layout
================================ */

.kst-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.result-card,
.result-card > .w-embed {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.result-card .kst-product-card[data-kst-card] {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 38rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .06);
  overflow: hidden;
}

.result-card .kst-product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.result-card .kst-product-card__image {
  width: auto;
  max-width: 100%;
  max-height: 8.5rem;
  object-fit: contain;
}

.result-card .kst-product-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.result-card .kst-product-card__badge {
  width: fit-content;
  margin-bottom: .65rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: #f4b940;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-card .kst-product-card__title {
  margin: 0 0 .45rem;
  font-size: clamp(1.6rem, 1.8vw, 2.15rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.035em;
}

.result-card .kst-product-card__tagline {
  margin: 0 0 .9rem;
  font-size: .88rem;
  line-height: 1.35;
  color: rgba(0, 0, 0, .65);
}

.result-card .kst-product-card__usage {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .9rem;
}

.result-card .kst-product-card__pill {
  padding: .35rem .65rem;
  border-radius: 999px;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, .08);
  font-size: .72rem;
}

.result-card .kst-product-card__divider {
  height: 1px;
  margin-bottom: .9rem;
  background: rgba(0, 0, 0, .08);
}

.result-card .kst-product-card__sizes-title {
  margin-bottom: .65rem;
  font-size: .85rem;
  font-weight: 800;
}

.result-card .kst-product-card__sizes {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
}

.result-card .kst-size-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem .85rem;
  border-radius: .75rem;
  border: 1px solid rgba(0, 0, 0, .1);
  background: #fafafa;
  color: #0b0b0b;
  text-align: left;
  cursor: pointer;
  transition: all .2s ease;
}

.result-card .kst-size-option.is-faded {
  opacity: .42;
}

.result-card .kst-size-option.is-active {
  opacity: 1;
  background: #0b0b0b;
  color: #fff;
  border-color: #f4b940;
  box-shadow: 0 0 0 2px rgba(244, 185, 64, .28);
}

.result-card .kst-size-option__value {
  min-width: 2.6rem;
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  line-height: 1;
  font-weight: 900;
}

.result-card .kst-size-option__unit {
  min-width: 1.75rem;
  font-size: .72rem;
  font-weight: 800;
}

.result-card .kst-size-option__note {
  margin-left: auto;
  padding-right: 1.8rem;
  font-size: .72rem;
  white-space: nowrap;
}

.result-card .kst-size-option__check {
  display: none;
  position: absolute;
  top: 50%;
  right: .65rem;
  transform: translateY(-50%);
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #ffd36a;
  color: #0b0b0b;
  font-size: .8rem;
  font-weight: 900;
  align-items: center;
  justify-content: center;
}

.result-card .kst-size-option.is-active .kst-size-option__check {
  display: flex;
}

.result-card .kst-product-card__link {
  margin-top: auto;
  padding-top: 1rem;
  color: #0b0b0b;
  font-size: .85rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .25rem;
}

@media (max-width: 991px) {
  .kst-products-grid {
    grid-template-columns: 1fr;
  }

  .result-card .kst-product-card[data-kst-card] {
    min-height: auto;
  }
}

/* ================================
   KST Main Configurator Layout
================================ */

.configurator-layout {
  display: grid !important;
  grid-template-columns: 20rem minmax(0, 1fr) !important;
  gap: 1.5rem !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
}

.configurator-layout > .kst-configurator-nav {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: 20rem !important;
  min-width: 0 !important;
  align-self: start !important;
  position: sticky;
  top: 1rem;
}

.configurator-layout > .conf-results {
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.conf-results,
.heading-wrap,
.wrap-body,
.wrap-body__l,
.kst-products-grid,
.div-block-52,
.kst-info-card,
.result-card {
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (max-width: 991px) {
  .configurator-layout {
    grid-template-columns: 1fr !important;
  }

  .configurator-layout > .kst-configurator-nav,
  .configurator-layout > .conf-results {
    grid-column: 1 !important;
    max-width: 100% !important;
  }

  .configurator-layout > .kst-configurator-nav {
    position: relative;
    top: auto;
  }
}

/* ==========================================================
   KST Info Cards
========================================================== */

.kst-info-card {
  width: 100%;
  padding: clamp(1rem, 1.6vw, 1.75rem);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .06);
}

.kst-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 1.5vw, 1.5rem);
  align-items: stretch;
}

.kst-info-card.is-full {
  grid-column: 1 / -1;
}

@media (max-width: 991px) {
  .kst-info-grid {
    grid-template-columns: 1fr;
  }

  .kst-info-card.is-full {
    grid-column: auto;
  }
}

/* ==========================================================
   KST Configurator - Empty State
========================================================== */

.kst-config-empty-state {
  display: none;
  margin-bottom: 1.5rem;
}

body:not(.is-configurator-ready):not(.wf-design-mode) .kst-config-empty-state {
  display: block;
}

.kst-config-empty-state {
  display: grid;
  gap: 3rem;
  padding: clamp(2rem, 4vw, 4rem);
}

.kst-config-empty-steps {
  display: grid;
  gap: 2rem;
  justify-items: center;
  text-align: center;
}

.kst-empty-step {
  display: grid;
  gap: .75rem;
  justify-items: center;
}

.kst-empty-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, .25);
  color: rgba(0, 0, 0, .35);
  font-size: 1.5rem;
}

.kst-empty-step p {
  margin: 0;
  max-width: 42rem;
  font-weight: 800;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
}

.kst-config-empty-copy {
  max-width: 68rem;
  display: grid;
  gap: 1.25rem;
}

.kst-config-empty-copy p {
  margin: 0;
  line-height: 1.6;
  font-size: clamp(.95rem, 1vw, 1.05rem);
}

/* ================================
   KST Sidebar / Configurator Nav
================================ */

.kst-configurator-nav {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .06);
}

.kst-configurator-nav .navigation-top {
  margin-bottom: 1.25rem;
}

.kst-configurator-nav .confiig-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.kst-configurator-nav #step-discipline,
.kst-configurator-nav #step-level,
.kst-configurator-nav #step-weight,
.kst-configurator-nav #step-priority {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.config-nav-step-title {
  margin-bottom: .75rem;
}

.config-radio-list-grid,
.kst-configurator-nav .w-dyn-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
}

.config-radio {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: .75rem;
  background: #fafafa;
  cursor: pointer;
}

.config-radio.is-active,
.config-radio:has(input.is-active),
.config-radio:has(input:checked) {
  background: #0b0b0b;
  color: #fff;
  border-color: #0b0b0b;
}

.conf-radio-lable {
  margin-bottom: 0;
  font-size: .85rem;
  font-weight: 700;
}

/* ==========================================================
   KST Weight Range Slider
========================================================== */

.onfigurator-nave-filters-wrapper {
  width: 100%;
  display: grid;
  gap: .65rem;
}

.onfigurator-nave-filters-wrapper .w-embed {
  width: 100%;
}

input[data-kst-input="weight"] {
  width: 100%;
  height: .35rem;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(
    to right,
    #0b0b0b 0%,
    #0b0b0b 47.5%,
    rgba(0, 0, 0, .14) 47.5%,
    rgba(0, 0, 0, .14) 100%
  );
  border-radius: 999px;
  cursor: pointer;
}

input[data-kst-input="weight"]::-webkit-slider-thumb {
  width: 1.15rem;
  height: 1.15rem;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  border: 3px solid #0b0b0b;
  background: #fff;
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .18);
}

input[data-kst-input="weight"]::-moz-range-thumb {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 3px solid #0b0b0b;
  background: #fff;
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .18);
}

.filters1_rangeslider2-values {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.filters1_rangeslider2-text {
  font-size: .8rem;
  color: rgba(0, 0, 0, .65);
}
