.custom-control-input:checked ~ .custom-control-label::before {
  background-color: transparent !important;
  border-color: #ADB5BD !important;
}

.custom-control-input ~ .custom-control-label {
  transition-duration: 0.3s;
}

.custom-control-input:hover ~ .custom-control-label {
  color: #e94d1a;
}

.custom-control-label::before {
  background-color: transparent !important;
  top: 6px !important;
  border-color: #ADB5BD !important;
}

.custom-control-label::after {
  top: 5px !important;
}

.btn-background {
  display: inline-flex;
  justify-content: center;
  background-color: #e94d1a;
  border: 1px solid #e94d1a;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 8px;
  transition-duration: 0.3s;
  text-decoration: none !important;
  text-align: center;
  padding: 10px 33px;
}
@media (max-width: 575.98px) {
  .btn-background {
    font-size: 14px;
    padding: 5px 16px;
  }
}
.btn-background:hover {
  background-color: #AD3D18;
  border-color: #e94d1a;
  color: #fff;
}

.btn-border {
  display: inline-flex;
  justify-content: center;
  background-color: transparent;
  border: 1px solid #e94d1a;
  color: #9F2700;
  font-weight: 700;
  font-size: 18px;
  border-radius: 8px;
  transition-duration: 0.3s;
  text-decoration: none !important;
  text-align: center;
  padding: 10px 33px;
}
@media (max-width: 575.98px) {
  .btn-border {
    font-size: 14px;
    padding: 5px 16px;
  }
}
.btn-border:hover {
  background-color: #F3DFD8;
  border-color: #9F2700;
  color: #9F2700;
}

#wrapper {
  margin-top: 220px;
}
@media (max-width: 1199px) {
  #wrapper {
    margin-top: 180px;
  }
}

.product-line-grid {
  align-items: center;
}
.product-line-grid:not(:last-child) {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--c-borders);
}
.product-line-grid__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 -10px;
}
@media (min-width: 768px) {
  .product-line-grid__row {
    flex-wrap: nowrap;
  }
}
.product-line-grid__block {
  padding: 0 0.625rem;
}
.product-line-grid__block--image {
  align-self: flex-start;
  flex: 0 0 80px;
  max-width: 80px;
  order: -3;
}
@media (min-width: 768px) {
  .product-line-grid__block--image {
    align-self: center;
    flex: 0 0 100px;
    max-width: 100px;
  }
}
.product-line-grid__block--prod {
  order: -2;
  flex: 0 0 calc(100% - 5rem - 3.125rem);
  max-width: calc(100% - 5rem - 3.125rem);
}
@media (min-width: 768px) {
  .product-line-grid__block--prod {
    flex: 1 1 auto;
    max-width: inherit;
  }
}
.product-line-grid__block--qty {
  z-index: 0;
  flex: 0 0 50%;
  max-width: 50%;
  margin: 0.9375rem 0 0;
}
@media (min-width: 768px) {
  .product-line-grid__block--qty {
    margin: 0;
    flex: 0 0 8.125rem;
    max-width: 8.125rem;
  }
}
.product-line-grid__block--total {
  flex: 0 0 50%;
  max-width: 50%;
  margin: 0.9375rem 0 0;
  text-align: right;
}
@media (min-width: 768px) {
  .product-line-grid__block--total {
    margin: 0;
    text-align: center;
    flex: 0 0 7.5rem;
    max-width: 7.5rem;
  }
}
@media (min-width: 1300px) {
  .product-line-grid__block--total {
    flex: 0 0 9.375rem;
    max-width: 9.375rem;
  }
}
.product-line-grid__block--delete {
  flex: 0 0 3.125rem;
  max-width: 3.125rem;
  text-align: center;
}
@media (max-width: 767.98px) {
  .product-line-grid__block--delete {
    align-self: flex-start;
    order: -1;
    padding-top: 0.3125rem;
  }
}

.checkout-step:not(:first-child) {
  border-top: 0.0625rem solid rgba(0, 0, 0, 0.125);
}
.checkout-step__header {
  border-bottom: 0;
}
.checkout-step .step-edit svg {
  transition: 0.3s;
}
.checkout-step .step-title .text-green {
  color: #adb5bd;
}
.checkout-step .content {
  border-top: 0.0625rem solid rgba(0, 0, 0, 0.125);
}
.checkout-step .not-allowed {
  cursor: not-allowed;
  opacity: 0.5;
}
.checkout-step .content,
.checkout-step .done {
  display: none;
}
.checkout-step.-clickable .step-title {
  cursor: pointer;
}
.checkout-step.-clickable:hover .step-edit svg {
  color: #000;
}
.checkout-step.-unreachable {
  cursor: not-allowed;
}
.checkout-step.-unreachable .step-title {
  cursor: not-allowed;
  opacity: 0.3;
  font-size: 20px;
}
.checkout-step.-unreachable .step-title .step-edit {
  display: none;
}
.checkout-step.-current {
  padding: 30px 0;
}
@media (max-width: 767.98px) {
  .checkout-step.-current {
    padding: 20px 0;
  }
}
.checkout-step.-current .step-title {
  cursor: default;
  color: #e94d1a;
  font-size: 26px;
  margin-bottom: 10px !important;
}
.checkout-step.-current .step-edit {
  display: none;
}
.checkout-step.-current .content {
  display: block;
  border-top: none;
}
.checkout-step.-reachable.-complete .done {
  display: inline-block;
}
.checkout-step.-reachable.-complete .step-title {
  font-size: 20px;
  color: #adb5bd;
}
.checkout-step.-reachable.-complete .content {
  display: none;
}
.checkout-step.-current.-reachable.-complete .step-title {
  cursor: default;
  color: #e94d1a;
  font-size: 26px;
}
.checkout-step.-current.-reachable.-complete .done,
.checkout-step.-current.-reachable.-complete .step-edit {
  display: none;
}
.checkout-step.-current.-reachable.-complete .step-number {
  display: inline-block;
}
.checkout-step.-current.-reachable.-complete .content {
  display: block;
}

.js-payment-binary {
  display: none;
}
.js-payment-binary .accept-cgv {
  display: none;
}
.js-payment-binary.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.js-payment-binary.disabled::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  content: "";
}
.js-payment-binary.disabled .accept-cgv {
  display: block;
}

#conditions-to-approve .custom-checkbox {
  position: relative;
}
#conditions-to-approve .custom-checkbox::before {
  content: "*";
  color: red;
  font-size: 16px;
  position: absolute;
  top: 0;
  left: 20px;
}
#conditions-to-approve .custom-control-label {
  color: #e94d1a;
  padding-left: 5px;
}
#conditions-to-approve a {
  color: #e94d1a;
  text-decoration: underline !important;
}
#conditions-to-approve .custom-control-input:checked ~ .custom-control-label {
  color: #000;
}
#conditions-to-approve .custom-control-input:checked ~ .custom-control-label a {
  color: #000;
}

.delivery-options .card-body.address__body {
  display: flex;
  flex-direction: column;
}
.delivery-options .card-body.address__body .checkout-option__price {
  margin-top: auto;
}

.checkout-option__img {
  max-height: 40px;
  max-width: 80px;
}
@media (max-width: 767.98px) {
  .checkout-option__img {
    max-height: 30px;
  }
}

.checkout-option-block {
  position: relative;
}
.checkout-option-block > input {
  position: absolute;
  left: -99999em;
}
.checkout-option-block.selected .card {
  border-color: var(--c-primary);
}
.checkout-option-block.selected .js-carrier-extra-content {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.checkout-option-block .js-carrier-extra-content {
  display: none;
  opacity: 0;
  visibility: hidden;
  justify-content: center;
}
.checkout-option-block .js-carrier-extra-content .inpost-shipping-container {
  background: transparent;
  left: 0;
  margin: 0;
  padding: 0;
  text-align: center;
  top: -75px;
  max-width: 95%;
}
.checkout-option-block .js-carrier-extra-content .inpost-shipping-container.inpost-shipping-errors {
  top: -135px;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 16px;
}
@media (max-width: 767.98px) {
  .payment-options {
    grid-template-columns: repeat(1, 1fr);
  }
}
.payment-options .checkout-option-block {
  cursor: pointer;
  order: 0;
  margin-bottom: 16px;
}
.payment-options .checkout-option-block.selected {
  grid-column: 1/4;
  order: 2;
  margin-top: 16px;
}
@media (max-width: 767.98px) {
  .payment-options .checkout-option-block.selected {
    order: unset;
    grid-column: unset;
    margin-top: 0;
  }
}
@media (max-width: 767.98px) {
  .payment-options .checkout-option-block.po-payment-option-1 {
    order: 7 !important;
  }
}
@media (max-width: 767.98px) {
  .payment-options .checkout-option-block.po-payment-option-2 {
    order: 5 !important;
  }
}
@media (max-width: 767.98px) {
  .payment-options .checkout-option-block.po-payment-option-5 {
    order: 3 !important;
  }
}
.payment-options .js-payment-option-form,
.payment-options .payments-other {
  order: 3;
  grid-column: 1/4;
}
@media (max-width: 767.98px) {
  .payment-options .js-payment-option-form,
  .payment-options .payments-other {
    order: unset;
    grid-column: unset;
  }
}
@media (max-width: 767.98px) {
  .payment-options .js-payment-option-form.pw-payment-option-1 {
    order: 8 !important;
  }
}
@media (max-width: 767.98px) {
  .payment-options .js-payment-option-form.pw-payment-option-2 {
    order: 6 !important;
  }
}
@media (max-width: 767.98px) {
  .payment-options .js-payment-option-form.pw-payment-option-5 {
    order: 4 !important;
  }
}
.payment-options .address__header {
  font-size: 16px !important;
  line-height: 1.4 !important;
}
.payment-options .additional-information {
  border: none !important;
}

.payment-options .card-body,
.shipping-options .card-body {
  padding: 15px !important;
}
@media (max-width: 991.98px) {
  .payment-options .card-body,
  .shipping-options .card-body {
    padding: 15px 15px 5px !important;
  }
}

.product-line-grid {
  align-items: center;
  border-bottom: 1px solid var(--c-borders);
  padding-bottom: 20px;
}
.product-line-grid__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 -10px;
}
@media (max-width: 480px) {
  .product-line-grid__row {
    justify-content: center;
  }
}
@media (min-width: 768px) {
  .product-line-grid__row {
    flex-wrap: nowrap;
  }
}
.product-line-grid__block {
  padding: 0 0.625rem;
}
.product-line-grid__block--image {
  align-self: flex-start;
  flex: 0 0 100px;
  max-width: 100px;
  order: -3;
}
@media (min-width: 768px) {
  .product-line-grid__block--image {
    align-self: center;
    flex: 0 0 160px;
    max-width: 160px;
  }
}
@media (max-width: 480px) {
  .product-line-grid__block--image {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    text-align: center;
  }
}
.product-line-grid__block--prod {
  order: -2;
}
@media (min-width: 768px) {
  .product-line-grid__block--prod {
    flex: 1 1 auto;
    max-width: inherit;
  }
}
.product-line-grid__block--qty {
  margin: 0.9375rem 0 0;
}
@media (min-width: 768px) {
  .product-line-grid__block--qty {
    margin: 0;
    flex: 0 0 8.125rem;
    max-width: 8.125rem;
  }
}
.product-line-grid__block--total {
  flex: 0 0 50%;
  max-width: 50%;
  margin: 0.9375rem 0 0;
  text-align: right;
}
@media (min-width: 768px) {
  .product-line-grid__block--total {
    margin: 0;
    text-align: center;
    flex: 0 0 7.5rem;
    max-width: 7.5rem;
  }
}
@media (min-width: 1300px) {
  .product-line-grid__block--total {
    flex: 0 0 9.375rem;
    max-width: 9.375rem;
  }
}
.product-line-grid__block--delete {
  flex: 0 0 7.5rem;
  max-width: 7.5rem;
  text-align: right;
}
@media (max-width: 767.98px) {
  .product-line-grid__block--delete {
    order: -1;
    padding-top: 0.3125rem;
    flex: 0 0 4.375rem;
    max-width: 4.375rem;
  }
}

.prices-badge-wrapper .product-flags__flag {
  transform: scale(0.9);
}

.promo-code .promo-input {
  border-radius: 40px !important;
}

#js-checkout-summary .cart-summary-line.cart-total {
  border-bottom: none !important;
}

#checkout label {
  font-weight: 500;
  font-size: 0.875rem;
}
#checkout .form-group--email {
  order: -1;
}
#checkout .cart-grid-right #js-checkout-summary {
  position: sticky;
  top: 200px;
}
#checkout .cart-grid-body .form-informations {
  margin-top: 40px;
}
#checkout .cart-grid-body .form-informations,
#checkout .cart-grid-body .form-group--password {
  flex-basis: 100%;
}
#checkout .cart-grid-body .js-customer-form > div .form-group.row {
  order: 3;
}
#checkout .cart-grid-body .js-customer-form > div .form-group--optin {
  order: 2;
}
#checkout .input-group-append .btn {
  font-size: 16px;
}
#checkout .add-address .btn.btn-primary.btn-sm {
  background-color: transparent !important;
  border-color: #6c757d !important;
  color: #6c757d !important;
  font-size: 16px;
  padding: 10px 15px;
  outline: unset !important;
  box-shadow: unset !important;
}
#checkout .add-address .btn.btn-primary.btn-sm:hover {
  background-color: #6c757d !important;
  color: #fff !important;
}
#checkout .paynow-data-processing-info-more.collapse {
  display: block;
}
#checkout .paynow-data-processing-info-more.collapse.show {
  display: none;
}

.form-text {
  font-size: 12px;
}

.form-group--customer-type {
  order: -1;
  margin: 10px 0 20px;
}
.form-group--customer-type .form-label.label {
  text-transform: uppercase;
  color: #e94d1a;
  font-weight: 700;
  margin-bottom: 5px;
}
.form-group--customer-type .customer-type-selection .custom-control,
.form-group--customer-type .customer-type-selection .custom-control-label {
  cursor: pointer;
}

.use_same_address label {
  cursor: pointer;
}

.form-group--text.vat-field label::before {
  content: "*";
  color: var(--c-red);
  font-size: 18px;
  line-height: 1;
}

.form-group--customer-type .custom-radio .custom-control-input:checked ~ .custom-control-label::before {
  border-color: #e94d1a !important;
}

.form-group--customer-type .custom-radio .custom-control-input:checked ~ .custom-control-label::before {
  box-shadow: none !important;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
  background-color: transparent !important;
  border-color: #ADB5BD !important;
}
.custom-radio .custom-control-label {
  transition: 0.3s;
}
.custom-radio .custom-control-label:hover,
.custom-radio .custom-control-input:checked ~ .custom-control-label {
  color: #e94d1a;
}
.custom-radio .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.1rem #e94d1a;
}

.input-group.js-parent-focus input {
  border-radius: 5px !important;
}

.checkout-option-block {
  position: relative;
}
.checkout-option-block > input {
  position: absolute;
  left: -99999em;
}
.checkout-option-block .card {
  transition: 0.3s;
  border-radius: 5px;
  box-shadow: none;
  border: 1px solid var(--c-borders);
  outline: 2px solid transparent;
  outline-offset: -2px;
  height: 100%;
}
.checkout-option-block .card:after {
  transition: 0.2s;
  content: "";
  border: 2px solid var(--c-primary);
  width: 38px;
  height: 38px;
  border-radius: 43px;
  position: absolute;
  top: -17px;
  left: -16px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' height='9' viewBox='0 0 11 9' width='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m10.5196.0689364c-.4963-.2475594-1.04999.2298766-1.37454.5128016-.74454.671942-1.37455 1.449992-2.08096 2.157302-.78275.77804-1.50822 1.55609-2.31006 2.31648-.45819.42438-.95457.88414-1.26003 1.41462-.68729-.61893-1.27912-1.29087-2.04277-1.83901-.553652-.38902-1.4700378-.67195-1.45094639.26524.03818269 1.22014 1.20275639 2.52867 2.06186639 3.35973.36274.35366.84002.725 1.39367.74268.6682.03537 1.35549-.70731 1.7564-1.11402.70642-.70731 1.27916-1.50306 1.92823-2.22803.84002-.95487 1.69913-1.89209 2.52006-2.86464.51548-.60122 2.13828-2.086602.85908-2.7231536zm-9.679318 4.7567036c-.019091 0-.038182 0-.076365.01765-.076366-.01765-.13364-.03536-.210005-.07073.057274-.03536.152731-.01768.28637.05308z' fill='%23035EAF'/%3E%3C/svg%3E");
  background-size: 18px 13px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
}
@media (max-width: 991.98px) {
  .checkout-option-block .card:after {
    top: -7px;
    left: -7px;
  }
}
.checkout-option-block:hover .card {
  outline: 2px solid var(--c-primary);
}
.checkout-option-block.selected .card {
  outline: 2px solid var(--c-primary);
}
.checkout-option-block.selected .card__name {
  transition: 0.3s;
  font-weight: 600;
}
.checkout-option-block.selected .card:after {
  opacity: 1;
}

#checkout-payment-step {
  border-bottom: 1px solid var(--c-borders);
}

.cart-main .until-free-shipping-additional {
  display: none;
}
