#ix-cross-sell-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 99998;
}

#ix-cross-sell-modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.98);
  width: min(920px, 92vw);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 99999;
  padding: 50px;
}

#ix-cross-sell-close{
  position: absolute;
  top: 12px;
  right: 12px;

  background: transparent;
  border: none;
  padding: 6px;

  cursor: pointer;
  z-index: 2;
}

#ix-cross-sell-close .dashicons{
  font-size: 26px;
  width: 26px;
  height: 26px;
  line-height: 26px;

  color: #111;
  opacity: 0.6;
  transition: opacity .15s ease, transform .15s ease;
}

#ix-cross-sell-close:hover .dashicons{
  opacity: 1;
  transform: scale(1.1);
}

body.ix-cross-sell-open #ix-cross-sell-overlay{
  opacity: 1;
  pointer-events: auto;
}

body.ix-cross-sell-open #ix-cross-sell-modal{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.cross-sell.product-card-item .e-atc-qty-button-holder  {
  max-width: 225px;
}

/* Hide Add to Quote button */
#ix-cross-sell-modal a.afrfqbt.button.add_to_cart_button.product_type_simple {
 display: none;
}

#ix-cross-sell-modal .input-text.qty {
  max-width: 65px;
}

@media screen and (max-width: 767px) {

  #ix-cross-sell-modal {
    width: 80%;
    padding: 20px;
  }

}
