/* ============================================
   MOXIE SHOWCASE — Hero + Produits
   ============================================ */

.moxie-showcase {
  padding: 0;
  margin-bottom: 20px;
  margin-left: -32px;
  margin-right: -32px;
}

.moxie-showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-height: 420px;
}

/* HERO — gauche */
.moxie-showcase__hero {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border-radius: 0;
}

.moxie-showcase__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.moxie-showcase__hero:hover .moxie-showcase__hero-img {
  transform: scale(1.03);
}

.moxie-showcase__hero-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.moxie-showcase__hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.02em;
  background: rgba(0, 0, 0, 0.45);
  display: inline;
  padding: 4px 12px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.moxie-showcase__hero-subtitle {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  background: rgba(255,255,255,0.92);
  padding: 6px 14px;
  line-height: 1.4;
}

/* PRODUITS — droite */
.moxie-showcase__products-wrap {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

/* Track pour le mode carousel (> 2 produits) */
.moxie-showcase__products-wrap.has-carousel {
  display: block;
}

.moxie-showcase__products-track {
  display: contents;
}

.moxie-showcase__products-wrap.has-carousel .moxie-showcase__products-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.moxie-showcase__products-wrap.has-carousel .moxie-showcase__product {
  min-width: 50%;
  flex-shrink: 0;
}

/* Carte produit */
.moxie-showcase__product {
  background: #fff;
  border: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.moxie-showcase__product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.moxie-showcase__product-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 200px;
  background: #fff;
}

.moxie-showcase__product-img {
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
}

.moxie-showcase__product-info {
  padding: 16px 20px 20px;
}

.moxie-showcase__product-name {
  font-size: 15px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.moxie-showcase__product-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.moxie-showcase__product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.moxie-showcase__product-price {
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0a;
}

.moxie-showcase__product-old-price {
  font-size: 13px;
  color: #bbb;
  text-decoration: line-through;
}

/* Navigation arrows */
.moxie-showcase__nav {
  position: absolute;
  top: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: rgba(255,255,255,0.92);
  color: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  padding: 0;
}

.moxie-showcase__nav:hover {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

.moxie-showcase__nav--prev { right: 52px; }
.moxie-showcase__nav--next { right: 12px; }

.moxie-showcase__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: rgba(255,255,255,0.92);
  color: #0a0a0a;
  border-color: #ddd;
}

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

@media (max-width: 992px) {
  .moxie-showcase {
    padding: 0;
  }

  .moxie-showcase__inner {
    min-height: 340px;
  }

  .moxie-showcase__hero-title {
    font-size: 28px;
  }

  .moxie-showcase__hero-overlay {
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {
  .moxie-showcase__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .moxie-showcase__hero {
    min-height: 260px;
  }

  .moxie-showcase__products-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .moxie-showcase__product-img-wrap {
    min-height: 160px;
    padding: 16px;
  }

  .moxie-showcase__product-img {
    max-height: 180px;
  }
}

@media (max-width: 576px) {
  .moxie-showcase {
    margin-left: -16px;
    margin-right: -16px;
  }
}

@media (max-width: 480px) {
  .moxie-showcase {
    padding: 0;
    margin-bottom: 2px;
  }

  .moxie-showcase__inner {
    gap: 2px;
  }

  .moxie-showcase__hero {
    min-height: 220px;
  }

  .moxie-showcase__hero-title {
    font-size: 24px;
  }

  .moxie-showcase__hero-overlay {
    padding: 20px 16px;
  }

  .moxie-showcase__products-wrap {
    gap: 2px;
  }

  .moxie-showcase__product-info {
    padding: 12px 14px 16px;
  }

  .moxie-showcase__product-name {
    font-size: 13px;
  }

  .moxie-showcase__product-desc {
    display: none;
  }
}
