.customspecialprice-cart-summary {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: opacity 100ms ease;
}

.customspecialprice-cart-summary.is-updating {
  opacity: 0.55;
}

.customspecialprice-discount-summary__catalog .label,
.customspecialprice-discount-summary__catalog .value {
  text-decoration: line-through;
}

.customspecialprice-discount-summary__discount .label,
.customspecialprice-discount-summary__discount .value {
  color: #d98991;
  font-weight: 700;
}

#customspecialprice-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  background: rgba(243, 197, 200, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 80ms ease;
}

#customspecialprice-preloader.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.customspecialprice-preloader__spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #fff;
  border-top-color: #d98991;
  border-radius: 50%;
  animation: customspecialprice-spin 500ms linear infinite;
}

@keyframes customspecialprice-spin {
  to {
    transform: rotate(360deg);
  }
}

.customspecialprice-notice {
  display: none;
  width: 100%;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: none;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 600;
}

.customspecialprice-notice.is-visible {
  display: block;
}

.customspecialprice-notice--success {
  border-color: #a9d7bd;
  color: #245b3c;
  background: #e4f5eb;
}

.customspecialprice-notice--removed,
.customspecialprice-notice--error {
  border-color: #e8acb0;
  color: #7c292f;
  background: #fbe8e9;
}

.customspecialprice-voucher-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin: 0;
  padding: 7px 8px 7px 12px;
  border: 2px solid #f3c5c8;
  border-radius: 999px;
  background: #fffafb;
}

.customspecialprice-voucher-line > .label {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.customspecialprice-voucher-line__code {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff !important;
  background: #111;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.customspecialprice-voucher-line > .float-xs-right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
}

.customspecialprice-voucher-line [data-link-action="remove-voucher"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  color: #8c343a;
  background: #fbe8e9;
  cursor: pointer;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  position: relative;
}

.customspecialprice-voucher-line [data-link-action="remove-voucher"]:hover,
.customspecialprice-voucher-line [data-link-action="remove-voucher"]:focus {
  color: #fff;
  background: #c95f67;
}

.customspecialprice-voucher-line [data-link-action="remove-voucher"] .material-icons {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%);
  color: inherit !important;
  font-size: 18px;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

.js-cart-voucher #promo-code .promo-code form button[type="submit"].btn,
.js-cart-voucher #promo-code .promo-code form button[type="submit"].btn-primary {
  color: #fff !important;
  background: #a66b6f !important;
  border-color: #a66b6f !important;
  opacity: 1;
}

.js-cart-voucher #promo-code .promo-code form button[type="submit"] span {
  display: inline;
  color: inherit !important;
  font-size: 13px !important;
  line-height: 1.2;
  opacity: 1;
  visibility: visible;
}

.js-cart-voucher #promo-code .promo-code form button[type="submit"].btn:hover,
.js-cart-voucher #promo-code .promo-code form button[type="submit"].btn:focus,
.js-cart-voucher #promo-code .promo-code form button[type="submit"].btn:active {
  color: #fff !important;
  background: #8f5559 !important;
  border-color: #8f5559 !important;
}

.customspecialprice-promo {
  position: relative;
  margin-top: 10px;
  padding: 8px;
  border: 4px solid #f3c5c8;
  border-radius: 45px;
  text-align: center;
}

.customspecialprice-promo__content {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1.2em;
  font-weight: 700;
}

.customspecialprice-promo__message {
  color: #d98991;
}

.customspecialprice-promo__code {
  padding: 4px 14px;
  border-radius: 45px;
  color: #fff;
  background: #000;
}

.customspecialprice-promo__code span {
  color: #f3c5c8;
}

.customspecialprice-promo__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #000;
  background: #f3c5c8;
  cursor: pointer;
}

.customspecialprice-promo__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  border: 0;
  border-radius: 40px;
  color: #fff;
  background: #dd4141;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.customspecialprice-promo.is-revealed .customspecialprice-promo__overlay {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.customspecialprice-promo__tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 20;
  width: min(360px, 90vw);
  padding: 15px;
  transform: translateX(-50%);
  border: 2px solid #f3c5c8;
  border-radius: 12px;
  color: #000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  font-weight: 400;
}

.customspecialprice-promo__tooltip[hidden] {
  display: none;
}
