.order .checkout-pane .fieldset-legend a::after, .order .form-submit + a::after, .order .sticker--empty a::after, .view-commerce-user-orders .views-field-order-number a::after, .order .checkout-pane-login a::after {
  display: block;
  width: 0;
  height: .2rem;
  transition: width .3s;
  background: transparent;
  content: '';
}

.order .checkout-pane .fieldset-legend a:hover::after, .order .form-submit + a:hover::after, .order .sticker--empty a:hover::after, .view-commerce-user-orders .views-field-order-number a:hover::after, .order .checkout-pane-login a:hover::after, .order .checkout-pane .fieldset-legend a:focus::after, .order .form-submit + a:focus::after, .order .sticker--empty a:focus::after, .view-commerce-user-orders .views-field-order-number a:focus::after, .order .checkout-pane-login a:focus::after {
  width: 100%;
}

.order__resume .table__body {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  justify-content: center;
}

.price__grouped {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  justify-content: flex-end;
}

.resume__block--flex {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: flex-start;
}

.order__resume .table__tr, .order-total__line {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
}

.resume .table__td:not(.views-field-title), .resume .order-total__line {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
}

.order__form > .form-actions {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-end;
}

.order__form, .resume, .order .checkout-pane-login {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.price__row {
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  justify-content: space-between;
}

.resume .table__head {
  display: none;
}

.order__form > *:not(.form-actions):not(.order__actions), .order .sticker--empty, .resume__block {
  border-radius: 6px;
}

.order {
  margin-bottom: 10rem;
}

.order input.form-text:-moz-read-only {
  background-color: rgba(208, 209, 220, 0.4);
}

.order input.form-text:read-only {
  background-color: rgba(208, 209, 220, 0.4);
}

.order h1.commerce-checkout-pane_title {
  margin: 2rem 0 4rem 0;
}

.order__form > *:not(.form-actions):not(.order__actions) {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  border: 1px solid rgba(208, 209, 220, 0.4);
  background-color: white;
}

.order__form .order__info {
  width: 68%;
}

.order__form > .table {
  width: 79%;
}

@media only screen and (max-width: 1280px) {
  .order__form > .table {
    width: 100%;
  }
}

.order__form > .table .table__td,
.order__form > .table .btn {
  font-size: 1.4rem;
}

.order__form > .table .views-field-unit-price__number,
.order__form > .table .views-field-discount-info,
.order__form > .table .views-field-vat-amount,
.order__form > .table .views-field-all-taxes-price {
  white-space: nowrap;
}

.order__form .order__resume,
.order__form > .field {
  width: 30%;
}

.order__form .order__actions {
  margin-left: 0;
}

.order__form > .form-actions {
  margin-left: auto;
}

.order__form > .form-actions .form-submit:not(:first-child):not(:last-child) {
  margin-right: 1rem;
  margin-left: 1rem;
}

.order__form > .form-actions .form-submit:first-child:not(:last-child) {
  margin-right: 1rem;
}

.order__form > .form-actions .form-submit:last-child:not(:first-child) {
  margin-left: 1rem;
}

.order__title {
  font-size: 2.2rem;
  line-height: 2.7rem;
}

.order .checkout-pane .fieldset-legend {
  display: block;
  margin-bottom: 3rem;
  background-color: white;
  color: #383ff5;
  font-size: 2.2rem;
  line-height: 3.2rem;
}

.order .checkout-pane .fieldset-legend a {
  color: #383ff5;
  display: inline-block;
}

.order .checkout-pane .fieldset-legend a::after {
  background: #383ff5;
}

.order .checkout-pane .fieldset-wrapper {
  margin-bottom: .7rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2.2rem;
}

.order .checkout-pane .fieldset-wrapper .fieldgroup {
  max-width: calc(100% + 3rem);
  margin: 0 -1.5rem 2rem;
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid #d0d1dc;
}

.order .checkout-pane .fieldset-wrapper .fieldset-legend {
  display: block;
  margin-bottom: .7rem;
  background-color: white;
  color: #34353d;
  font-size: 1.5rem;
  line-height: 2.2rem;
}

.order__resume .table {
  width: calc(100% + 3rem);
  margin: 0 -1.5rem;
  border-bottom: 1px solid #d0d1dc;
}

.order__resume .table__tr {
  padding: 0 1.5rem;
  width: 100%;
}

.order__resume .views-field-title {
  background-color: white;
  color: #383ff5;
}

.order__resume .views-field-quantity {
  background-color: white;
  color: #383ff5;
  font-weight: 300;
  line-height: 3.2rem;
}

.order__resume .drupal-messages-container {
  width: auto;
}

.order__resume .drupal-messages-container .messages::before {
  display: none;
}

.order__resume .drupal-messages-container .messages::after {
  position: inherit;
  margin-left: 1.5rem;
}

.order .view-footer {
  margin-top: 2rem;
}

.order .form-select,
.order .form-text {
  width: 100%;
  margin-bottom: 1rem;
}

.order .form-submit {
  display: inline-block;
}

.order .form-submit + a {
  color: #383ff5;
  display: inline-block;
  margin-left: 2rem;
  font-size: 1.6rem;
  line-height: 4rem;
}

.order .form-submit + a::after {
  background: #383ff5;
}

.order .sticker--empty {
  margin: 0 0 10rem;
  border: 1px solid rgba(208, 209, 220, 0.4);
  text-align: center;
}

.order .sticker--empty .sticker__title {
  height: auto;
  padding-top: 5rem;
}

.order .sticker--empty .sticker__body {
  padding: 1rem;
}

.order .sticker--empty .sticker__body .success {
  color: #49a428;
}

.order .sticker--empty a {
  color: #383ff5;
  display: inline-block;
}

.order .sticker--empty a::after {
  background: #383ff5;
}

.order .order__info .form-item-paiement-obli-cgv label p {
  word-break: break-word;
}

.order .order__info .form-item-paiement-obli-cgv label p:last-child {
  display: inline-block;
}

@media only screen and (max-width: 1024px) {
  .order__form {
    flex-direction: column;
  }
  .order__form .order__info,
  .order__form .order__resume,
  .order__form > .table {
    width: 100%;
  }
  .order__form > .field,
  .order__form > .form-actions {
    width: 100%;
    max-width: 35rem;
    margin-left: auto;
  }
}

@media only screen and (max-width: 768px) {
  .order__form .table__body .table__tr {
    margin-bottom: 2rem;
  }
  .order__form .table__body .table__tr:not(:last-child) {
    border-bottom: 1px solid #d0d1dc;
  }
}

@media only screen and (max-width: 425px) {
  .order__form {
    align-items: flex-start;
  }
  .order__form > .form-actions .form-submit:first-child:not(:last-child),
  .order__form > .form-actions .form-submit:last-child:not(:first-child) {
    margin-left: 0;
    margin-right: 0;
  }
  .order .form-actions .btn {
    width: 100%;
    margin-bottom: 2rem;
    white-space: inherit;
  }
  .order__actions {
    width: 100%;
  }
}

.order-total {
  width: calc(100% + 3rem);
  margin: 0 -1.5rem;
}

.order-total__label {
  display: inline-block;
  background-color: white;
  color: #6e7187;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.2rem;
  max-width: 13rem;
  text-align: left;
}

.order-total__value {
  display: inline-block;
  margin-left: 1rem;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.3rem;
}

.order-total__line {
  padding: 1rem 1.5rem;
  text-align: right;
}

.order-total__discount {
  border-bottom: 1px solid #d0d1dc;
}

.order-total__line--total {
  margin-top: 2rem;
  padding: 2rem 1.5rem;
  border-top: 1px solid #d0d1dc;
}

.order-total__line--total .order-total__label {
  background-color: white;
  color: #383ff5;
  font-size: 1.6rem;
}

.order-total__line--total .order-total__value {
  background-color: white;
  color: #383ff5;
  font-size: 2rem;
  line-height: 2rem;
}

.white-breadcrumb .block-local-tasks-block {
  position: relative;
  background-color: white;
  z-index: 1;
}

.white-breadcrumb .block-local-tasks-block::before {
  top: 0;
  right: -100vw;
  bottom: 0;
  left: -100vw;
  position: absolute;
  background-color: white;
  content: '';
  z-index: -1;
}

.white-breadcrumb .block-local-tasks-block > .tabs {
  width: 100%;
}

.resume__label {
  width: 100%;
  margin-bottom: 3rem;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 3.2rem;
}

.resume__wrapper:first-child {
  width: 58%;
}

.resume__wrapper:last-child {
  width: 40%;
}

.resume__order {
  margin-bottom: 1rem;
}

.resume__info {
  width: 50%;
  padding-right: 2.5rem;
}

.resume__info:last-child {
  padding-right: 0;
  padding-left: 2.5rem;
  border-left: 1px solid rgba(208, 209, 220, 0.4);
}

.resume__state {
  margin-bottom: 1rem;
}

.resume__block {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  padding: 2.5rem;
  border: 1px solid rgba(208, 209, 220, 0.4);
  background-color: white;
  font-size: 1.4rem;
  line-height: 1.7rem;
}

.resume .field--name-address {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.resume .field--name-address .given-name,
.resume .field--name-address .family-name {
  display: inline-block;
  color: #383ff5;
}

.resume .btn {
  margin-top: 3rem;
}

.resume .btn:hover::before, .resume .btn:active::before, .resume .btn:focus::before, .resume .btn.focused::before, .resume .btn.is-active::before {
  background-image: url("../assets/img/download--hover.svg");
}

.resume .btn::before {
  display: inline-block;
  width: 1.8rem;
  height: 1.6rem;
  margin-right: 1.5rem;
  transition: all .15s ease-in-out;
  background: transparent url("../assets/img/download.svg") no-repeat center/cover;
  content: '';
}

.resume .table {
  width: calc(100% + 5rem);
  margin: 0 -2.5rem;
}

.resume .table__tr {
  display: grid;
}

.resume .table__td {
  padding: 1rem 2.5rem;
}

.resume .table__td:not(:first-child):not(:last-child) {
  padding-right: 2.5rem;
  padding-left: 2.5rem;
}

.resume .table__td:first-child:not(:last-child) {
  padding-right: 2.5rem;
}

.resume .table__td:last-child:not(:first-child) {
  padding-left: 2.5rem;
}

.resume .table__td.views-field-title {
  padding-top: 0;
}

.resume .table__td:not(.views-field-title) {
  background-color: white;
  color: #6e7187;
  font-size: 1.6rem;
  line-height: 2.3rem;
}

.resume .table__td:not(.views-field-title)::before {
  padding: 0 1rem 0 0;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.2rem;
  text-align: left;
  content: attr(data-label);
}

.resume .order-total {
  border-top: 1px solid #d0d1dc;
}

@media only screen and (max-width: 1024px) {
  .resume__wrapper:first-child,
  .resume__wrapper:last-child {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .resume__info,
  .resume__info:last-child {
    width: 100%;
    margin-bottom: 2rem;
    padding: 0;
    border: 0;
  }
}

.view-commerce-user-orders {
  margin: 3rem auto 10rem;
}

.view-commerce-user-orders .table__th {
  padding: 2rem;
}

.view-commerce-user-orders .views-field-order-number a {
  color: #383ff5;
  display: inline-block;
}

.view-commerce-user-orders .views-field-order-number a::after {
  background: #383ff5;
}

@media only screen and (max-width: 768px) {
  .view-commerce-user-orders .table__head {
    display: none;
  }
  .view-commerce-user-orders .table__td {
    background-color: white;
  }
  .view-commerce-user-orders .views-field-order-number {
    padding-left: 1rem;
  }
  .view-commerce-user-orders .views-field-order-number::before {
    color: #383ff5;
  }
}

.price {
  margin-bottom: 1.7rem;
}

.price__row {
  font-size: 1.5rem;
  line-height: 3rem;
}

.price__grouped {
  line-height: 2.3rem;
}

.price__hr {
  border-top: 1px solid #d0d1dc;
}

.price__value {
  font-weight: 500;
}

.price__value__striped {
  text-decoration: line-through;
}

.price .ttc__label {
  font-weight: 500;
}

.price .ttc__value {
  font-weight: 500;
  font-size: 2.2rem;
  color: #383ff5;
}

.order .checkout-pane-login .fieldset-legend {
  margin-bottom: 0;
}

.order .checkout-pane-login a {
  color: #383ff5;
  display: inline-block;
  line-height: 4rem;
}

.order .checkout-pane-login a::after {
  background: #383ff5;
}

.order .checkout-pane-login fieldset {
  width: 100%;
  margin: 2rem 0;
}

.order .checkout-pane-login fieldset .fieldset-wrapper {
  font-weight: 400;
}

.order .checkout-pane-login fieldset .fieldset-wrapper .form__header, .order .checkout-pane-login fieldset .fieldset-wrapper .form__footer {
  margin: 2rem 0;
}

.coupon-redemption-form__coupons h3 {
  margin: 1.5rem 0 0 0;
  background-color: white;
  color: #383ff5;
  font-size: 2.2rem;
  line-height: 3.2rem;
}

.coupon-redemption-form__coupons table {
  margin: 0;
}

.coupon-redemption-form__coupons table tr {
  display: block;
}

.coupon-redemption-form__coupons table tr > td {
  display: block;
  font-size: 1.8rem;
  padding: 0;
  vertical-align: middle;
  width: 100%;
  margin: 1rem 0;
}

.coupon-redemption-form__coupons table tr > td:first-child {
  font-size: 1.6rem;
  font-weight: 500;
}
