:root {
  --andromede-linked-navy: #071f43;
  --andromede-linked-blue: #0b5cff;
  --andromede-linked-cyan: #12a5d4;
  --andromede-linked-green: #8fd426;
  --andromede-linked-text: #18324f;
  --andromede-linked-muted: #667892;
}

.andromede-produits-lies {
  position: relative;
  float: none;
  clear: both;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 20px 0 30px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(6, 42, 75, .08);
  border-radius: 11px;
  background: #f8fafc;
  box-shadow: 0 5px 16px rgba(6, 42, 75, .045);
}

.andromede-produits-lies--cart {
  width: 100%;
  margin: 26px 0 30px;
}

.woocommerce div.product .andromede-produits-lies.andromede-produits-lies--product-root {
  float: left;
  clear: left;
  width: var(--andromede-linked-gallery-width, 48%);
}

.andromede-produits-lies-title {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: center;
  column-gap: 9px;
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--andromede-linked-navy) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: .025em !important;
  text-transform: uppercase !important;
}

.andromede-produits-lies-title::before {
  content: "";
  display: block;
  width: 7px;
  height: 25px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--andromede-linked-blue) 0%, var(--andromede-linked-cyan) 56%, var(--andromede-linked-green) 100%);
}

.andromede-produits-lies-list {
  display: grid;
  gap: 8px;
}

.andromede-produits-lies--cart .andromede-produits-lies-list--one {
  grid-template-columns: minmax(0, 1fr);
}

.andromede-produits-lies--cart .andromede-produits-lies-list--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.andromede-produits-lies--cart .andromede-produits-lies-list--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.andromede-produits-lies--cart .andromede-produit-lie {
  grid-template-columns: 68px minmax(0, 1fr);
  align-content: start;
}

.andromede-produits-lies--cart .andromede-produit-lie-image {
  width: 68px;
  height: 66px;
}

.andromede-produits-lies--cart .andromede-produit-lie-actions {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-self: stretch;
  min-width: 0;
}

.andromede-produits-lies--cart .andromede-produit-lie-actions .andromede-produit-lie-cta {
  flex: 1 1 0;
  width: auto;
}

.andromede-produit-lie {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 84px;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid rgba(6, 42, 75, .07);
  border-radius: 10px;
  box-shadow: none !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.andromede-produit-lie:nth-child(5n + 1) {
  background: #edf5ff;
}

.andromede-produit-lie:nth-child(5n + 2) {
  background: #eef9f7;
}

.andromede-produit-lie:nth-child(5n + 3) {
  background: #f3f7e9;
}

.andromede-produit-lie:nth-child(5n + 4) {
  background: #f4f1fb;
}

.andromede-produit-lie:nth-child(5n) {
  background: #fbf5eb;
}

.andromede-produit-lie:hover,
.andromede-produit-lie:focus-visible {
  border-color: rgba(11, 92, 255, .24);
  box-shadow: 0 8px 20px rgba(6, 42, 75, .09) !important;
  outline: none;
  transform: translateY(-1px);
}

.andromede-produit-lie-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 68px;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(6, 42, 75, .07);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: none !important;
  text-decoration: none !important;
}

.andromede-produit-lie-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain;
}

.andromede-produit-lie-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.andromede-produit-lie-name {
  color: var(--andromede-linked-navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none !important;
}

.andromede-produit-lie-name:hover,
.andromede-produit-lie-name:focus-visible {
  color: #087ca6;
}

.andromede-produit-lie-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
  margin-top: 5px;
  color: #087ca6;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.andromede-produit-lie-price-prefix {
  flex-basis: 100%;
  color: var(--andromede-linked-muted);
  font-size: .82em;
  font-weight: 700;
}

.andromede-produit-lie-price-current {
  color: #087ca6;
}

.andromede-produit-lie-price-regular {
  color: var(--andromede-linked-muted);
  font-size: .88em;
  font-weight: 700;
  opacity: .8;
}

.andromede-produit-lie-price-tax {
  font-size: .78em;
  font-weight: 800;
}

.andromede-produit-lie-price-request {
  color: var(--andromede-linked-navy);
  font-weight: 800;
}

.andromede-produit-lie-actions {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  justify-self: end;
  gap: 6px;
  min-width: 126px;
}

.andromede-produit-lie-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  box-sizing: border-box;
  padding: 9px 13px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: .025em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.andromede-produit-lie-cta-cart {
  border: 1px solid var(--andromede-linked-navy) !important;
  background: var(--andromede-linked-navy) !important;
  color: #fff !important;
}

.andromede-produit-lie-cta-more {
  border: 1px solid #169bc4 !important;
  background: rgba(255, 255, 255, .78) !important;
  color: #087ca6 !important;
}

.andromede-produit-lie-cta:hover,
.andromede-produit-lie-cta:focus-visible {
  transform: translateY(-1px);
}

.andromede-produit-lie-cta-cart:hover,
.andromede-produit-lie-cta-cart:focus-visible {
  border-color: #0a78a2 !important;
  background: #0a78a2 !important;
  color: #fff !important;
}

.andromede-produit-lie-cta-more:hover,
.andromede-produit-lie-cta-more:focus-visible {
  background: #eaf7fb !important;
  color: #066d92 !important;
}

@media (max-width: 959px) {
  .woocommerce div.product .andromede-produits-lies {
    float: none;
    clear: both;
    width: 100%;
    margin: 11px 0 18px;
  }

  .woocommerce div.product .andromede-produits-lies.andromede-produits-lies--product-root {
    float: none;
    width: 100%;
  }

  .andromede-financement-wrap > .andromede-produits-lies {
    width: 100% !important;
    margin: 0 !important;
  }

  .andromede-produits-lies--cart .andromede-produits-lies-list--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .andromede-produits-lies--cart .andromede-produits-lies-list--two,
  .andromede-produits-lies--cart .andromede-produits-lies-list--three {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .andromede-produits-lies {
    padding: 12px;
  }

  .andromede-produits-lies-title {
    font-size: 14px !important;
  }

  .andromede-produit-lie {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    min-height: 72px;
    padding: 7px 9px;
  }

  .andromede-produit-lie-image {
    width: 58px;
    height: 56px;
  }

  .andromede-produit-lie-name {
    font-size: 13px;
  }

  .andromede-produit-lie-price {
    font-size: 12px;
  }

  .andromede-produit-lie-cta {
    min-height: 34px;
    margin-top: -2px;
    padding: 8px 11px !important;
    font-size: 10px !important;
  }

  .andromede-produit-lie-actions {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    justify-self: start;
    min-width: 0;
  }

  .andromede-produit-lie-actions .andromede-produit-lie-cta {
    width: auto;
  }

  .andromede-produits-lies--cart .andromede-produit-lie {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .andromede-produits-lies--cart .andromede-produit-lie-image {
    width: 58px;
    height: 56px;
  }

  .andromede-produits-lies--cart .andromede-produit-lie-actions {
    grid-column: 1 / -1;
  }
}
