.charly-shipping-card {
  display: block;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(36, 27, 43, 0.08);
  border-radius: 16px;
  background: #f6f4f5;
  color: #241b2b;
  box-shadow: 0 10px 28px rgba(36, 27, 43, 0.06);
}

.charly-shipping-card__delivery {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 15px 15px 28px 0;
  background: linear-gradient(105deg, #7452c7 0%, #a875c8 48%, #efb3ad 100%);
  color: #fff;
  line-height: 1.35;
}

.charly-shipping-card__icon {
  display: inline-flex;
  flex: 0 0 auto;
}

.charly-shipping-card__delivery-label {
  font-weight: 600;
}

.charly-shipping-card__delivery-dates {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.charly-shipping-card__delivery-details {
  display: grid;
  gap: 0;
  padding: 12px 24px 0;
  color: #5f5663;
  font-size: 12.5px;
  line-height: 1.45;
}

.charly-shipping-card__delivery-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(36, 27, 43, 0.07);
}

.charly-shipping-card__delivery-row:last-child {
  border-bottom: 0;
}

.charly-shipping-card__delivery-row strong {
  color: #241b2b;
  font-weight: 650;
}

.charly-shipping-card__body {
  padding: 18px 24px 22px;
}

.charly-shipping-card__progress {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e4e8;
}

.charly-shipping-card__progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2b3ab 0%, #d592bd 50%, #9d72c9 100%);
  transition: width 240ms ease;
}

.charly-shipping-card__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
}

.charly-shipping-card__message,
.charly-shipping-card__note {
  margin: 0;
}

.charly-shipping-card__message {
  color: #241b2b;
  font-size: 16px;
  font-weight: 650;
}

.charly-shipping-card__note {
  margin-top: 4px;
  color: #6d6470;
  font-size: 13px;
}

.charly-shipping-card__amount {
  flex: 0 0 auto;
  color: #241b2b;
  font-size: 17px;
  line-height: 1.45;
  white-space: nowrap;
}

.charly-shipping-card.is-unlocked .charly-shipping-card__progress-fill {
  background: linear-gradient(90deg, #7452c7 0%, #9d72c9 100%);
}

.charly-shipping-card.is-unlocked .charly-shipping-card__message,
.charly-shipping-card.is-unlocked .charly-shipping-card__amount {
  color: #6845b5;
}

@media (max-width: 767px) {
  .charly-shipping-card {
    margin-top: 20px;
    border-radius: 14px;
  }

  .charly-shipping-card__delivery {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-radius: 13px 13px 26px 0;
  }

  .charly-shipping-card__delivery-details {
    padding: 10px 16px 0;
    font-size: 12px;
  }

  .charly-shipping-card__delivery-dates {
    width: 100%;
    margin-left: 34px;
    text-align: left;
  }

  .charly-shipping-card__delivery-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 7px 0;
  }

  .charly-shipping-card__body {
    padding: 16px 16px 20px;
  }

  .charly-shipping-card__summary {
    gap: 12px;
  }

  .charly-shipping-card__message {
    font-size: 15px;
  }

  .charly-shipping-card__amount {
    font-size: 15px;
  }
}

@media (max-width: 359px) {
  .charly-shipping-card__summary {
    display: block;
  }

  .charly-shipping-card__amount {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .charly-shipping-card__progress-fill {
    transition: none;
  }
}
