/* Reference storefront: tightly spaced, image-led collections. Scoped to home. */
.reference-home.reference-catalogue {
  background: #fff;
  color: #171d15;
  font-family: "DM Sans", Arial, sans-serif;
  padding-bottom: 14px;
}
.reference-home.reference-catalogue > section {
  max-width: 1280px;
  padding-inline: 28px;
  margin-top: 25px;
}
.reference-home.reference-catalogue > .welcome-section {
  margin-top: 12px;
}
.reference-home.reference-catalogue .section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
  gap: 10px;
}
.reference-home.reference-catalogue .section-title h2 {
  color: #171d15;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.reference-home.reference-catalogue .view-link {
  color: #07560b;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.reference-home.reference-catalogue .reference-service-icons {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.reference-home.reference-catalogue .reference-service-icons > a {
  min-width: 0;
  min-height: 122px;
  justify-content: center;
  gap: 9px;
  padding: 12px 8px;
  background: #f8faf5;
  border: 1px solid #f0f2eb;
  border-radius: 12px;
  color: #172315;
}
.reference-home.reference-catalogue .reference-service-icons > a > span {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #07560b;
}
.reference-home.reference-catalogue .reference-service-icons .icon {
  width: 42px;
  height: 42px;
  stroke-width: 1.65;
}
.reference-home.reference-catalogue .reference-service-icons strong {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  max-width: 130px;
}
.reference-home.reference-catalogue .collection-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  padding-bottom: 3px;
}
.reference-home.reference-catalogue .collection-card {
  display: flex;
  flex: 1 0 90px;
  min-width: 0;
  max-width: none;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.reference-home.reference-catalogue .collection-photo {
  display: grid;
  place-items: center;
  width: 104px;
  max-width: 100%;
  aspect-ratio: 1;
  border: 1px solid #edf0e8;
  background: #fafbf8;
  border-radius: 50%;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}
.reference-home.reference-catalogue .collection-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.reference-home.reference-catalogue .collection-card h3 {
  color: #151d12;
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.reference-home.reference-catalogue .service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.reference-home.reference-catalogue .service-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #edf0e8;
  border-radius: 11px;
  padding: 0;
  background: #fff;
}
.reference-home.reference-catalogue .service-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  overflow: hidden;
}
.reference-home.reference-catalogue .service-photo img {
  height: 100%;
}
.reference-home.reference-catalogue .service-card-content {
  width: 100%;
  padding: 12px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.reference-home.reference-catalogue .service-card h3 {
  color: #171d15;
  margin: 0;
  min-height: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.reference-home.reference-catalogue .service-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #333b30;
  font-size: 12px;
  line-height: 1.4;
  margin: 6px 0 10px;
}
.reference-home.reference-catalogue .card-bottom {
  margin-top: auto;
  padding-top: 0;
  border: 0;
  font-size: 11px;
}
.reference-home.reference-catalogue .card-bottom strong {
  display: inline;
  color: #07560b;
  font-size: 13px;
}
.reference-home.reference-catalogue .product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.reference-home.reference-catalogue .product-card {
  display: block;
  min-width: 0;
  border: 1px solid #edf0e8;
  border-radius: 11px;
  box-shadow: none;
}
.reference-home.reference-catalogue .product-card:nth-child(n) {
  display: block;
}
.reference-home.reference-catalogue .product-image {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  background: #fafbf7;
}
.reference-home.reference-catalogue .product-photo-button {
  display: block;
  width: 100%;
  height: 100%;
}
.reference-home.reference-catalogue .product-photo-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reference-home.reference-catalogue .product-badge,
.reference-home.reference-catalogue .favorite-btn,
.reference-home.reference-catalogue .product-info > small,
.reference-home.reference-catalogue .product-care,
.reference-home.reference-catalogue .price del {
  display: none;
}
.reference-home.reference-catalogue .product-info {
  padding: 10px;
}
.reference-home.reference-catalogue .product-info h3 {
  color: #171d15;
  min-height: 2.6em;
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.reference-home.reference-catalogue .product-purchase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
  align-items: center;
}
.reference-home.reference-catalogue .price {
  color: #171d15;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}
.reference-home.reference-catalogue .product-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: white;
  background: #07560b;
  font-size: 0;
}
.reference-home.reference-catalogue .product-add-label {
  display: none;
}
.reference-home.reference-catalogue .product-add .icon {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  stroke: white;
  stroke-width: 2;
}
.reference-home.reference-catalogue .product-add:disabled {
  width: auto;
  grid-column: 1 / -1;
  justify-self: end;
  min-width: 0;
  padding: 5px 7px;
  border-radius: 5px;
  font-size: 10px;
}
.reference-home.reference-catalogue .product-add:disabled .product-add-label {
  display: inline;
}
.reference-home.reference-catalogue .product-add:disabled .icon {
  display: none;
}
.reference-home.reference-catalogue .reference-inspiration > div:last-child {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.reference-home.reference-catalogue .reference-inspiration a {
  display: block;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.reference-home.reference-catalogue .reference-inspiration img {
  width: 100%;
  aspect-ratio: 1.42;
  border-radius: 10px;
}
.reference-home.reference-catalogue .reference-inspiration a span {
  color: #171d15;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  padding: 7px 1px 0;
}
@media (max-width: 900px) {
  .reference-home.reference-catalogue > section {
    margin-top: 18px;
    padding-inline: 16px;
  }
  .reference-home.reference-catalogue > .welcome-section {
    margin-top: 10px;
  }
  .reference-home.reference-catalogue .section-title {
    margin-bottom: 9px;
  }
  .reference-home.reference-catalogue .section-title h2 {
    font-size: 17px;
  }
  .reference-home.reference-catalogue .view-link {
    font-size: 11px;
  }
  .reference-home.reference-catalogue .reference-service-icons {
    gap: 9px;
  }
  .reference-home.reference-catalogue .reference-service-icons > a {
    padding: 8px 4px;
    min-height: 89px;
    gap: 6px;
    border-radius: 9px;
  }
  .reference-home.reference-catalogue .reference-service-icons > a > span {
    width: 37px;
    height: 37px;
  }
  .reference-home.reference-catalogue .reference-service-icons .icon {
    width: 35px;
    height: 35px;
  }
  .reference-home.reference-catalogue .reference-service-icons strong {
    font-size: 11px;
  }
  .reference-home.reference-catalogue .collection-grid {
    gap: 8px;
  }
  .reference-home.reference-catalogue .collection-card {
    flex-basis: 55px;
  }
  .reference-home.reference-catalogue .collection-photo {
    width: 75px;
    padding: 3px;
  }
  .reference-home.reference-catalogue .collection-card h3 {
    font-size: 10px;
  }
  .reference-home.reference-catalogue .service-grid {
    gap: 9px;
  }
  .reference-home.reference-catalogue .service-card-content {
    padding: 8px;
  }
  .reference-home.reference-catalogue .service-card h3 {
    font-size: 12px;
  }
  .reference-home.reference-catalogue .service-card p {
    font-size: 10px;
    margin: 5px 0 8px;
  }
  .reference-home.reference-catalogue .card-bottom {
    font-size: 9px;
  }
  .reference-home.reference-catalogue .card-bottom strong {
    font-size: 11px;
  }
  .reference-home.reference-catalogue .product-grid {
    gap: 8px;
  }
  .reference-home.reference-catalogue .product-info {
    padding: 7px;
  }
  .reference-home.reference-catalogue .product-info h3 {
    font-size: 11px;
  }
  .reference-home.reference-catalogue .price {
    font-size: 11px;
  }
  .reference-home.reference-catalogue .reference-inspiration > div:last-child {
    gap: 9px;
  }
  .reference-home.reference-catalogue .reference-inspiration a span {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .reference-home.reference-catalogue > section {
    padding-inline: 12px;
    margin-top: 15px;
  }
  .reference-home.reference-catalogue .section-title h2 {
    font-size: 15px;
  }
  .reference-home.reference-catalogue .view-link {
    font-size: 10px;
  }
  .reference-home.reference-catalogue .reference-service-icons {
    gap: 7px;
  }
  .reference-home.reference-catalogue .reference-service-icons > a {
    min-height: 83px;
    padding: 7px 3px;
  }
  .reference-home.reference-catalogue .reference-service-icons > a > span {
    width: 31px;
    height: 31px;
  }
  .reference-home.reference-catalogue .reference-service-icons .icon {
    width: 30px;
    height: 30px;
  }
  .reference-home.reference-catalogue .reference-service-icons strong {
    font-size: 9px;
  }
  .reference-home.reference-catalogue .collection-grid {
    gap: 5px;
  }
  .reference-home.reference-catalogue .collection-card {
    flex-basis: 51px;
  }
  .reference-home.reference-catalogue .collection-photo {
    width: 62px;
  }
  .reference-home.reference-catalogue .collection-card h3 {
    font-size: 9px;
  }
  .reference-home.reference-catalogue .service-grid {
    gap: 6px;
  }
  .reference-home.reference-catalogue .service-card-content {
    padding: 6px;
  }
  .reference-home.reference-catalogue .service-card h3 {
    font-size: 10px;
  }
  .reference-home.reference-catalogue .service-card p {
    font-size: 9px;
    line-height: 1.35;
  }
  .reference-home.reference-catalogue .card-bottom {
    font-size: 8px;
  }
  .reference-home.reference-catalogue .card-bottom strong {
    font-size: 10px;
  }
  .reference-home.reference-catalogue .product-grid {
    gap: 5px;
  }
  .reference-home.reference-catalogue .product-info {
    padding: 5px;
  }
  .reference-home.reference-catalogue .product-info h3 {
    font-size: 9px;
  }
  .reference-home.reference-catalogue .price {
    font-size: 10px;
  }
  .reference-home.reference-catalogue .product-purchase {
    gap: 3px;
  }
  .reference-home.reference-catalogue .product-purchase .price {
    grid-column: 1 / -1;
  }
  .reference-home.reference-catalogue .product-add {
    grid-column: 2;
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
  }
  .reference-home.reference-catalogue .product-add .icon {
    width: 15px;
    height: 15px;
  }
  .reference-home.reference-catalogue .reference-inspiration > div:last-child {
    gap: 6px;
  }
  .reference-home.reference-catalogue .reference-inspiration img {
    border-radius: 7px;
  }
  .reference-home.reference-catalogue .reference-inspiration a span {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reference-home.reference-catalogue .collection-card:hover .collection-photo {
    transform: none;
  }
}

.reference-home.reference-catalogue .product-info h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: 2.6em;
}
.reference-home.reference-catalogue .product-add {
  margin-left: auto;
}

/* Forest-green pictograms and softly tinted tiles from the supplied reference. */
.reference-home.reference-catalogue {
  --reference-green: #07560b;
}
.reference-home.reference-catalogue .view-link,
.reference-home.reference-catalogue .card-bottom strong {
  color: var(--reference-green);
}
.reference-home.reference-catalogue .product-add {
  background: var(--reference-green);
}
.reference-home.reference-catalogue .reference-service-icons > a {
  background: #f7f9f4;
  border-color: #f0f2ec;
  color: #101b0e;
}
.reference-home.reference-catalogue .reference-service-icons > a > span {
  color: var(--reference-green);
  width: 49px;
  height: 49px;
}
.reference-home.reference-catalogue
  .reference-service-icons
  .service-pictogram {
  display: block;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  overflow: visible;
}
.reference-home.reference-catalogue .reference-service-icons > a:focus-visible {
  outline: 2px solid var(--reference-green);
  outline-offset: 3px;
}
.reference-home.reference-catalogue .reference-service-icons > a:hover {
  border-color: #b6cab1;
  background: #f1f6ed;
}
@media (max-width: 900px) {
  .reference-home.reference-catalogue .reference-service-icons > a > span {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 480px) {
  .reference-home.reference-catalogue .reference-service-icons > a > span {
    width: 34px;
    height: 34px;
  }
}

.service-inquiry-illustration {
  display: grid;
  place-items: center;
  min-height: 250px;
  width: 100%;
  border-radius: 14px;
  background: #f7f9f4;
  color: #07560b;
}
.service-inquiry-illustration .service-pictogram {
  width: 180px;
  height: 180px;
}
