@keyframes buyCardDiscountFlash {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.06);
    filter: brightness(1.1);
  }
}

.home-con-sec .motor-claims-form-hd > h1 {
  margin-bottom: 1rem;
}

.buy-instant.buy-instant-discount {
  position: relative;
  overflow: visible;
}

.buy-instant.buy-instant-discount .buy-discount-badge {
  position: absolute;
  top: -12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
  background: linear-gradient(to right, #12a4e0 0%, #8ec539 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  animation: buyCardDiscountFlash 1.2s ease-in-out infinite;
}

.module-discount-card {
  position: relative;
  overflow: visible;
}

.module-discount-card .module-discount-badge {
  position: absolute;
  top: -12px;
  right: 12px;
  z-index: 11;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
  background: linear-gradient(to right, #12a4e0 0%, #8ec539 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  animation: buyCardDiscountFlash 1.2s ease-in-out infinite;
}

[dir="rtl"] .module-discount-card .module-discount-badge {
  right: auto;
  left: 12px;
}

.module-image-discount-wrap {
  position: relative;
  overflow: visible;
}

.module-image-discount-wrap .module-image-discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 12;
  width: clamp(84px, 8vw, 116px);
  aspect-ratio: 1 / 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 10px 8px;
  color: #fff;
  font-size: clamp(13px, 1.05vw, 20px);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(155deg, #8ec539 0%, #12a4e0 80%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  animation: buyCardDiscountFlash 1.2s ease-in-out infinite;
}

[dir="rtl"] .buy-instant.buy-instant-discount .buy-discount-badge {
  right: auto;
  left: 12px;
}

@media (max-width: 991.98px) {
  .module-image-discount-wrap .module-image-discount-badge {
    top: 8px;
    right: 8px;
    width: clamp(76px, 14vw, 96px);
  }
}

@media (max-width: 576px) {
  .buy-instant.buy-instant-discount .buy-discount-badge,
  .module-discount-card .module-discount-badge {
    top: -10px;
    height: 26px;
    padding: 0 10px;
    font-size: 12px;
  }

  .module-image-discount-wrap .module-image-discount-badge {
    top: 6px;
    right: 6px;
    width: 76px;
    font-size: 12px;
    padding: 8px 6px;
  }
}

/* Travel add-on radio spacing */
.travel-coverage-item .tra-cover-btm {
  gap: 0.5rem;
}

/* Travel top plan card: keep the circular selector away from price in RTL */
[dir="rtl"] .travel-plan-item .checkmark {
  right: auto;
  left: 1rem;
}

.travel-coverage-item .tra-cover-btm label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 10px 14px;
  white-space: nowrap;
}

.travel-coverage-item .tra-cover-btm .input-radio {
  margin: 0;
  flex: 0 0 25px;
}

/* Travel benefits list breathing room + RTL/LTR-safe spacing */
.travel-bene-list .travel-bene-item {
  padding-inline: 0.5rem;
}

.travel-bene-list .travel-bene-item .bene-no {
  margin-right: 0;
  margin-inline-end: 1rem;
}

/* Domestic helper discount pricing in contribution summary */
.domestic-review .domestic-discount-amount {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  min-width: 7.5rem;
  line-height: 1.15;
}

.domestic-review .domestic-discount-amount__original {
  color: var(--bk-grade-400);
  font-size: var(--fs-09);
  text-decoration: line-through;
  white-space: nowrap;
}

.domestic-review .domestic-discount-amount__final {
  color: var(--bk-grade-900);
  font-size: var(--fs-10);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
}

.domestic-review .domestic-discount-amount__badge {
  margin-top: 0.2rem;
  padding: 0.1rem 0.45rem;
  color: #fff;
  font-size: 0.7rem;
  line-height: 1.2;
  border-radius: 999px;
  background: linear-gradient(to right, #12a4e0 0%, #8ec539 100%);
  white-space: nowrap;
}

.domestic-review .domestic-discount-amount--total .domestic-discount-amount__final {
  font-size: var(--fs-11);
  line-height: 1.1;
}

.domestic-review table td.text-end {
  width: 1%;
}

@media (max-width: 576px) {
  .domestic-review .domestic-discount-amount {
    min-width: 6.6rem;
  }
}

/* Shared total discount amount style for motor/travel sidebars */
.summary-discount-amount {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  min-width: 7.5rem;
  line-height: 1.15;
}

.summary-discount-amount__original {
  color: var(--bk-grade-400);
  font-size: var(--fs-09);
  text-decoration: line-through;
  white-space: nowrap;
}

.summary-discount-amount__final {
  color: var(--bk-grade-900);
  font-size: var(--fs-10);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
}

.summary-discount-amount__badge {
  margin-top: 0.2rem;
  padding: 0.1rem 0.45rem;
  color: #fff;
  font-size: 0.7rem;
  line-height: 1.2;
  border-radius: 999px;
  background: linear-gradient(to right, #12a4e0 0%, #8ec539 100%);
  white-space: nowrap;
}

.summary-discount-amount__note {
  margin-top: 0.2rem;
  max-width: 14rem;
  color: var(--bk-grade-500);
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: end;
  white-space: normal;
}

.summary-discount-amount--total .summary-discount-amount__final {
  font-size: var(--fs-11);
  line-height: 1.1;
}

.summary-discount-amount--hero {
  align-items: flex-start;
  min-width: 0;
  gap: 0.2rem;
}

.summary-discount-amount--hero .summary-discount-amount__final {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.summary-discount-amount__currency {
  font-size: 14px;
  font-weight: 500;
  margin-inline-end: 4px;
}

@media (max-width: 576px) {
  .summary-discount-amount {
    min-width: 6.6rem;
  }
}
