h2 {
  margin-bottom: 30px;
}

.halfscreen_img {
  position: relative;
  width: 100%;
  height: 400px;
  background: url('/img/optimized/acheter-produits/catalog-hero.webp') no-repeat center;
  background-size: 100% auto;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 0;
}

.halfscreen_img::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.5);
  z-index: 0;
  pointer-events: none;
}

.halfscreen_img h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  margin: 0;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  font-size: clamp(3rem, 7.5vw, 5rem);
  pointer-events: none;
}

.catalog-assurance-strip {
  width: min(1180px, 92vw);
  margin: 36px auto 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.catalog-assurance {
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(36, 56, 72, 0.08);
  border-radius: 18px;
  padding: 18px 20px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.catalog-assurance-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-assurance strong {
  color: #14314e;
  font-size: 0.98rem;
  line-height: 1.45;
}

.catalog-assurance-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: rgba(20, 49, 78, 0.08);
  color: #14314e;
  font-size: 0.92rem;
  flex: 0 0 auto;
}

/* LISTE PRODUITS */

.list-products .container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 20px 0 48px;
  display: block;
}

.list-products .retail-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
}

.list-products .retail-product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.list-products .retail-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.list-products .retail-product-card .thumb {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f7f7f7;
  overflow: hidden;
}

.list-products .retail-product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.list-products .retail-product-card:hover .thumb img {
  transform: scale(1.03);
}

.list-products .retail-product-card .card-body {
  padding: 0.75rem 0.8rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
}

.list-products .retail-product-card .name {
  font-family: Alice;
  font-size: clamp(1rem, 0.6vw + 0.95rem, 1.15rem);
  line-height: 1.3;
  min-height: 1.3em;
  font-weight: 600;
  color: var(--sombre, #333);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.list-products .retail-product-card .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  color: #555;
  font-size: 0.95rem;
}

.list-products .retail-product-card .catalog-card-measurements { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; white-space: nowrap; }
.list-products .retail-product-card .dims { font-size: .8rem; color: #68716c; }
.list-products .catalog-card-actions { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; margin-top: auto; }
.list-products .catalog-card-actions form { margin: 0; }
.list-products .catalog-card-actions .stock-unavailable { font-size: .78rem; line-height: 1.3; font-weight: 600; }
.list-products .catalog-card-actions .btn-primary { box-sizing: border-box; min-height: 42px; text-align: center; text-decoration: none; }

.list-products .retail-product-card .price {
  font-weight: 700;
  color: var(--sombre, #333);
}

.list-products .retail-product-card .dot {
  opacity: 0.6;
  user-select: none;
}

.list-products .retail-product-card .btn-primary {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--bleu, #1C3E6B);
  background: var(--bleu, #1C3E6B);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.list-products .retail-product-card .btn-primary:hover {
  filter: brightness(1.05);
}

/* NOS PRODUITS */

.Nos-Produits {
  background-color: var(--vert);
  min-height: 400px;
  height: auto;
  padding: 70px 40px;
}

.Nos-Produits .horizontalFlexContainer > div {
  width: 50%;
  height: auto;
}

.Nos-Produits .horizontalFlexContainer {
  width: 90%;
  height: auto;
  align-items: center;
  gap: 32px;
}

.Nos-Produits .flex-left {
  gap: 12px;
}

.Nos-Produits p {
  max-width: 720px;
  line-height: 1.65;
}

.flex-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.Nos-Produits .horizontalFlexContainer img {
  width: min(100%, 420px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Nos services */

.nos-services {
  padding: 5vw;
  color: #fff;
  background: url(/img/optimized/acheter-produits/dark-lamp-bg.webp);
  background-size: 100% auto;
  background-position: 100% 80%;
  background-repeat: no-repeat;
}

.descriptionServices {
  width: min(680px, 100%);
  background: rgb(238 238 238 / 0.1);
  padding: 20px;
}

.nos-services .grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nos-services .grid-item {
  border: #fff solid 1px;
  padding: 14px 16px;
  background: rgb(51 51 51 / 0.3);
  line-height: 1.55;
}

.nos-services a {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .list-products .retail-catalog-grid {
    gap: 1rem;
  }

  .list-products .retail-product-card .card-body {
    padding: 0.75rem 0.9rem 0.85rem;
  }
}

@media (min-width: 768px) {
  .catalog-assurance-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .list-products .retail-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .list-products .retail-product-card .name {
    font-size: 1.5rem;
  }

  .list-products .retail-product-card .meta {
    font-size: 1rem;
  }

  .list-products .retail-product-card .btn-primary {
    font-size: 0.95rem;
    padding: 0.55rem 0.9rem;
  }
}

@media (max-width: 767.98px) {
  .list-products .retail-product-card .catalog-card-measurements {
    flex-basis: 100%;
    margin-left: 0;
  }

  .list-products .catalog-card-measurements .dot {
    display: none;
  }
}

@media (min-width: 992px) {
  .list-products .retail-product-card .promotion-price--compact .price,
  .list-products .retail-product-card .promotion-price--compact .promotion-price__current {
    font-size: 1.1rem;
  }

  .list-products .retail-product-card .promotion-price--compact .promotion-price__previous {
    font-size: .72rem;
  }

  .list-products .retail-product-card .dims {
    font-size: .9rem;
  }
}

@media (min-width: 1200px) {
  .list-products .retail-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .catalog-assurance-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .halfscreen_img {
    height: 210px;
    background-size: 100% auto;
    background-position: center center;
  }

  .halfscreen_img h1 {
    font-size: clamp(2.9rem, 13.5vw, 3.8rem);
  }

  .catalog-assurance-strip {
    width: min(94vw, 100%);
    margin-top: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 3px;
    background: rgba(255, 252, 247, 0.92);
    border: 1px solid rgba(36, 56, 72, 0.08);
    border-radius: 16px;
  }

  .catalog-assurance {
    padding: 8px;
    background: transparent;
    border: 0;
  }

  .catalog-assurance-head {
    align-items: flex-start;
    gap: 7px;
  }

  .catalog-assurance-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 0.8rem;
  }

  .catalog-assurance strong {
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.3;
  }

  .list-products .container {
    width: min(94vw, 100%);
    padding: 20px 0 38px;
  }

  .list-products .retail-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .Nos-Produits {
    background: url(/img/optimized/acheter-produits/fait-main-900.webp) center center / cover;
    height: unset;
    min-height: unset;
    padding: 36px 22px;
    position: relative;
    text-shadow: #fff 1px 1px 5px;
    font-size: 1rem;
    line-height: 1.55;
    z-index: 0;
  }

  .Nos-Produits p {
    text-align: justify;
    line-height: 1.55;
  }

  .Nos-Produits::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 0.6);
    top: 0;
    left: 0;
    z-index: -1;
  }

  .Nos-Produits .horizontalFlexContainer > div {
    width: 100%;
  }

  .Nos-Produits .horizontalFlexContainer {
    width: 100%;
    gap: 0;
  }

  .Nos-Produits h2 {
    margin-bottom: 16px;
  }

  .Nos-Produits .btn {
    margin: 14px 0 0;
  }

  .nos-services {
    padding: 10px;
    background-size: auto 100%;
  }

  .descriptionServices {
    width: 100%;
  }

  .nos-services .grid-container {
    grid-template-columns: minmax(0, 1fr);
  }
}
