
/* NOA-O SITE 0.5.0 */

body#category .container,
body#product .container {
  width: min(1280px, calc(100% - 48px)) !important;
  max-width: 1280px !important;
}

body#category #left-column {
  display: none !important;
}

body#category #content-wrapper,
body#category #center-column {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 100% !important;
}

/* Le badge est redondant avec "Prix et disponibilité sur devis"
   et pouvait se détacher du premier produit pendant le lazy-loading. */
.noao-product-card__badge {
  display: none !important;
}

.noao-category-products {
  margin: 50px 0 100px;
}

.noao-category-products .products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px !important;
}

.noao-category-products .product-miniature {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.noao-product-card {
  overflow: hidden;
}

.noao-product-card__image {
  background: #fff !important;
  border-bottom: 1px solid var(--n-border);
}

.noao-product-card__image img {
  padding: 18px;
}

.noao-product-card__body {
  min-height: 205px;
  display: flex;
  flex-direction: column;
}

.noao-product-card__quote {
  margin-top: auto;
}

.noao-product-card__cta {
  border-top: 1px solid var(--n-border);
  padding-top: 14px;
}

.noao-root-catalogue {
  margin: 42px 0 100px;
  padding: 55px;
  background:
    linear-gradient(135deg, rgba(88,144,177,.08), transparent 42%),
    #f3f6f8;
}

.noao-root-catalogue__intro {
  max-width: 800px;
}

.noao-root-catalogue__intro h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.noao-root-catalogue__intro p {
  margin: 22px 0 0;
  color: var(--n-muted);
  font-size: 16px;
  line-height: 1.75;
}

.noao-root-catalogue__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  border-top: 1px solid var(--n-border);
  border-left: 1px solid var(--n-border);
}

.noao-root-catalogue__steps > div {
  min-height: 170px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--n-border);
  border-bottom: 1px solid var(--n-border);
  background: rgba(255,255,255,.55);
}

.noao-root-catalogue__steps span {
  color: var(--n-brand);
  font-size: 10px;
  font-weight: 900;
}

.noao-root-catalogue__steps strong {
  margin-top: 48px;
  font-size: 20px;
}

.noao-root-catalogue__steps small {
  margin-top: 6px;
  color: var(--n-muted);
  line-height: 1.5;
}

.noao-root-catalogue__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.noao-root-catalogue__selection {
  color: var(--n-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

body#category .products-selection {
  margin-bottom: 28px;
}

body#category .products-sort-order .select-title {
  border-radius: 0;
}

@media (max-width: 1180px) {
  .noao-category-products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body#category .container,
  body#product .container {
    width: min(100% - 30px, 1280px) !important;
  }

  .noao-category-products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .noao-root-catalogue__steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .noao-category-products .products {
    grid-template-columns: 1fr;
  }

  .noao-root-catalogue {
    padding: 30px 22px;
  }

  .noao-root-catalogue__cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
