/* FH9 Smart Cart Engine 2.2.5 - interface Clarté */
.fh9-sce--clear {
  --sce-bg: #10151d;
  --sce-surface: rgba(255, 255, 255, .045);
  --sce-border: rgba(255, 255, 255, .12);
  --sce-text: #f7f8fa;
  --sce-muted: #b9c0cb;
  --sce-gold: #e2bc73;
  --sce-green: #65dea0;
  --sce-blue: #62a6ff;
  box-sizing: border-box;
  margin: 0 0 14px;
  padding: 15px;
  border: 1px solid var(--sce-border);
  border-radius: 14px;
  color: var(--sce-text);
  background:
    radial-gradient(110% 120% at 10% 0%, rgba(47, 107, 255, .09), transparent 58%),
    radial-gradient(100% 100% at 90% 100%, rgba(31, 179, 122, .07), transparent 58%),
    var(--sce-bg);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .38);
}

.fh9-sce--clear[hidden] { display: none !important; }
.fh9-sce--clear *, .fh9-sce--clear *::before, .fh9-sce--clear *::after { box-sizing: border-box; }

.fh9-sce--clear .fh9-sce__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.fh9-sce--clear .fh9-sce__title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .15px;
}

.fh9-sce--clear .fh9-sce__status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: var(--sce-muted);
  background: rgba(255, 255, 255, .05);
  font-size: 11px;
  font-weight: 700;
}

.fh9-sce--clear.is-complete .fh9-sce__status,
.fh9-sce--clear.has-current .fh9-sce__status {
  color: var(--sce-green);
  border-color: rgba(101, 222, 160, .24);
  background: rgba(101, 222, 160, .08);
}

.fh9-sce--clear .fh9-sce__message {
  margin: 12px 0 0;
  color: var(--sce-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.fh9-sce--clear .fh9-sce__message strong { color: var(--sce-gold); font-weight: 900; }

.fh9-sce--clear .fh9-sce__next {
  margin-top: 11px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 11px;
  background: var(--sce-surface);
}

.fh9-sce--clear .fh9-sce__next[hidden],
.fh9-sce--clear .fh9-sce__current[hidden] { display: none !important; }

.fh9-sce--clear .fh9-sce__nextLabel {
  margin-bottom: 5px;
  color: var(--sce-muted);
  font-size: 12px;
  font-weight: 700;
}

.fh9-sce--clear .fh9-sce__nextBenefits {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  align-items: baseline;
  color: #e9edf3;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.fh9-sce--clear .fh9-sce__nextBenefits span:first-child strong { color: var(--sce-green); }
.fh9-sce--clear .fh9-sce__nextBenefits span:last-child strong { color: var(--sce-blue); }
.fh9-sce--clear .fh9-sce__plus { color: #737d8c; }

.fh9-sce--clear .fh9-sce__current {
  margin: 0;
  padding: 10px 11px;
  border: 1px solid rgba(101, 222, 160, .2);
  border-radius: 11px;
  color: #e9edf3;
  background: rgba(101, 222, 160, .065);
}

.fh9-sce--clear .fh9-sce__currentTitle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: var(--sce-green);
  font-size: 12px;
  font-weight: 800;
}

.fh9-sce--clear .fh9-sce__currentBenefits {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  align-items: baseline;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.fh9-sce--clear .fh9-sce__currentBenefits span:first-child strong { color: var(--sce-green); }
.fh9-sce--clear .fh9-sce__currentBenefits span:last-child strong { color: var(--sce-blue); }
.fh9-sce--clear .fh9-sce__check { color: var(--sce-green); font-weight: 900; }

.fh9-sce--clear .fh9-sce__progress { margin-top: 14px; }
.fh9-sce--clear .fh9-sce__progressLabels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--sce-muted);
  font-size: 12px;
  font-weight: 750;
}

.fh9-sce--clear .fh9-sce__progressLabels span:last-child { color: var(--sce-gold); }
.fh9-sce--clear .fh9-sce__barTrack {
  position: relative;
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}

.fh9-sce--clear .fh9-sce__barFill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #347bff, #35c985);
  box-shadow: 0 0 14px rgba(53, 201, 133, .22);
  transition: width 360ms cubic-bezier(.2, .8, .2, 1);
}

.fh9-sce--clear.is-complete .fh9-sce__barFill { background: var(--sce-green); }
.fh9-sce--clear .fh9-sce__details { margin-top: 10px; color: var(--sce-muted); font-size: 12px; }
.fh9-sce--clear .fh9-sce__details summary { width: max-content; max-width: 100%; cursor: pointer; color: #d1d7df; font-weight: 700; }
.fh9-sce--clear .fh9-sce__details p { margin: 7px 0 0; line-height: 1.45; }

#blockcart-modal .fh9-sce--clear { margin-top: 12px; padding: 11px 12px; border-radius: 12px; }
#blockcart-modal .fh9-sce--clear .fh9-sce__title,
#blockcart-modal .fh9-sce--clear .fh9-sce__status,
#blockcart-modal .fh9-sce--clear .fh9-sce__nextLabel,
#blockcart-modal .fh9-sce--clear .fh9-sce__details { display: none; }
#blockcart-modal .fh9-sce--clear .fh9-sce__head { margin: 0; }
#blockcart-modal .fh9-sce--clear .fh9-sce__current { padding: 8px 9px; }
#blockcart-modal .fh9-sce--clear .fh9-sce__currentTitle,
#blockcart-modal .fh9-sce--clear .fh9-sce__currentBenefits { font-size: 12px; }
#blockcart-modal .fh9-sce--clear .fh9-sce__message { margin-top: 9px; font-size: 14px; }
#blockcart-modal .fh9-sce--clear .fh9-sce__next { margin-top: 7px; padding: 0; border: 0; background: none; }
#blockcart-modal .fh9-sce--clear .fh9-sce__nextBenefits { font-size: 12px; }
#blockcart-modal .fh9-sce--clear .fh9-sce__progress { margin-top: 9px; }

@media (max-width: 390px) {
  .fh9-sce--clear { padding: 12px; }
  .fh9-sce--clear .fh9-sce__message { font-size: 15px; }
  .fh9-sce--clear .fh9-sce__nextBenefits,
  .fh9-sce--clear .fh9-sce__currentBenefits { display: grid; grid-template-columns: 1fr; }
  .fh9-sce--clear .fh9-sce__plus { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fh9-sce--clear .fh9-sce__barFill { transition: none; }
}

/* Checkout: static reached-tier card in the right-hand cart summary. */
.fh9-sce-checkout-voucher {
  box-sizing: border-box;
  margin: 0 0 14px;
  padding: 11px 12px;
  border: 1px solid rgba(98, 166, 255, .24);
  border-radius: 11px;
  color: #f7f8fa;
  background:
    radial-gradient(100% 130% at 100% 0%, rgba(98, 166, 255, .1), transparent 62%),
    rgba(255, 255, 255, .035);
}

.fh9-sce-checkout-voucher__title {
  margin-bottom: 7px;
  color: #65dea0;
  font-size: 12px;
  font-weight: 850;
}

.fh9-sce-checkout-voucher__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.fh9-sce-checkout-voucher__line + .fh9-sce-checkout-voucher__line {
  margin-top: 5px;
}

.fh9-sce-checkout-voucher__line strong {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.fh9-sce-checkout-voucher__line.is-immediate strong { color: #65dea0; }
.fh9-sce-checkout-voucher__line.is-future strong { color: #62a6ff; }

.fh9-sce-checkout-voucher__note {
  margin-top: 5px;
  color: #b9c0cb;
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 390px) {
  .fh9-sce-checkout-voucher__line {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}
