.kln-models__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 0 auto 48px;
  padding: 0 40px;
}

.kln-models__header-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.kln-models__title {
  font-size: 30px;
  font-weight: 700;
  color: #121212;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 0;
}

.kln-models__subtitle {
  font-size: 17px;
  font-weight: 600;
  color: #121212;
  margin: 0;
  line-height: 1.5;
}

.kln-models__consultation {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.kln-models__consultation-icon {
  width: 32px;
  height: 32px;
  color: #121212;
  flex-shrink: 0;
}

.kln-models__consultation-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kln-models__consultation-text {
  font-size: 14px;
  font-weight: 500;
  color: #121212;
}

.kln-models__consultation-link {
  font-size: 14px;
  font-weight: 600;
  color: #1a6aff;
  text-decoration: none;
}

.kln-models__consultation-link:hover {
  text-decoration: underline;
}

/* ============================================================
   TRACK — grille desktop / slider mobile
   ============================================================ */
.kln-models__track {
  display: flex;
  gap: 16px;
  margin: 0 auto;
  justify-content: center !important;
  flex-wrap: wrap;
}

/* ============================================================
   MODEL CARD
   ============================================================ */
.kln-model-card {
  flex: 1 1 17rem;
  min-width: 17rem;
  max-width: 23rem;
  display: flex;
  flex-direction: column;
}

/* ---- Partie produit (au-dessus du séparateur) ---- */
.kln-model-card__product {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
  flex: 1;
  min-height: 32rem;
  justify-content: space-between;
}

/* ---- Image ---- */
.kln-model-card__img-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  max-width: 23rem;
}

.kln-model-card__img {
  width: 100%;
  aspect-ratio: 272 / 204;
  object-fit: cover;
  display: block;
}

.kln-model-card__img-placeholder {
  width: 100%;
  aspect-ratio: 272 / 204;
  background: #f5f5f5;
  border-radius: 8px;
}

/* ---- Badge · Nom · Prix ---- */
.kln-model-card__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.kln-model-card__badge-line {
  min-height: 18px;
}

.kln-model-card__badge {
  font-size: 12px;
  font-weight: 600;
  color: #c27a00;
}

.kln-model-card__badge--promo {
  color: #e53e3e;
}

.kln-model-card__badge--new {
  color: #2d6a4f;
}

.kln-model-card__badge--custom {
  color: #c27a00;
}

.kln-model-card__name {
  font-size: 20px;
  font-weight: 600;
  color: #121212;
  margin: 0;
  line-height: 1.3;
}

.kln-model-card__price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kln-model-card__price {
  font-size: 16px;
  font-weight: 500;
  color: #121212;
}

.kln-model-card__price-original {
  font-size: 16px;
  font-weight: 500;
  color: #c27a00;
  text-decoration: line-through;
}

.kln-model-card__price-badge {
  font-size: 13px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  background: #f0fdf4;
  color: #2d6a4f;
  text-transform: uppercase;
}

/* ---- Description ---- */
.kln-model-card__desc {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin: 0;
  line-height: 1.5;
  font-weight: 600;
  line-height: 0.3px !important;
}

.kln-model-card__cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  background: #121212;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.kln-model-card__cta:hover {
  background: #333;
  color: #fff !important;
  text-decoration: none !important;
}

/* ============================================================
   ICÔNES DE COMPARAISON (fixes, mêmes pour tous)
   ============================================================ */
.kln-model-card__features {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
}

.kln-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px;
  text-align: center;
  min-height: 96px;
  justify-content: center;
}

.kln-feature__icon {
  width: 46px;
  height: 46px;
  color: #121212;
  margin-bottom: 8px;
  background: #fff;
  border-radius: 4px;
  padding: 2px;
  box-sizing: border-box;
}

.kln-feature__icon svg {
  width: 100%;
  height: 100%;
}

.kln-feature__title {
  font-size: 16px;
  font-weight: 600;
  color: #121212;
  margin: 0 0 4px;
}

.kln-feature__desc {
  font-size: 12px;
  color: #888;
  margin: 0;
  line-height: 1.4;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Mobile / Tablet → slider horizontal ── */
@media (max-width: 1439px) {
  .kln-models__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 32px;
  }

  .kln-models__header-left {
    align-items: center;
  }

  .kln-models__consultation {
    justify-content: center;
  }

  .kln-models__track {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .kln-models__track::-webkit-scrollbar {
    display: none;
  }

  .kln-model-card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 340px;
    scroll-snap-align: start;
    scroll-margin-left: 20px;
  }
}

/* Tablet : afficher ~1.5 carte */
@media (min-width: 600px) and (max-width: 1439px) {
  .kln-model-card {
    flex: 0 0 320px;
    min-width: 300px;
    max-width: 360px;
  }
}

/* ── Desktop ≥ 1440px → grille flex ── */
@media (min-width: 1440px) {
  .kln-models__header {
    text-align: left;
  }

  .kln-models__header-left {
    align-items: flex-start;
  }
}

/* ============================================================
   TRACK WRAPPER — gradient + arrow overlay
   ============================================================ */

.kln-models__track-wrap {
  position: relative;
}

/* Fondu droit — masqué sur desktop */
.kln-models__track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 80px;
  background: linear-gradient(to right, transparent, #fff);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
  display: none;
}

/* Bouton chevron flottant */
.kln-models__arrow {
  display: none;
  position: absolute;
  top: 35%;
  right: 4px;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.2s ease;
  color: #121212;
  padding: 0;
}

.kln-models__arrow:hover {
  background: #f5f5f5;
}

.kln-models__arrow.is-end {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1439px) {
  .kln-models__track-wrap::after {
    display: block;
  }

  .kln-models__track-wrap.is-end::after {
    opacity: 0;
  }

  .kln-models__arrow {
    display: flex;
  }
}

/* ============================================================
   SCROLL HINT + DOTS (mobile/tablet uniquement)
   ============================================================ */

.kln-models__scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #999;
  transition: opacity 0.4s ease;
}

.kln-models__scroll-hint svg {
  animation: kln-nudge 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes kln-nudge {
  0%, 100% { transform: translateX(0);   opacity: 1; }
  50%       { transform: translateX(5px); opacity: 0.5; }
}

.kln-models__scroll-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.kln-models__dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.kln-models__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9d9d9;
  transition: background 0.25s ease, transform 0.25s ease;
}

.kln-models__dot.is-active {
  background: #121212;
  transform: scale(1.3);
}

@media (max-width: 1439px) {
  .kln-models__scroll-hint,
  .kln-models__dots {
    display: flex;
  }
}

/* ── Petits mobiles ── */
@media (max-width: 480px) {
  .kln-models__header {
    padding: 0 16px;
  }

  .kln-models__track {
    padding: 0 16px;
  }

  .kln-model-card {
    flex: 0 0 calc(100vw - 56px);
    min-width: 0;
    max-width: none;
  }

  .kln-models__title {
    font-size: 24px;
  }
}

/* ========== INTRO BLOCK ========== */
.kln-models__intro {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 0 16px;
  color: #3c3c3c;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  font-weight: 300;
}

.kln-models__intro::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 auto 24px;
  background-color: #a0303c;
}

.kln-models__intro p {
  margin: 0 0 16px;
}

.kln-models__intro p:last-child {
  margin-bottom: 0;
}

.kln-models__intro p:first-of-type {
  font-size: 17px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: 0.1px;
}

.kln-models__intro strong {
  color: #a0303c;
  font-weight: 600;
}

@media (min-width: 768px) {
  .kln-models__intro {
    margin-bottom: 56px;
    padding: 0 24px;
    font-size: 16px;
    line-height: 1.75;
  }

  .kln-models__intro::before {
    width: 64px;
    margin-bottom: 32px;
  }

  .kln-models__intro p:first-of-type {
    font-size: 19px;
  }
}

@media (min-width: 992px) {
  .kln-models__intro {
    margin-bottom: 64px;
  }

  .kln-models__intro::before {
    width: 72px;
  }

  .kln-models__intro p:first-of-type {
    font-size: 19.5px;
  }
}

@media (min-width: 1200px) {
  .kln-models__intro {
    margin-bottom: 72px;
    padding: 0 32px;
  }

  .kln-models__intro p:first-of-type {
    font-size: 20px;
    line-height: 1.6;
  }
}
