.product-carousel .swiper-slide {
  width: 350px !important;
  max-width: 90vw;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  margin: 0;
  width: auto;
  height: auto;
  z-index: 20;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}

.swiper-button-next svg,
.swiper-button-prev svg {
  width: 20px !important;
  height: 20px !important;
}

.two-line-limit {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.woocommerce .woocommerce-breadcrumb {
  margin: 0 !important;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.woocommerce .woocommerce-form-login,
.woocommerce .woocommerce-form-register {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.prose {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
}

.prose * {
  margin: 0;
}

.prose p {
  font-family: "Poppins", sans-serif !important;
}

/* Titres H1 */
.prose h1 {
  font-family: "Poppins", sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #000000;
}

/* Titres H2 */
.prose h2,
.prose .wp-block-heading {
  font-family: "Poppins", sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.875rem;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: #000000;
}

/* Titres H3 */
.prose h3 {
  font-family: "Poppins", sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #000000;
}

/* Titres H4 */
.prose h4 {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.25rem;
  line-height: 1.4;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #000000;
}

/* Paragraphes */
.prose p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: #4b5563;
}

/* Premier paragraphe plus grand */
.prose p:first-child {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #1f2937;
  font-weight: 400;
}

/* Espacement après les titres */
.prose h1 + p,
.prose h2 + p,
.prose h3 + p,
.prose h4 + p,
.prose .wp-block-heading + p {
  margin-top: 0;
}

/* Listes */
.prose ul,
.prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: #4b5563;
}

.prose ul li {
  list-style: none;
  position: relative;
}

.prose ul li::before {
  content: "•";
  color: #000000;
  font-weight: bold;
  position: absolute;
  left: -1rem;
  top: 0;
}

/* Listes ordonnées */
.prose ol li {
  list-style: decimal;
}

/* Liens */
.prose a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: all 0.2s ease;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

/* Citations */
.prose blockquote {
  border-left: 4px solid #000000;
  padding-left: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
  background-color: #f9fafb;
}

.prose blockquote p {
  margin-bottom: 0;
}

/* Code inline */
.prose code {
  background-color: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: "JetBrains Mono", monospace;
}

/* Blocs de code */
.prose pre {
  background-color: #1f2937;
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  overflow-x: auto;
}

.prose pre code {
  background-color: transparent;
  padding: 0;
  color: #ffffff;
}

/* Images */
.prose img {
  border-radius: 8px;
  margin: 2rem 0;
  width: 100%;
  height: auto;
}

/* Séparateurs */
.prose hr {
  border: 0;
  border-top: 2px solid #e5e7eb;
  margin: 3rem 0;
}

/* Texte en gras */
.prose strong,
.prose b {
  font-weight: 700;
  color: #000000;
}

/* Texte en italique */
.prose em,
.prose i {
  font-style: italic;
}

/* Tables */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.prose th {
  border-bottom: 2px solid #000000;
  background-color: #f9fafb;
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.prose td {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
}

/* Suppression des paragraphes vides */
.prose p:empty {
  display: none;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .prose {
    font-size: 14px;
  }

  .prose h1 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .prose h2,
  .prose .wp-block-heading {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .prose h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .prose p:first-child {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}
