/* Ricopesca B2B - Product list cards v1.0.2 */

#js-product-list.rcp-product-list-zone .products-list {
  row-gap: 18px;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-wrapper {
  margin-bottom: 18px;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 142, 190, 0.18);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(32, 27, 75, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #0098cc 0%, #201b4b 100%);
  opacity: 0.85;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 142, 190, 0.32);
  box-shadow: 0 22px 42px rgba(32, 27, 75, 0.1);
}

#js-product-list.rcp-product-list-zone .rcp-product-list-row {
  align-items: center;
  margin: 0 !important;
  padding: 18px 18px 18px 22px;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-media,
#js-product-list.rcp-product-list-zone .rcp-product-list-content,
#js-product-list.rcp-product-list-zone .rcp-product-list-actions {
  padding-top: 0;
  padding-bottom: 0;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-media {
  padding-left: 0;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-thumb {
  min-height: 150px;
  height: 150px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(32, 27, 75, 0.08);
  background: linear-gradient(135deg, #f5fbfe 0%, #ffffff 100%);
}

#js-product-list.rcp-product-list-zone .rcp-product-list-thumb > *,
#js-product-list.rcp-product-list-zone .rcp-product-list-thumb .thumbnail-container,
#js-product-list.rcp-product-list-zone .rcp-product-list-thumb .product-thumbnail,
#js-product-list.rcp-product-list-zone .rcp-product-list-thumb a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-thumb img {
  width: auto !important;
  max-width: 92% !important;
  height: auto !important;
  max-height: 128px !important;
  object-fit: contain;
  margin: 0 auto;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-title {
  margin: 0 0 6px;
  line-height: 1.18;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-title a {
  color: #201b4b;
  font-weight: 800;
  text-decoration: none;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-title a:hover {
  color: #008ec2;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-reference {
  margin-bottom: 8px;
  color: rgba(32, 27, 75, 0.48) !important;
  font-size: 0.82rem;
  font-weight: 600;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-reference span {
  color: rgba(32, 27, 75, 0.66);
  font-weight: 800;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-brand {
  margin-bottom: 8px;
  font-size: 0.84rem;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-description {
  max-width: 620px;
  margin: 0;
  color: rgba(32, 27, 75, 0.68);
  font-size: 0.94rem;
  line-height: 1.45;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-availability .badge {
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-actions {
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-price {
  text-align: right;
  color: #201b4b;
  font-weight: 800;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-price .product-price {
  color: #201b4b;
  font-size: 1.08rem;
  font-weight: 800;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .btn,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .btn-primary,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .btn-secondary,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta a.btn {
  min-width: 112px;
  border: 0 !important;
  border-radius: 999px !important;
  background: #008ec2 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(0, 142, 194, 0.22);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.78rem 1.05rem;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .btn:hover,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .btn-primary:hover,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .btn-secondary:hover,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta a.btn:hover {
  background: #201b4b !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(32, 27, 75, 0.18);
}

#js-product-list.rcp-product-list-zone .rcp-product-list-functional .js-quick-view-iqit {
  display: none !important;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-functional {
  min-height: 0;
  margin: 0;
}

@media (max-width: 767.98px) {
  #js-product-list.rcp-product-list-zone .rcp-product-list-wrapper {
    margin-bottom: 16px;
  }

  #js-product-list.rcp-product-list-zone .rcp-product-list-card {
    border-radius: 20px;
  }

  #js-product-list.rcp-product-list-zone .rcp-product-list-row {
    padding: 16px 16px 18px 20px;
  }

  #js-product-list.rcp-product-list-zone .rcp-product-list-media {
    padding-right: 0;
    margin-bottom: 14px;
  }

  #js-product-list.rcp-product-list-zone .rcp-product-list-thumb {
    height: 168px;
    min-height: 168px;
  }

  #js-product-list.rcp-product-list-zone .rcp-product-list-thumb img {
    max-height: 142px !important;
  }

  #js-product-list.rcp-product-list-zone .rcp-product-list-title {
    font-size: 1.08rem;
  }

  #js-product-list.rcp-product-list-zone .rcp-product-list-description {
    font-size: 0.9rem;
  }

  #js-product-list.rcp-product-list-zone .rcp-product-list-actions {
    width: 100%;
    min-width: 0;
    align-items: stretch;
    margin-top: 14px;
    gap: 8px;
  }

  #js-product-list.rcp-product-list-zone .rcp-product-list-price {
    text-align: left;
  }

  #js-product-list.rcp-product-list-zone .rcp-product-list-cta .btn,
  #js-product-list.rcp-product-list-zone .rcp-product-list-cta .btn-primary,
  #js-product-list.rcp-product-list-zone .rcp-product-list-cta .btn-secondary,
  #js-product-list.rcp-product-list-zone .rcp-product-list-cta a.btn {
    width: 100%;
    min-width: 0;
    display: block;
  }
}


/* Ricopesca B2B - Quantity selector in product listing v1.0.2 */
#js-product-list.rcp-product-list-zone .rcp-product-list-cta form,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .add-to-cart-or-refresh {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin: 0;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .product-add-to-cart,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .product-quantity,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .product-quantity > div {
  margin: 0;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin {
  width: 104px;
  height: 42px;
  display: inline-flex !important;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(0, 142, 194, 0.28);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(32, 27, 75, 0.07);
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin-prefix,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin-postfix {
  display: none !important;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin input,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin .input-qty,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin input[name="qty"] {
  width: 68px !important;
  min-width: 0 !important;
  height: 40px !important;
  padding: 0 0.35rem !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #201b4b !important;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 40px;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin input:focus,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin .input-qty:focus {
  outline: 0;
  box-shadow: none !important;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin input::-webkit-outer-spin-button,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .input-group-btn-vertical {
  width: 34px;
  flex: 0 0 34px;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid rgba(0, 142, 194, 0.18);
  background: #008ec2;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .input-group-btn-vertical .btn,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .input-group-btn-vertical .btn-touchspin,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .input-group-btn-vertical .js-touchspin,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin .btn-touchspin,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin .js-touchspin {
  width: 34px !important;
  min-width: 0 !important;
  height: 21px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #008ec2 !important;
  color: #fff !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  transform: none !important;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .input-group-btn-vertical .btn:first-child,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .input-group-btn-vertical .btn-touchspin:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .input-group-btn-vertical .btn:hover,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .input-group-btn-vertical .btn-touchspin:hover,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin .btn-touchspin:hover,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin .js-touchspin:hover {
  background: #201b4b !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .input-group-btn-vertical i,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin .btn-touchspin i,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin .js-touchspin i {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1;
}

#js-product-list.rcp-product-list-zone .rcp-product-list-cta .add-to-cart,
#js-product-list.rcp-product-list-zone .rcp-product-list-cta button[data-button-action="add-to-cart"] {
  min-width: 142px;
}

@media (max-width: 767.98px) {
  #js-product-list.rcp-product-list-zone .rcp-product-list-cta form,
  #js-product-list.rcp-product-list-zone .rcp-product-list-cta .add-to-cart-or-refresh {
    align-items: stretch;
  }

  #js-product-list.rcp-product-list-zone .rcp-product-list-cta .bootstrap-touchspin {
    align-self: flex-start;
  }
}
