.mtss-showcase {
  background: var(--mtss-bg, #ede8df);
  overflow: hidden;
  padding: 64px 0 72px;
  position: relative;
}

.mtss-showcase--top {
  margin-top: 10px;
}

.mtss-showcase--middle {
  margin-top: 26px;
}

.mtss-showcase--bottom {
  margin-top: 42px;
}

.mtss-showcase .container {
  max-width: 1360px;
  position: relative;
  z-index: 1;
}

.mtss-showcase__head {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mtss-showcase__intro {
  max-width: 720px;
}

.mtss-showcase__eyebrow {
  align-items: center;
  color: rgba(34, 52, 59, 0.76);
  display: flex;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.21em;
  gap: 12px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.mtss-showcase__eyebrow::before {
  background: rgba(34, 52, 59, 0.34);
  content: "";
  display: block;
  height: 1px;
  width: 22px;
}

.mtss-showcase__title {
  color: var(--mtss-accent, #1a2c32);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(2.8rem, 5.3vw, var(--mtss-title-size, 72px));
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
  max-width: 14ch;
}

.mtss-showcase__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 22px;
}

.mtss-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mtss-tab {
  background: transparent;
  border: 1px solid rgba(34, 52, 59, 0.1);
  border-radius: 999px;
  box-shadow: none;
  color: var(--mtss-accent, #22343b);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 20px;
  transition: all 0.24s ease;
}

.mtss-tab.is-active,
.mtss-tab:hover {
  background: var(--mtss-accent, #22343b);
  border-color: var(--mtss-accent, #22343b);
  color: #fff;
}

.mtss-filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mtss-filter-link {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(34, 52, 59, 0.12);
  border-radius: 999px;
  color: var(--mtss-accent, #22343b);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 18px;
  text-decoration: none;
  transition: background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.mtss-filter-link:hover {
  background: var(--mtss-accent, #22343b);
  border-color: var(--mtss-accent, #22343b);
  color: #fff;
  text-decoration: none;
}

.mtss-tab:focus-visible,
.mtss-showcase__link:focus-visible,
.mtss-filter-link:focus-visible {
  outline: 2px solid rgba(34, 52, 59, 0.9);
  outline-offset: 3px;
}

.mtss-showcase__link {
  border-bottom: 1px solid currentColor;
  color: var(--mtss-accent, #22343b);
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 3px;
  text-decoration: none;
}

.mtss-panel {
  display: none;
}

.mtss-panel.is-active {
  display: block;
}

.mtss-carousel {
  align-items: center;
  display: flex;
  gap: 10px;
}

.mtss-carousel__viewport {
  flex: 1;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.mtss-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.mtss-carousel__nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(35, 50, 58, 0.12);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(35, 50, 58, 0.08);
  color: #23323a;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 24px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
  width: 38px;
}

.mtss-carousel:hover .mtss-carousel__nav,
.mtss-carousel:focus-within .mtss-carousel__nav {
  opacity: 1;
  pointer-events: auto;
}

.mtss-carousel__nav:hover {
  transform: translateY(-1px);
}

.mtss-carousel__nav[disabled] {
  cursor: default;
  opacity: 0;
  pointer-events: none;
  transform: none;
}

.mtss-carousel.is-static .mtss-carousel__nav {
  visibility: hidden;
}

.mtss-carousel__dots {
  align-items: center;
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 22px;
}

.mtss-carousel__dots[hidden] {
  display: none;
}

.mtss-carousel__dot {
  appearance: none;
  background: rgba(35, 50, 58, .24);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: background .2s ease, transform .2s ease, width .2s ease;
  width: 8px;
}

.mtss-carousel__dot.is-active {
  background: var(--mtss-accent, #22343b);
  width: 28px;
}

.mtss-carousel__dot:focus-visible {
  outline: 2px solid var(--mtss-accent, #22343b);
  outline-offset: 4px;
}

.mtss-grid {
  --mtss-cols: 4;
  gap: 18px;
  display: grid;
  grid-auto-columns: calc((100% - (20px * (var(--mtss-cols) - 1))) / var(--mtss-cols));
  grid-auto-flow: column;
  min-width: 100%;
  width: 100%;
}

.mtss-grid > .mtss-card {
  scroll-snap-align: start;
}

.mtss-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(35, 50, 58, 0.07);
  box-shadow: 0 4px 16px rgba(36, 31, 24, 0.07);
  cursor: pointer;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.mtss-card:focus-visible {
  outline: 2px solid var(--mtss-accent, #22343b);
  outline-offset: 4px;
}

.mtss-card:hover {
  box-shadow: 0 10px 26px rgba(36, 31, 24, 0.11);
  transform: translateY(-3px);
}

.mtss-card__media {
  background: linear-gradient(140deg, #ece8de, #e7dfd2 90%);
  min-height: 360px;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.mtss-card__media-link {
  color: inherit;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 360px;
  text-decoration: none;
  width: 100%;
}

.mtss-card__media img,
.mtss-card__placeholder {
  border-radius: 0;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.mtss-card__placeholder {
  align-items: center;
  background: radial-gradient(circle at 50% 30%, #faf7f2, #e6ddd0 80%);
  display: flex;
  justify-content: center;
  min-height: 360px;
}

.mtss-card__placeholder span {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(230, 221, 208, 0.35));
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(35, 50, 58, 0.08);
  height: 72%;
  width: 76%;
}

.mtss-card__badge {
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  left: 16px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  position: absolute;
  text-transform: uppercase;
  top: 16px;
}

.mtss-card__badge.is-discount {
  background: var(--mtss-badge-discount, #e63030);
}

.mtss-card__badge.is-new {
  background: var(--mtss-badge-new, #263842);
}

.mtss-card__badge.is-best-seller {
  background: var(--mtss-badge-best-seller, #3d6ec9);
}


.mtss-card__content {
  background: #ffffff;
  padding: 18px 20px 20px;
  position: relative;
}

.mtss-card__eyebrow {
  color: rgba(34, 52, 59, 0.55);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.mtss-card__title {
  color: #1a2c32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 8px;
}

.mtss-card__title a {
  color: inherit;
  text-decoration: none;
}

.mtss-card__title a:hover {
  color: inherit;
  text-decoration: none;
}

.mtss-card__rating {
  align-items: center;
  color: #8a8a8a;
  display: flex;
  font-size: 14px;
  font-weight: 400;
  gap: 5px;
  margin: 0 0 14px;
}

.mtss-card__stars {
  color: #e63030;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.mtss-card__rating span {
  color: #8a8a8a;
}

.mtss-card__footer {
  align-items: flex-start;
  border-top: 1px solid rgba(35, 50, 58, 0.09);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 14px;
}

.mtss-card__regular-price {
  color: rgba(35, 50, 58, 0.42);
  font-size: 13px;
  margin: 0 0 2px;
  text-decoration: line-through;
}

.mtss-card__price {
  align-items: baseline;
  color: var(--navy, #212f37);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  letter-spacing: .01em;
  line-height: 1;
  margin: 0;
  text-align: left;
  white-space: nowrap;
}

.mtss-card__specs {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.mtss-card__spec {
  align-items: center;
  color: rgba(35, 50, 58, 0.76);
  display: flex;
  font-size: 13.5px;
  font-weight: 500;
  gap: 10px;
  line-height: 1.25;
}

.mtss-card__spec-icon {
  align-items: center;
  color: #2f5f52;
  display: inline-flex;
  flex: 0 0 auto;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.mtss-card__spec-icon svg,
.mtss-card__spec-icon img {
  display: block;
  height: 18px;
  width: 18px;
}

.mtss-card__spec-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.mtss-card__spec-icon img {
  object-fit: contain;
}

.mtss-card__spec-label {
  min-width: 0;
}

.mtss-empty-state {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(35, 50, 58, 0.08);
  border-radius: 28px;
  display: grid;
  justify-items: center;
  min-height: 280px;
  padding: 32px;
  text-align: center;
}

.mtss-empty-state__icon {
  color: var(--mtss-accent, #22343b);
  font-size: 24px;
  margin-bottom: 12px;
}

.mtss-empty-state h3 {
  color: var(--mtss-accent, #22343b);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  margin: 0 0 10px;
}

.mtss-empty-state p {
  margin: 0;
  max-width: 42ch;
}

@media (max-width: 1024px) {
  .mtss-grid {
    --mtss-cols: 2;
  }
}

@media (max-width: 767px) {
  .mtss-showcase {
    padding: 42px 0 52px;
  }

  .mtss-showcase__head {
    flex-direction: column;
  }

  .mtss-showcase__actions {
    justify-content: flex-start;
    margin-top: 0;
  }

  .mtss-grid {
    --mtss-cols: 1;
  }

  .mtss-carousel {
    gap: 8px;
  }

  .mtss-carousel__nav {
    display: none;
  }

  .mtss-showcase__title {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
    max-width: 100%;
  }
}
/* MLF homepage alignment: make bottom spring showcase match .section--products */
body#index .mtss-showcase {
  background: #fff !important;
  padding: 56px 0 88px !important;
  margin-top: 0 !important;
}
body#index .mtss-showcase .container {
  width: min(1840px, 100% - 96px) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
body#index .mtss-showcase__head {
  align-items: center !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 40px !important;
  margin: 0 0 34px !important;
}
body#index .mtss-showcase__intro { max-width: 560px !important; }
body#index .mtss-showcase__eyebrow {
  color: #6f767d !important;
  display: flex !important;
  align-items: center !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  gap: 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  margin: 0 0 14px !important;
}
body#index .mtss-showcase__eyebrow::before {
  width: 24px !important;
  height: 1px !important;
  background: #d8d2c4 !important;
}
body#index .mtss-showcase__title {
  color: #212f37 !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: clamp(38px, 3.7vw, 68px) !important;
  font-weight: 800 !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  max-width: 14ch !important;
}
body#index .mtss-showcase__actions {
  align-items: center !important;
  gap: 14px !important;
  margin-top: 0 !important;
}
body#index .mtss-tabs { gap: 8px !important; }
body#index .mtss-tab {
  border: 1px solid #e6dfd3 !important;
  background: #fff !important;
  color: #6f767d !important;
  border-radius: 999px !important;
  padding: 8px 15px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
body#index .mtss-tab.is-active,
body#index .mtss-tab:hover {
  background: #212f37 !important;
  border-color: #212f37 !important;
  color: #fff !important;
}
body#index .mtss-filter-links {
  gap: 8px !important;
}
body#index .mtss-filter-link {
  border: 1px solid #e6dfd3 !important;
  background: #f8f5ef !important;
  color: #212f37 !important;
  border-radius: 999px !important;
  padding: 8px 15px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
body#index .mtss-filter-link:hover {
  background: #212f37 !important;
  border-color: #212f37 !important;
  color: #fff !important;
}
body#index .mtss-showcase__link {
  color: #212f37 !important;
  border-bottom: 1px solid #212f37 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  padding-bottom: 4px !important;
}
body#index .mtss-carousel { gap: 18px !important; }
body#index .mtss-grid {
  --mtss-cols: 4 !important;
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: calc((100% - 90px) / 4) !important;
  gap: 30px !important;
  min-width: 100% !important;
}
body#index .mtss-card {
  background: #fff !important;
  border: 1px solid #f1eee8 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1) !important;
}
body#index .mtss-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: none !important;
}
body#index .mtss-card__media {
  aspect-ratio: 1.06 / 1 !important;
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: none !important;
}
body#index .mtss-card__media img,
body#index .mtss-card__placeholder {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block !important;
  margin: 0 !important;
  max-width: none !important;
  transform: scale(1.16) !important;
  transform-origin: center center !important;
}
body#index .mtss-card__media-link {
  align-items: stretch !important;
  bottom: 0 !important;
  display: flex !important;
  left: 0 !important;
  height: 100% !important;
  justify-content: stretch !important;
  min-height: 0 !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 1 !important;
}
body#index .mtss-card__content {
  padding: 18px 28px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex: 1 !important;
}
body#index .mtss-card__eyebrow {
  color: #6f767d !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .14em !important;
}
body#index .mtss-card__title {
  color: #212f37 !important;
  line-height: 1.12 !important;
  margin-bottom: 6px !important;
  min-height: 0 !important;
}
body#index .mtss-card__footer {
  margin-top: 8px !important;
  border-top: 1px dashed #e6dfd3 !important;
  padding-top: 14px !important;
}
body#index .mtss-card__price {
  color: #212f37 !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
body#index .mtss-card__specs {
  gap: 8px !important;
  margin-top: 16px !important;
}
body#index .mtss-card__spec {
  color: #4b5358 !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: clamp(13px, .82vw, 16px) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
body#index .mtss-card__spec-label {
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  letter-spacing: 0 !important;
}
body#index .mtss-card__spec-icon {
  color: #27584e !important;
  height: 19px !important;
  width: 19px !important;
}
body#index .mtss-card__spec-icon svg,
body#index .mtss-card__spec-icon img {
  height: 19px !important;
  object-fit: contain !important;
  width: 19px !important;
}

body#index .mtss-card__badge {
  border-radius: 6px !important;
  font-size: 12px !important;
  left: 22px !important;
  padding: 7px 12px !important;
  top: 20px !important;
  z-index: 2 !important;
}
body#index .mtss-card__brand-logo {
  align-items: center !important;
  /* DISABLED:   background: rgba(255, 255, 255, .92) !important; */
  /* DISABLED:   border: 1px solid rgba(33, 47, 55, .08) !important; */
  border-radius: 6px !important;
  bottom: 14px !important;
  /* DISABLED:   box-shadow: 0 10px 26px rgba(24, 40, 50, .10) !important; */
  display: flex !important;
  height: 42px !important;
  justify-content: center !important;
  left: 14px !important;
  max-width: 142px !important;
  min-width: 58px !important;
  padding: 6px 10px !important;
  position: absolute !important;
  z-index: 3 !important;
}
body#index .mtss-card__brand-logo img {
  display: block !important;
  height: auto !important;
  max-height: 30px !important;
  max-width: 122px !important;
  object-fit: contain !important;
  width: auto !important;
}
body#index .mtss-carousel__nav {
  background: #fff !important;
  border: 1px solid #e6dfd3 !important;
  box-shadow: 0 10px 24px rgba(33,47,55,.08) !important;
  color: #212f37 !important;
}
@media (max-width: 1024px) {
  body#index .mtss-showcase .container { width: min(100% - 40px, 920px) !important; }
  body#index .mtss-grid { --mtss-cols: 2 !important; grid-auto-columns: calc((100% - 24px) / 2) !important; gap: 24px !important; }
}
@media (max-width: 767px) {
  body#index .mtss-showcase { padding: 56px 0 72px !important; }
  body#index .mtss-showcase__head { flex-direction: column !important; align-items: flex-start !important; }
  body#index .mtss-showcase .container { width: min(100% - 28px, 560px) !important; }
  body#index .mtss-grid { --mtss-cols: 1 !important; grid-auto-columns: 100% !important; }
  body#index .mtss-card__content { padding: 16px 18px 20px !important; }
  body#index .mtss-card__title { min-height: auto !important; }
}

/* Mobile production polish for homepage product showcases */
@media (max-width: 767px) {
  body#index,
  body#index .mtss-showcase {
    overflow-x: hidden !important;
  }

  body#index .mtss-showcase {
    padding: 50px 0 58px !important;
  }

  body#index .mtss-showcase .container {
    width: min(100% - 28px, 560px) !important;
    margin: 0 auto !important;
  }

  body#index .mtss-panel {
    max-width: 100% !important;
    overflow: hidden !important;
    contain: paint !important;
  }

  body#index .mtss-showcase__head {
    display: grid !important;
    gap: 18px !important;
    margin-bottom: 24px !important;
  }

  body#index .mtss-showcase__intro {
    max-width: none !important;
  }

  body#index .mtss-showcase__eyebrow {
    font-size: 10.5px !important;
    letter-spacing: .12em !important;
    margin-bottom: 10px !important;
  }

  body#index .mtss-showcase__eyebrow::before {
    width: 20px !important;
  }

  body#index .mtss-showcase__title {
    font-size: 34px !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
    max-width: 10ch !important;
  }

  body#index .mtss-showcase__actions {
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  body#index .mtss-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    padding: 2px 0 8px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body#index .mtss-tabs::-webkit-scrollbar {
    display: none !important;
  }

  body#index .mtss-tab,
  body#index .mtss-filter-link {
    min-height: 44px !important;
    flex: 0 0 auto !important;
    padding: 11px 16px !important;
    font-size: 11px !important;
    touch-action: manipulation !important;
  }

  body#index .mtss-showcase__link {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding-bottom: 0 !important;
  }

  body#index .mtss-carousel {
    display: block !important;
    margin: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding-bottom: 2px !important;
  }

  body#index .mtss-carousel__viewport {
    margin: 0 !important;
    padding: 0 0 6px !important;
    overflow-x: auto !important;
    scroll-padding-left: 14px !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    contain: paint !important;
  }

  body#index .mtss-grid {
    --mtss-cols: 1 !important;
    grid-auto-columns: 100% !important;
    gap: 14px !important;
    min-width: 100% !important;
    width: 100% !important;
  }

  body#index .mtss-card {
    width: 100% !important;
    border-radius: 18px !important;
  }

  body#index .mtss-card__media {
    aspect-ratio: 4 / 3 !important;
  }

  body#index .mtss-card__brand-logo {
    display: flex !important;
    bottom: 12px !important;
    height: 38px !important;
    left: 12px !important;
    max-width: 126px !important;
    min-width: 52px !important;
    padding: 6px 9px !important;
  }

  body#index .mtss-card__brand-logo img {
    max-height: 26px !important;
    max-width: 108px !important;
  }

  body#index .mtss-card__badge {
    left: 14px !important;
    top: 14px !important;
    font-size: 10.5px !important;
    padding: 7px 10px !important;
  }


  body#index .mtss-card__content {
    padding: 16px 16px 18px !important;
    gap: 7px !important;
  }

  body#index .mtss-card__eyebrow {
    font-size: 10.5px !important;
    letter-spacing: .1em !important;
  }

  body#index .mtss-card__title {
    line-height: 1.22 !important;
    letter-spacing: 0 !important;
    min-height: 0 !important;
    overflow-wrap: anywhere !important;
  }

  body#index .mtss-card__title a {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
  }

  body#index .mtss-card__footer {
    padding-top: 13px !important;
  }

  body#index .mtss-card__price {
  }

  body#index .mtss-card__specs {
    gap: 7px !important;
    margin-top: 12px !important;
  }

  body#index .mtss-card__spec {
    font-size: 13px !important;
    line-height: 1.28 !important;
  }

  body#index .mtss-carousel__nav {
    align-items: center !important;
    background: #22343b !important;
    border: 0 !important;
    box-shadow: 0 12px 28px rgba(28, 42, 51, .22) !important;
    color: #fff !important;
    display: inline-flex !important;
    font-size: 30px !important;
    height: 48px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    top: var(--mtss-nav-top, 34%) !important;
    width: 48px !important;
  }

  body#index .mtss-carousel__nav--prev {
    left: 8px !important;
  }

  body#index .mtss-carousel__nav--next {
    right: 8px !important;
  }

  body#index .mtss-carousel__nav[disabled] {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body#index .mtss-carousel__dots {
    margin-top: 18px !important;
  }

  body#index .mtss-carousel__dot {
    height: 9px !important;
    width: 9px !important;
  }

  body#index .mtss-carousel__dot.is-active {
    width: 30px !important;
  }
}

@media (max-width: 390px) {
  body#index .mtss-showcase .container {
    width: min(100% - 22px, 420px) !important;
  }

  body#index .mtss-showcase__title {
    font-size: 31px !important;
  }

  body#index .mtss-grid {
    grid-auto-columns: 100% !important;
  }

  body#index .mtss-card {
    width: 100% !important;
  }
}

/* ===== Fix alignement carrousel best-sellers (flèches hors flux) ===== */
body#index .mtss-carousel { position: relative; gap: 0 !important; display: block !important; }
body#index .mtss-carousel__viewport { width: 100%; }
body#index .mtss-carousel__nav {
  position: absolute;
  top: var(--mtss-nav-top, 50%);
  transform: translateY(-50%);
  z-index: 5;
}
body#index .mtss-carousel__nav--prev { left: 8px; }
body#index .mtss-carousel__nav--next { right: 8px; }
body#index .mtss-carousel__nav:hover { transform: translateY(-50%) scale(1.05); }

/* MLF homepage product packshots: image file has internal white margins, so crop visually inside the media box. */
body#index .mtss-card__media-link > img {
  transform: scale(1.16) !important;
  transform-origin: center center !important;
}


/* MLF 2026-07-02: affiche la 2e image produit au survol dans le module home best-sellers. */
body#index .mtss-card__media-link > img.mtss-card__img {
  transition: transform .6s var(--mtss-ease, ease), opacity .35s ease !important;
}
body#index .mtss-card__media-link > img.mtss-card__img--second {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body#index .mtss-card:hover .mtss-card__media-link > img.mtss-card__img--first {
  opacity: 0 !important;
}
body#index .mtss-card:hover .mtss-card__media-link > img.mtss-card__img--second {
  opacity: 1 !important;
}
body#index .mtss-card__media-link > img.mtss-card__img:only-child,
body#index .mtss-card:hover .mtss-card__media-link > img.mtss-card__img:only-child {
  opacity: 1 !important;
}
