.xo-cart-discount .xo-collapse:first-child {
  border-top: none;
}
.xo-cart-discount label {
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 1.8rem);
  font-weight: 500;
}
.xo-cart-discount .xo-field-input__input {
  padding: 1.2rem;
}

.xo-cart-discount__btn {
  cursor: pointer;
  user-select: none;
  text-align: center;
  padding: 1rem 0;
}

.xo-cart-discount__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 0.1rem solid #e9e9e9;
  transition: 0.3s;
}
.xo-cart-discount__trigger svg {
  transition: 0.3s;
}
.xo-cart-discount__trigger:hover {
  color: #000;
}
.xo-cart-discount__trigger:hover svg {
  color: #000;
}

.xo-cart-discount__icon {
  margin-right: 0.4rem;
}
.xo-cart-discount__icon svg {
  display: block;
}

.xo-cart-discount__text {
  font-size: 1.4rem;
}

.xo-cart-discount__content {
  z-index: 9999;
  overflow-x: unset;
  overflow-y: unset;
}

.xo-cart-discount__inner {
  background-color: rgb(var(--color-background));
}
.xo-cart-discount__inner .xo-cart-discount__btn-add {
  width: 50%;
}
.xo-cart-discount__inner .xo-cart-discount__btn-add .xo-btn {
  width: 100%;
}
.xo-cart-discount__inner .xo-cart-discount__btn-add .xo-btn:hover {
  background-color: rgb(var(--color-background));
}
.xo-cart-discount__inner .xo-cart-discount__btn-add .xo-btn--primary:hover .xo-btn__text[data-text]:after {
  color: rgb(var(--color-foreground));
}
.xo-cart-discount__inner .cart-discount__btn-cancel {
  width: 50%;
}
.xo-cart-discount__inner .cart-discount__btn-cancel .cart-discount__btn-trigger {
  width: 100%;
  height: 100%;
}
.xo-cart-discount__inner .cart-discount__btn-cancel .cart-discount__btn-trigger .xo-btn {
  width: 100%;
  height: 100%;
}

.xo-cart-discount__inner--padding {
  padding: 2rem;
}

.xo-cart-discount__inner--effect {
  width: 40rem;
  box-shadow: 0 0.2rem 1rem rgba(var(--color-shadow), 0.2);
}

xo-modal .xo-cart-discount__inner {
  width: 50rem;
}

.cart-discount-field .xo-field-input__input {
  padding: 1.2rem;
}