/* Welco GM homepage V2 Ã¢â‚¬â€ contained-image product showcase */
.wgm-v2 .wgm-products--legacy {
  display: none !important;
}

.wgm-v2-products {
  position: relative;
  padding: 82px 0 88px;
  overflow: hidden;
  background: #f4f6f7;
  border-bottom: 1px solid #e5dcdc;
}

.wgm-v2-products__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 54, 79, 0.18);
  gap: 30px;
}

.wgm-v2-products__heading {
  max-width: 760px;
}

.wgm-v2-products__eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--wgm-theme-navy, #12364f);
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.wgm-v2-products__heading h2 {
  margin: 0;
  color: var(--wgm-theme-navy, #12364f);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.wgm-v2-products__heading p {
  max-width: 700px;
  margin: 17px 0 0;
  color: #52677a;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

.wgm-v2-products__header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
}

.wgm-v2-products__all {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 17px;
  color: var(--wgm-theme-navy, #12364f);
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid var(--wgm-theme-navy, #12364f);
  border-radius: 5px;
  gap: 12px;
}

.wgm-v2-products__all:hover,
.wgm-v2-products__all:focus {
  color: #ffffff;
  background: var(--wgm-theme-navy, #12364f);
  text-decoration: none;
}

.wgm-v2-products__controls {
  display: flex;
  gap: 8px;
}

.wgm-v2-products__controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--wgm-theme-navy, #12364f);
  font-size: 20px;
  background: var(--wgm-theme-accent, #ffc815);
  border: 1px solid var(--wgm-theme-accent, #ffc815);
  border-radius: 50%;
}

.wgm-v2-products__control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: translateY(-1px);
}

.wgm-v2-products__controls .wgm-v2-products__control-icon {
  width: 100%;
  height: 100%;
}

.wgm-v2-products__controls button:hover,
.wgm-v2-products__controls button:focus {
  color: #ffffff;
  background: var(--wgm-theme-navy, #12364f);
  border-color: var(--wgm-theme-navy, #12364f);
}

.wgm-v2-products__viewport {
  width: calc(100% - 30px);
  max-width: 1300px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: auto;
  scroll-snap-type: x proximity;
}

.wgm-v2-products__viewport::-webkit-scrollbar {
  display: none;
}

.wgm-v2-products__track {
  display: flex;
  width: max-content;
  padding: 8px 0 18px;
  gap: 18px;
}

.wgm-v2-products__card {
  flex: 0 0 clamp(220px, calc((100vw - 84px) / 4), 311.5px);
  width: clamp(220px, calc((100vw - 84px) / 4), 311.5px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d8e0e5;
  border-radius: 10px;
  scroll-snap-align: start;
  transition: border-color 200ms ease, transform 200ms ease;
}

.wgm-v2-products__card:hover {
  border-color: var(--wgm-theme-accent, #ffc815);
  transform: translateY(-5px);
}

.wgm-v2-products__card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.wgm-v2-products__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 194px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fafafa;
  border-bottom: 1px solid #e2e7ea;
}

.wgm-v2-products__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.wgm-v2-products__number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  color: var(--wgm-theme-navy, #12364f);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  background: var(--wgm-theme-accent, #ffc815);
  border-radius: 4px;
}

.wgm-v2-products__body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 96px;
  padding: 13px 14px 14px 18px;
  background: var(--wgm-theme-navy, #12364f);
  border-top: 4px solid var(--wgm-theme-accent, #ffc815);
  column-gap: 12px;
}

.wgm-v2-products__type {
  display: block;
  grid-column: 1 / -1;
  margin-bottom: 5px;
  color: var(--wgm-theme-accent, #ffc815);
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wgm-v2-products__body h3 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wgm-v2-products__arrow {
  position: static;
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--wgm-theme-navy, #12364f);
  font-size: 18px;
  background: var(--wgm-theme-accent, #ffc815);
  border-radius: 50%;
}

@media (max-width: 767px) {
  .wgm-v2-products {
    padding: 56px 0 62px;
  }

  .wgm-v2-products__header {
    align-items: center;
    flex-direction: row;
    margin-bottom: 26px;
    gap: 14px;
  }

  .wgm-v2-products__header-actions {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .wgm-v2-products__all {
    min-height: 40px;
    padding: 0 12px;
    font-size: 10px;
    gap: 7px;
  }

  .wgm-v2-products__controls button {
    width: 40px;
    height: 40px;
  }

  .wgm-v2-products__heading h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .wgm-v2-products__card {
    flex-basis: min(84vw, 330px);
    width: min(84vw, 330px);
  }

  .wgm-v2-products__image {
    height: 218px;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .wgm-v2-products__heading h2 {
    font-size: 25px;
  }

  .wgm-v2-products__all {
    min-height: 34px;
    padding: 0 8px;
    font-size: 9px;
  }

  .wgm-v2-products__controls button {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}
