/*
 * BPT 1.0.302 — Protection Sérénité.
 * Scoped to the lazy Step 3 checkout screen; Step 1 and the thank-you screen
 * are intentionally outside every selector.
 */
#bpt-mobile-wizard #bptS2 .bpt-protection {
  --bpt-protection-green: #079b57;
  --bpt-protection-green-soft: #ecf9f2;
  --bpt-protection-navy: #0b1f39;
  --bpt-protection-muted: #667085;
  --bpt-protection-border: #d9e0e8;
  grid-area: protection;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 18px;
  color: var(--bpt-protection-navy);
  background: #fff;
  border: 1px solid #e2e7ed;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

#bpt-mobile-wizard #bptS2 .bpt-protection__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__header > span:last-child {
  min-width: 0;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__shield {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--bpt-protection-green);
  background: var(--bpt-protection-green-soft);
  border-radius: 12px;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__shield svg,
#bpt-mobile-wizard #bptS2 .bpt-protection__choiceIcon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__header h3 {
  margin: 0;
  color: var(--bpt-protection-navy);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -.015em;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__header p {
  margin: 4px 0 0;
  color: var(--bpt-protection-muted);
  font-size: 13px;
  line-height: 1.4;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__choices {
  display: grid;
  gap: 10px;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__choice {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 20px;
  gap: 11px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 78px;
  margin: 0;
  padding: 13px 14px;
  color: var(--bpt-protection-navy);
  text-align: left;
  font: inherit;
  background: #fff;
  border: 1px solid var(--bpt-protection-border);
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .045);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__choice:hover {
  border-color: #aebbc9;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .075);
}

#bpt-mobile-wizard #bptS2 .bpt-protection__choice:active {
  transform: translateY(1px);
}

#bpt-mobile-wizard #bptS2 .bpt-protection__choice:focus-visible,
#bpt-mobile-wizard #bptS2 .bpt-protection__more:focus-visible,
.bpt-protection-modalLayer button:focus-visible {
  outline: 3px solid rgba(7, 155, 87, .24);
  outline-offset: 2px;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__choice.is-selected,
#bpt-mobile-wizard #bptS2 .bpt-protection__choice[aria-checked="true"] {
  background: var(--bpt-protection-green-soft);
  border: 2px solid var(--bpt-protection-green);
  box-shadow: 0 0 0 2px rgba(7, 155, 87, .14), 0 8px 20px rgba(7, 155, 87, .10);
}

#bpt-mobile-wizard #bptS2 .bpt-protection__choiceIcon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #667085;
  background: #f4f6f8;
  border-radius: 11px;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__choice--premium .bpt-protection__choiceIcon,
#bpt-mobile-wizard #bptS2 .bpt-protection__choice.is-selected .bpt-protection__choiceIcon {
  color: var(--bpt-protection-green);
  background: rgba(255, 255, 255, .8);
}

#bpt-mobile-wizard #bptS2 .bpt-protection__copy {
  display: block;
  min-width: 0;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__copy strong,
#bpt-mobile-wizard #bptS2 .bpt-protection__copy small {
  display: block;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__copy strong {
  color: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.3;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__copy small {
  margin-top: 3px;
  color: var(--bpt-protection-muted);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__benefits i {
  display: inline-flex;
  padding: 3px 7px;
  color: #087a47;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.2;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(7, 155, 87, .15);
  border-radius: 999px;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__price {
  color: var(--bpt-protection-navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__choice--premium .bpt-protection__price {
  color: var(--bpt-protection-green);
}

#bpt-mobile-wizard #bptS2 .bpt-protection__radio {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #c7d0db;
  border-radius: 50%;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__choice.is-selected .bpt-protection__radio {
  border-color: var(--bpt-protection-green);
}

#bpt-mobile-wizard #bptS2 .bpt-protection__choice.is-selected .bpt-protection__radio::after {
  position: absolute;
  inset: 3px;
  content: "";
  background: var(--bpt-protection-green);
  border-radius: 50%;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__more {
  display: inline-flex;
  margin: 12px 0 0 50px;
  padding: 0;
  color: #087a47;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__status {
  min-height: 0;
  margin: 0;
  color: #a72d3b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

#bpt-mobile-wizard #bptS2 .bpt-protection__status:not(:empty) {
  margin-top: 9px;
  padding: 9px 11px;
  background: #fff2f3;
  border: 1px solid #f1c6cb;
  border-radius: 10px;
}

html.bpt-protection-modal-open,
body.bpt-protection-modal-open {
  overflow: hidden !important;
}

.bpt-protection-modalLayer {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  box-sizing: border-box;
  padding: 20px;
  place-items: center;
  background: rgba(4, 13, 27, .62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.bpt-protection-modalLayer[hidden] {
  display: none !important;
}

.bpt-protection-dialog {
  position: relative;
  box-sizing: border-box;
  width: min(620px, 100%);
  max-height: min(760px, calc(100dvh - 40px));
  overflow: auto;
  color: #0b1f39;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(4, 13, 27, .3);
  overscroll-behavior: contain;
  animation: bptProtectionDialogIn .18s ease-out both;
}

.bpt-protection-dialog--required {
  border-color: #e8aab1;
  box-shadow: 0 24px 70px rgba(81, 15, 25, .28);
}

.bpt-protection-dialog__head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 22px 54px 17px 22px;
  border-bottom: 1px solid #e7ebf0;
}

.bpt-protection-dialog--required .bpt-protection-dialog__head {
  background: #fff2f3;
  border-bottom-color: #f0c7cc;
}

.bpt-protection-dialog__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #079b57;
  background: #ecf9f2;
  border-radius: 13px;
}

.bpt-protection-dialog--required .bpt-protection-dialog__icon {
  color: #b23747;
  background: #fff;
}

.bpt-protection-dialog__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpt-protection-dialog h2 {
  margin: 0;
  color: #0b1f39;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.bpt-protection-dialog__head p {
  margin: 5px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.bpt-protection-dialog__close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  color: #475467;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  background: #f4f6f8;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.bpt-protection-dialog__body {
  padding: 20px 22px 22px;
}

.bpt-protection-dialog__body > p {
  margin: 0 0 14px;
  color: #344054;
  font-size: 14px;
  line-height: 1.6;
}

.bpt-protection-dialog__terms {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.bpt-protection-dialog__term {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  background: #f7f9fb;
  border: 1px solid #e4e9ef;
  border-radius: 12px;
}

.bpt-protection-dialog__term > span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #079b57;
  font-weight: 900;
  background: #ecf9f2;
  border-radius: 10px;
}

.bpt-protection-dialog__term strong,
.bpt-protection-dialog__term small {
  display: block;
}

.bpt-protection-dialog__term strong {
  color: #101828;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.bpt-protection-dialog__term small {
  margin-top: 2px;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.bpt-protection-dialog__standard {
  margin-top: 16px;
  padding: 14px;
  background: #fffaf0;
  border: 1px solid #f0dfb6;
  border-radius: 12px;
}

.bpt-protection-dialog__standard strong {
  display: block;
  margin-bottom: 4px;
  color: #59410b;
  font-size: 13px;
}

.bpt-protection-dialog__standard p,
.bpt-protection-dialog__legal {
  margin: 0;
  color: #6b5a30;
  font-size: 12px;
  line-height: 1.55;
}

.bpt-protection-dialog__legal {
  margin-top: 14px;
  color: #667085;
}

.bpt-protection-dialog__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.bpt-protection-dialog__actions button {
  min-height: 48px;
  padding: 11px 15px;
  color: #0b1f39;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  background: #fff;
  border: 1px solid #cad3dd;
  border-radius: 12px;
  cursor: pointer;
}

.bpt-protection-dialog__actions .is-primary {
  color: #fff;
  background: #079b57;
  border-color: #079b57;
  box-shadow: 0 8px 18px rgba(7, 155, 87, .2);
}

.bpt-protection-dialog__actions .is-danger-neutral {
  color: #6f2631;
  background: #fff7f8;
  border-color: #e7b8be;
}

@keyframes bptProtectionDialogIn {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 991px) {
  #bpt-mobile-wizard #bptS2 .bpt-protection {
    flex: 0 0 auto;
    padding: 15px;
    border-radius: 14px;
  }

  #bpt-mobile-wizard #bptS2 .bpt-protection__choice {
    grid-template-columns: 34px minmax(0, 1fr) auto 18px;
    gap: 8px;
    min-height: 72px;
    padding: 12px 11px;
  }

  #bpt-mobile-wizard #bptS2 .bpt-protection__choiceIcon {
    width: 34px;
    height: 34px;
  }

  #bpt-mobile-wizard #bptS2 .bpt-protection__benefits {
    display: none;
  }

  #bpt-mobile-wizard #bptS2 .bpt-protection__price {
    font-size: 13px;
  }

  #bpt-mobile-wizard #bptS2 .bpt-protection__more {
    margin-left: 42px;
  }

  .bpt-protection-modalLayer {
    align-items: end;
    padding: 0;
  }

  .bpt-protection-dialog {
    width: 100%;
    max-height: min(88dvh, 760px);
    border-radius: 22px 22px 0 0;
    animation-name: bptProtectionSheetIn;
  }

  .bpt-protection-dialog__head {
    padding: 19px 50px 15px 16px;
  }

  .bpt-protection-dialog__body {
    padding: 17px 16px max(20px, env(safe-area-inset-bottom));
  }

  .bpt-protection-dialog__actions {
    grid-template-columns: 1fr;
  }
}

@keyframes bptProtectionSheetIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  #bpt-mobile-wizard #bptS2 .bpt-protection__choice,
  .bpt-protection-dialog {
    animation: none !important;
    transition: none !important;
  }
}
