/**
 * Wizard livraison Cubner — Figma 739:3620
 */

.cbn-wizard-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border: 0;
  border-radius: var(--cubner-radius-button);
  background: var(--cubner-action-primary, #f49b27);
  color: #fff;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
}

.cbn-wizard-cta:hover,
.cbn-wizard-cta:focus-visible {
  background: #dd8a1d;
  color: #fff;
}

.cbn-wizard-cta:focus-visible {
  outline: 3px solid var(--cubner-focus-color, #00518c);
  outline-offset: 3px;
}

.cbn-wizard-page-error {
  margin: 8px 0 0;
  color: #d32f2f;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.cbn-wizard-page-error[hidden] {
  display: none !important;
}

.cbn-radios.is-invalid .cbn-radios__options {
  outline: 1px solid #f49b27;
  outline-offset: 4px;
  border-radius: var(--cubner-radius-button);
}

.cubner-p-color.is-invalid .cubner-p-color__trigger {
  border-color: var(--cb-orange, #f49b27);
  box-shadow: 0 0 0 1px var(--cb-orange, #f49b27);
}

#cbn-wizard button {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  margin: 0;
}

#cbn-wizard[hidden] {
  display: none !important;
}

.cbn-wizard {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cbn-wizard__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 55%);
}

.cbn-wizard__dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 532px;
  max-width: 100%;
  overflow: visible;
  background: #fff;
  border-radius: var(--cubner-radius-overlay);
  box-shadow: var(--cubner-shadow-card, 0 4px 22px rgb(0 0 0 / 8%));
}

.cbn-wizard__dialog--sm {
  width: 532px;
  min-height: 437px;
}

.cbn-wizard__dialog--md {
  width: 897px;
  min-height: 448px;
}

.cbn-wizard__dialog--lg {
  width: 897px;
  min-height: 696px;
}

#cbn-wizard button.cbn-wizard__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--cubner-radius-button);
  background-color: transparent;
  color: var(--cubner-text-secondary, #616161);
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#cbn-wizard button.cbn-wizard__close:hover,
#cbn-wizard button.cbn-wizard__close:focus,
#cbn-wizard button.cbn-wizard__close:focus-visible {
  background-color: var(--cubner-action-primary, #f49b27);
  border: 0;
  color: #fff;
  outline: none;
  box-shadow: none;
}

.cbn-wizard__close-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.cbn-wizard__close-icon::before,
.cbn-wizard__close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-top: -1px;
  margin-left: -9px;
  border-radius: 1px;
  background-color: currentColor;
  transition: background-color 0.2s ease;
}

.cbn-wizard__close-icon::before {
  transform: rotate(45deg);
}

.cbn-wizard__close-icon::after {
  transform: rotate(-45deg);
}

.cbn-wizard__panel {
  padding: 45px 40px 40px;
}

.cbn-wizard__dialog--md .cbn-wizard__panel,
.cbn-wizard__dialog--lg .cbn-wizard__panel {
  padding: 40px 47px 32px;
}

.cbn-wizard__stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.cbn-wizard__stack--center,
.cbn-wizard__stack--elig,
.cbn-wizard__stack--aide {
  align-items: center;
  width: 100%;
}

.cbn-wizard__stack--elig {
  gap: 16px;
}

.cbn-wizard__stack--aide {
  gap: 13px;
}

.cbn-wizard__title {
  margin: 0;
  color: #000;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
}

.cbn-wizard__title--full {
  width: 100%;
}

.cbn-wizard__title--center {
  width: 100%;
  text-align: center;
}

.cbn-wizard__step-n {
  color: var(--cubner-color-brand-blue, #00518c);
}

.cbn-wizard__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

#cbn-wizard .cbn-wizard__field[hidden] {
  display: none !important;
}

.cbn-wizard__label {
  margin: 0;
  color: #000;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

.cbn-wizard__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.cbn-wizard__pill {
  box-sizing: border-box;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: 184px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #c4d8d8;
  border-radius: var(--cubner-radius-button);
  background: #fff;
  color: #000;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
}

.cbn-wizard__pill.is-selected {
  border-color: var(--cubner-color-brand-blue, #00518c);
  background: var(--cubner-color-blue-050, #eaf6ff);
}

.cbn-wizard__pill.is-selected span {
  color: var(--cubner-color-brand-blue, #00518c);
  font-weight: 500;
}

.cbn-wizard__pill-radio,
.cbn-wizard__pill-info,
.cbn-wizard__card-radio {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  overflow: hidden;
}

.cbn-wizard__pill-radio--on,
.cbn-wizard__card-radio--on {
  display: none;
}

.cbn-wizard__pill.is-selected .cbn-wizard__pill-radio--on,
.cbn-wizard__card.is-selected .cbn-wizard__card-radio--on {
  display: block;
}

.cbn-wizard__pill.is-selected .cbn-wizard__pill-radio--off,
.cbn-wizard__card.is-selected .cbn-wizard__card-radio--off {
  display: none;
}

.cbn-wizard__row {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.cbn-wizard__dropdown {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.cbn-wizard__dropdown-btn,
.cbn-wizard__input {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 41px;
  padding: 12px 20px;
  border: 1px solid var(--cubner-color-brand-blue, #00518c);
  border-radius: var(--cubner-radius-blog-card);
  background: #fff;
  color: #000;
  font-family: Inter, Switzer, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
}

.cbn-wizard__input {
  cursor: text;
  font-size: 14px;
}

.cbn-wizard__dropdown-btn img {
  width: 12px;
  height: 24px;
}

.cbn-wizard__dropdown-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 3;
  margin: 0;
  padding: 8px 0;
  width: 100%;
  list-style: none;
  background: #fff;
  border: 1px solid var(--cubner-color-brand-blue, #00518c);
  border-radius: var(--cubner-radius-blog-card);
  box-shadow: var(--cubner-shadow-card, 0 4px 22px rgb(0 0 0 / 8%));
}

.cbn-wizard__dropdown-list button {
  display: block;
  width: 100%;
  padding: 8px 20px;
  border: 0;
  background: transparent;
  color: #000;
  font-family: Inter, Switzer, Arial, sans-serif;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

.cbn-wizard__dropdown-list button:hover,
.cbn-wizard__dropdown-list button:focus,
.cbn-wizard__dropdown-list button:focus-visible {
  background: var(--cubner-color-blue-050, #eaf6ff);
  color: #000;
}

.cbn-wizard__address {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.cbn-wizard__address .cbn-wizard__input {
  width: 100%;
}

.cbn-wizard__address-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 4;
  margin: 0;
  padding: 8px 0;
  width: 100%;
  overflow: visible;
  list-style: none;
  background: #fff;
  border: 1px solid var(--cubner-color-brand-blue, #00518c);
  border-radius: var(--cubner-radius-blog-card);
  box-shadow: var(--cubner-shadow-card, 0 4px 22px rgb(0 0 0 / 8%));
}

#cbn-wizard .cbn-wizard__address-list[hidden] {
  display: none !important;
}

.cbn-wizard__address-list li {
  margin: 0;
  padding: 0;
}

.cbn-wizard__address-list button {
  display: block;
  width: 100%;
  padding: 8px 20px;
  border: 0;
  background: transparent;
  color: #000;
  font-family: Inter, Switzer, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.cbn-wizard__address-list button:hover,
.cbn-wizard__address-list button:focus,
.cbn-wizard__address-list button:focus-visible,
.cbn-wizard__address-list button.is-active {
  background: var(--cubner-color-blue-050, #eaf6ff);
  color: #000;
  outline: none;
}

.cbn-wizard__stack--livraison {
  width: 100%;
}

.cbn-wizard__livraison-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.cbn-wizard__livraison-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

.cbn-wizard__btn--livraison {
  flex-shrink: 0;
}

#cbn-wizard [data-wizard-mode="sans"] .cbn-wizard__btn--livraison {
  width: 200px;
}

#cbn-wizard [data-wizard-mode="avec"] .cbn-wizard__btn--livraison {
  width: auto;
  max-width: 100%;
}

.cbn-wizard__price {
  margin: 0;
  width: 470px;
  max-width: 100%;
  color: var(--cubner-color-brand-blue, #00518c);
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-align: center;
}

.cbn-wizard__origin {
  display: inline-block;
  margin-top: 4px;
  color: var(--cubner-color-navy-900, #00375e);
  font-size: 14px;
  font-weight: 500;
}

.cbn-wizard__degressivity {
  display: inline-block;
  margin-top: 8px;
  max-width: 470px;
  color: var(--cubner-color-navy-900, #00375e);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.cbn-wizard__btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--cubner-radius-button);
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
}

.cbn-wizard__btn--primary {
  border: 0;
  background: var(--cubner-action-primary, #f49b27);
  color: #fff;
}

.cbn-wizard__btn--primary:hover,
.cbn-wizard__btn--primary:focus-visible {
  background: #dd8a1d;
  color: #fff;
}

.cbn-wizard__btn:disabled,
.cbn-wizard__btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

.cbn-wizard__btn--primary:disabled:hover,
.cbn-wizard__btn--primary[aria-disabled="true"]:hover {
  background: var(--cubner-action-primary, #f49b27);
}

.cbn-wizard__btn--ghost {
  border: 1px solid var(--cubner-color-brand-blue, #00518c);
  background: #fff;
  color: var(--cubner-color-brand-blue, #00518c);
}

.cbn-wizard__btn--sm {
  width: 166px;
}

.cbn-wizard__btn--wide {
  width: 272px;
}

.cbn-wizard__btn img {
  display: block;
  width: 24px;
  height: 24px;
}

.cbn-wizard__btn--wide img {
  width: 18px;
  height: 18px;
}

.cbn-wizard__btn-arrow-prev {
  transform: rotate(180deg);
}

.cbn-wizard__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: 100%;
}

.cbn-wizard__card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 393px;
  max-width: 100%;
  min-height: 150px;
  height: auto;
  padding: 24px 20px;
  border: 1px solid var(--cubner-color-brand-blue, #00518c);
  border-radius: var(--cubner-radius-card);
  background: #fff;
  text-align: left;
  white-space: normal;
  cursor: pointer;
}

.cbn-wizard__card.is-selected {
  background: var(--cubner-color-blue-050, #eaf6ff);
}

.cbn-wizard__card-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.cbn-wizard__card-title {
  flex: 1;
  min-width: 0;
  color: #000;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 18px;
  font-weight: 800;
  line-height: normal;
  white-space: normal;
  overflow-wrap: anywhere;
}

.cbn-wizard__card-text {
  display: block;
  width: 100%;
  color: #000;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}

.cbn-wizard__actions {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: center;
}

.cbn-wizard__question {
  margin: 0;
  width: 802px;
  max-width: 100%;
  color: #000;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.132;
  text-align: center;
}

.cbn-wizard__visual {
  width: 760px;
  max-width: 100%;
  height: 393px;
  overflow: hidden;
  border-radius: var(--cubner-radius-shop);
  background: #fefaf4;
}

.cbn-wizard__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.cbn-wizard__info {
  box-sizing: border-box;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 800px;
  max-width: 100%;
  padding: 10px;
  border: 1px solid var(--cubner-color-brand-blue, #00518c);
  border-radius: var(--cubner-radius-blog-card);
}

.cbn-wizard__info img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.cbn-wizard__info p {
  margin: 0;
  color: #000;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.132;
}

.cbn-wizard__avatars {
  display: flex;
  align-items: center;
}

.cbn-wizard__avatars img {
  width: 99px;
  height: 99px;
  margin-right: -12px;
  border-radius: 50%;
  object-fit: cover;
}

.cbn-wizard__avatars img:last-child {
  margin-right: 0;
}

.cbn-wizard__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 800px;
  max-width: 100%;
  padding: 0 40px 24px;
}

.cbn-wizard__contact-msg {
  margin: 0;
  color: var(--cubner-color-brand-black, #1c1c1b);
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.cbn-wizard__phone {
  margin: 0;
  color: var(--cubner-action-primary, #f49b27);
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 28px;
  font-weight: 800;
  line-height: normal;
  text-align: center;
}

.cbn-wizard__phone a {
  color: inherit;
  text-decoration: none;
}

.cbn-wizard__phone-note {
  margin: 0;
  color: #6b7280;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 13px;
  font-weight: 500;
}

.cbn-wizard__rule {
  width: 100%;
  height: 0;
  border-top: 2px solid var(--cubner-action-primary, #f49b27);
}

.cbn-wizard__error {
  margin: 0;
  color: #d32f2f;
  font-family: var(--cubner-font-family, Switzer, Arial, sans-serif);
  font-size: 14px;
  font-weight: 600;
}

body.cbn-wizard-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .cbn-wizard__dialog--md,
  .cbn-wizard__dialog--lg {
    width: 100%;
    min-height: 0;
  }

  .cbn-wizard__cards {
    flex-direction: column;
    align-items: stretch;
  }

  .cbn-wizard__card,
  .cbn-wizard__visual,
  .cbn-wizard__info,
  .cbn-wizard__contact,
  .cbn-wizard__question {
    width: 100%;
  }

  .cbn-wizard__visual {
    height: 240px;
  }

  .cbn-wizard__actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .cbn-wizard__btn--sm,
  .cbn-wizard__btn--wide {
    width: auto;
    flex: 1 1 auto;
  }
}

@media (max-width: 600px) {
  .cbn-wizard {
    padding: 12px;
  }

  .cbn-wizard__dialog--sm {
    width: 100%;
    min-height: 0;
  }

  .cbn-wizard__panel {
    padding: 48px 20px 24px;
  }

  .cbn-wizard__pill {
    width: 100%;
  }

  .cbn-wizard__dropdown {
    max-width: none;
    flex: 1 1 auto;
    width: auto;
  }
}

/* Neutralise les styles globaux Elementor / Hello / Woo coming-soon. */
#cbn-wizard .cbn-wizard__pill {
  display: inline-flex !important;
  flex-direction: row !important;
  width: 184px !important;
  height: 38px !important;
  padding: 0 10px !important;
  border: 1px solid #c4d8d8 !important;
  border-radius: var(--cubner-radius-button) !important;
  background: #fff !important;
  color: #000 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: normal !important;
  text-align: left !important;
}

#cbn-wizard .cbn-wizard__pill.is-selected {
  border-color: #00518c !important;
  background: #eaf6ff !important;
}

#cbn-wizard .cbn-wizard__pill.is-selected span {
  color: #00518c !important;
}

#cbn-wizard .cbn-wizard__btn {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 20px !important;
  border-radius: var(--cubner-radius-button) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

#cbn-wizard .cbn-wizard__btn--primary {
  border: 0 !important;
  background: #f49b27 !important;
  color: #fff !important;
}

#cbn-wizard .cbn-wizard__btn:disabled,
#cbn-wizard .cbn-wizard__btn[aria-disabled="true"] {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

#cbn-wizard .cbn-wizard__btn--ghost {
  border: 1px solid #00518c !important;
  background: #fff !important;
  color: #00518c !important;
}

#cbn-wizard .cbn-wizard__dropdown-btn,
#cbn-wizard .cbn-wizard__input {
  display: flex !important;
  width: 100% !important;
  min-height: 41px !important;
  padding: 12px 20px !important;
  border: 1px solid #00518c !important;
  border-radius: var(--cubner-radius-blog-card) !important;
  background: #fff !important;
  color: #000 !important;
}

#cbn-wizard .cbn-wizard__dropdown-list button:hover,
#cbn-wizard .cbn-wizard__dropdown-list button:focus,
#cbn-wizard .cbn-wizard__dropdown-list button:focus-visible,
#cbn-wizard .cbn-wizard__address-list button:hover,
#cbn-wizard .cbn-wizard__address-list button:focus,
#cbn-wizard .cbn-wizard__address-list button:focus-visible,
#cbn-wizard .cbn-wizard__address-list button.is-active {
  background: #eaf6ff !important;
  background-color: #eaf6ff !important;
  color: #000 !important;
}

#cbn-wizard .cbn-wizard__card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 393px !important;
  max-width: 100% !important;
  min-height: 150px !important;
  height: auto !important;
  padding: 24px 20px !important;
  border: 1px solid #00518c !important;
  border-radius: var(--cubner-radius-card) !important;
  background: #fff !important;
  text-align: left !important;
  white-space: normal !important;
}

#cbn-wizard .cbn-wizard__card-title,
#cbn-wizard .cbn-wizard__card-text {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

#cbn-wizard .cbn-wizard__card.is-selected {
  background: #eaf6ff !important;
}

#cbn-wizard .cbn-wizard__pills,
#cbn-wizard .cbn-wizard__row,
#cbn-wizard .cbn-wizard__actions,
#cbn-wizard .cbn-wizard__cards {
  display: flex !important;
}

#cbn-wizard .cbn-wizard__btn--livraison {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

#cbn-wizard [data-wizard-mode="sans"] .cbn-wizard__btn--livraison {
  width: 200px !important;
}

#cbn-wizard [data-wizard-mode="avec"] .cbn-wizard__btn--livraison {
  width: auto !important;
}
