@import url('https://fonts.cdnfonts.com/css/heavitas');
@import url('https://fonts.cdnfonts.com/css/montserrat');

/* .woocommerce-message, .woocommerce-form-coupon-toggle {
    display: none;
} */

.woocommerce {
    margin-top: 50px;
}

.checkout.woocommerce-checkout .step-2, .checkout.woocommerce-checkout .step-3 {
    display: flex;
}

.step-3 {
    color: white;
    font-family: "Montserrat";
}

.checkout.woocommerce-checkout .step-3 {
    flex-direction: column;
}

.step-3 .shop_table.woocommerce-checkout-review-order-table {
    display: none;
}

#billing_last_name_field, 
#billing_birthdate_field,
#billing_first_name_field,
#billing_international_phone_field,
#billing_email_field,
#billing_country_field,
#billing_postcode_field,
#billing_city_field {
    width: 49%;
}

#billing_address_1_field {
    width: 98%;
}

#billing_international_phone_field .iti.iti--allow-dropdown {
    width: 100%;
}

#billing_international_phone_field .iti__country-name {
    color: #999;
}

#billing_country_field .select2-container, #billing_country_field .select2-selection.select2-selection--single {
    height: 100%;
}

.complete-information {
    text-align: center;
}

.step-3 .woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.step-3 #payment {
    background-color: black;
    color: white;
}

#billing_mandate_acceptation_field .checkbox {
  display: flex;
  align-items: baseline;
}

.step-3 #payment .form-row.place-order {
    padding: 0;
}

.step-3 .wc_payment_methods.payment_methods.methods {
    display: none;
}

.step-3 .form-row.place-order {
    padding: 0;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    float: inherit;
    left: 50%;
    margin: -20px -50px;
}

.step-3 #order_review_container {
    background: inherit;
    border-radius: 0;
    padding: 0;
}

.checkout.woocommerce-checkout .col-1 {
    width: 100%;
}

.checkout.woocommerce-checkout h3 {
    color: white;
    font-family: "Heavitas";
}

.step-2-validate {
    font-family: "Heavitas";
    margin-bottom: -65px;
    margin-top: 37px;
    text-align: center;
}

#woocommerce-next-step {
    background-color: #2740ff;
    background-image: none;
    border: 0;
    border-radius: 20px;
    box-shadow: none;
    color: white;
    cursor: pointer;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    overflow: visible;
    padding: .618em 1em;
    position: relative;
    text-decoration: none;
    text-shadow: none;
}

#woocommerce-next-step:hover {
    background-color: white;
    color: #2740ff;
}

.step-2 #payment {
    display: none;
}

#order_review_heading {
    line-height: 0;
}

#order_review_container {
    border-radius: 12px;
    color: black;
    display: flex;
    flex-direction: column;
    font-family: "Montserrat";
    padding: 50px;
}

#order_review_container h3 {
    color: black;
    font-size: 1rem;
    font-weight: 400;
}

#order_review_container .title-hr {
    margin-left: 0;
    width: 120px;
}

#order_review_container .bl-gymk-product-payment {
    font-size: 10px;
}

.step-2 .bl_gymk_maintenance_costs th {
    font-size: 10px;
}

.woocommerce table.shop_table, .shop_table.woocommerce-checkout-review-order-table, .woocommerce table, .woocommerce th, .woocommerce td {
    border: none !important;
    border-block-start: none !important;
    margin-bottom: 0px;
}

.step-2 .col-1 .details {
    border-radius: 12px;
    color: white;
    font-family: "Montserrat";
    padding-bottom: 10%;
    padding-left: 30%;
    padding-right: 30%;
}

#customer_details {
  align-items: flex-start; 
  display: flex;
}

.customer-details-container {
  background-image: url("../images/prime_background.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.customer-details-container.prime_plus {
  background-image: url("../images/prime_plus_background.png");
}

.customer-details-container.prime_full {
  background-image: url("../images/prime_full_background.png");
}

#order_review_container {
  background-color: white;
}

#customer_details input {
    background-color: rgba(237, 237, 237, 0.19);
    border-radius: 10px;
    box-shadow: none;
    box-sizing: border-box;
    color: white;
    display: block;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    height: auto;
    line-height: 1.3em;
    margin: 0;
    max-height: unset;
    max-width: unset;
    min-height: unset;
    min-width: unset;
    overflow: visible;
    padding: 9px;
    transition: .2s ease;
    width: 100%;
}

.mandate-heading {
    font-family: "Montserrat" !important;
    font-size: 15px;
}

#billing_mandate_acceptation_field, .woocommerce-terms-and-conditions-wrapper {
    font-size: 13px;
}

.woocommerce #billing_country {
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
}

.woocommerce .select2-selection.select2-selection--single {
    border-color: #777771;
    background-color: rgba(237, 237, 237, 0.19);
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
  color: white;
}

.order-total {
    font-size: 24px;
}

#place_order {
    background-color: #2740ff;
    font-family: "Heavitas";
}

#place_order:hover {
    background-color: white;
    color: #2740ff;
}

.step-2 .col-1 {
    display: flex;
    flex-direction: column;
}

.step-2 .col-1 .details .my-options {
    font-family: "Heavitas";
    margin-top: 20px;
}

.step-2 .col-1 .details .without-commitment {
    margin-bottom: 40px;
    text-transform: uppercase;
}

.step-2 .col-1 .details .price-promotion {
    align-items: center;
    display: flex;
    border: 2px solid white;
    border-radius: 13px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 5px 5px;
    text-align: center;
    width: 100%;
}

.step-2 .col-1 .details .price-promotion img {
    height: 30px;
    margin-left: -20px;
    margin-right: -25px;
    margin-top: -6px;
}

.step-2 .col-1 h3 {
    margin-block-end: inherit;
}

.step-2 .options {
    color: black;
    display: flex;
    flex-wrap: wrap;
    font-family: "Heavitas";
    font-size: 13px; 
    justify-content: center;
}

.step-2 .options .option-product-container {
    background: linear-gradient(to right, white, #2740ff);
    border-radius: 20px;
    margin: 10px;
    padding: 1px;
    width: 100%; 
}

.step-2 .options .option-product {
    align-items: center;
    background-color: white;
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 10px;
}

.step-2 .option-product-title {
    margin-left: 5px;
}

.step-2 .option-product-title img {
    height: 12px;
    margin-left: 2px;
}

.step-2 .option-product-price {
    color: #2740ff;
    font-size: 17px;
    font-weight: 700;
}

.step-2 .coupon-form-row td {
    padding: inherit !important;
}

.step-2 #coupon_code {
    border-radius: 20px;
    text-align: center;
}

.step-2 .checkout_coupon.woocommerce-form-coupon {
    border: inherit;
    padding: inherit;
    margin: inherit;
    text-align: center;
    border-radius: inherit;
}

.step-2 .coupon-container {
    background-color: #2740ff;
    height: 60px;
    margin-left: -74px;
    margin-right: -97px;
    margin-top: -9px;
    padding: 10px;
}

.step-2 .coupon-toggle {
    background-color: #2740ff;
    color: white;
    font-size: 11px;
    margin-left: -62px;
    margin-right: -85px;
    padding: 10px;
}

.chevron {
    width: .6rem;
    height: .6rem;
    display: inline-block;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    /* état initial : chevron vers le haut */
    transform: rotate(45deg);
    transition: transform .2s ease;
  }

/* Quand c'est ouvert, chevron vers le bas */
.coupon-toggle[aria-expanded="true"] .chevron {
    transform: rotate(-135deg);
}

.step-2 .woocommerce-form-coupon .form-row-first {
    width: 60%;
}

.step-2 .woocommerce-form-coupon .form-row-last {
    width: 30%;
}

.step-2 .woocommerce-form-coupon button {
    background-color: white;
    border-radius: 20px;
    color: black;
    width: 100%;
}

.step-2 .woocommerce-form-coupon button:hover {
    background-color: white;
    color: #2740ff;
}

.step2-information {
    color: white;
    font-size: 10px;
    margin-top: 50px;
    text-align: center;
}

/* Checkbox Option Product */
:root{
  --cc-size: 20px;
  --cc-dur: 220ms;
  --cc-ease: cubic-bezier(.2,.7,.2,1);
}

.circle-checkbox{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  cursor:pointer;
  user-select:none;
}

/* Accessibilité : on ne cache pas totalement l’input */
.cc-input{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
}

/* Cercle (bord) */
.cc-visual{
  position:relative;
  width:var(--cc-size);
  height:var(--cc-size);
  border:2px solid #2740ff;
  border-radius:50%;
  box-sizing:border-box;
  display:inline-block;
  overflow:hidden;                 /* masque le fill rond */
  transition:border-color var(--cc-dur) var(--cc-ease), 
             box-shadow 120ms ease;
}

/* “Remplissage” animé */
.cc-visual::after{
  content:"";
  position:absolute;
  inset:2px;                       /* marge intérieure = garde la bordure visible */
  border-radius:50%;
  background:#2740ff;
  transform:scale(0);              /* caché au départ */
  transform-origin:center;
  transition:transform var(--cc-dur) var(--cc-ease);
}

/* État coché → le remplissage s’agrandit en douceur */
.cc-input:checked + .cc-visual::after{
  transform:scale(1);
}

/* Focus clavier visible */
.cc-input:focus-visible + .cc-visual{
  box-shadow:0 0 0 3px rgba(13,110,253,.25);
}

/* Petit feedback au clic */
.circle-checkbox:active .cc-visual{
  transform:scale(.97);
}

/* Respecte préférence utilisateur */
@media (prefers-reduced-motion: reduce){
  .cc-visual,
  .cc-visual::after{ transition:none; }
}

/* Breadcrumb */
.bl-gymk-steps-progress-bar {
    margin: auto;
    margin-bottom: 30px;
    overflow: hidden;
    counter-reset: step;
    width:100%;
}

.bl-gymk-steps-progress-bar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 20px;
    width: 30%;
    float: left;
    position: relative;
    text-align:center;
    font-weight: 600;
}

.bl-gymk-steps-progress-bar li p {
    color:#ffffff;
    font-size: 14px;
    font-weight: 300;
}

.bl-gymk-steps-progress-bar li {
    color: white;
    float: left;
    font-family: "Heavitas";
    font-size: 34px;
    font-weight: 600;
    list-style-type: none;
    position: relative;
    text-align:center;
    text-transform: uppercase;
    width: 30%;
}

.bl-gymk-steps-progress-bar li:before {
    background: #ffffff;
    border: 4px solid #2740ff;
    border-radius: 40px;
    color: #353535;
    content: counter(step);
    counter-increment: step;
    display: block;
    font-family: "Heavitas";
    font-size: 34px;
    font-weight: 400;
    line-height: 60px;
    margin: 0 auto 5px auto;
    padding-left: 3px;
    padding-top: 3px;
    width: 70px;
}

.bl-gymk-steps-progress-bar .bl-gymk-step-bar {
    background: #ffffff;
    content: '';
    height: 2px;
    margin-left: 50px;
    position: absolute;
    top: 31px;
    width: 70%;
    z-index: -1;
}

.bl-gymk-steps-progress-bar li:first-child:after {
    content: none;
}

.bl-gymk-steps-progress-bar li.active:before {
    background: #2740ff;
    color: white;
    border: 4px solid #2740ff;
}

#customer_details #billing_mandate_acceptation {
    margin-top: 20px;
    width: inherit;
}

#billing_first_name_field label,
#billing_last_name_field label,
#billing_country_field label,
#billing_address_1_field label,
#billing_postcode_field label,
#billing_city_field label,
#billing_international_phone_field label,
#billing_email_field label,
#billing_birthdate_field label,
#billing_mandate_iban_field label,
#billing_mandate_bic_field label,
#billing_mandate_bank_name_field label,
#is_newsletter_checkout_field {
    display: none;
}

@media screen and (max-width:1200px) {
    .step-2 .col-1 .details {
        padding-left: 20%;
        padding-right: 20%;
    }
}

@media screen and (max-width:1100px) {
    .step-2 .col-1 .details {
        padding-left: 0;
        padding-right: 0;
    }

    .customer-details-container {
        padding-left: 20%;
        padding-right: 20%;
    }

    #order_review_container {
        margin-left: 0;
    }

    .step-2 .options {
        flex-direction: column;
    }

    .step-2 .options .option-product-container {
        width: 100%;
    }

    .step-2 .col-1 .details .included-options-text-container {
        margin-bottom: -20px;
    }

    .step-2 .col-1 .details .included-options-text {
        font-size: 21px;
        width: 85%;
    }

    .step-2 .col-1 .details .included-options {
        width: 100%;
    }

    .bl-gymk-steps-progress-bar .bl-gymk-step-bar {
        width: 56%;
    }

    .step-2 .order-total {
        font-size: 20px;
    }

    .woocommerce-form-coupon, #coupon_code {
        font-size: 13px;
    }

    #billing_mandate_acceptation_field .checkbox {
        display: inherit;
        align-items: inherit;
    }

    .step-2 .coupon-container {
        margin-right: -97px;
    }
}

@media screen and (max-width:1000px) and (min-width:500px) {
    .step-2 #order_review_container {
        padding: 10px;
    }

    .step-2 .coupon-toggle {
        margin-left: -22px;
        margin-right: -45px;
    }

    .step-2 .coupon-container {
        margin-left: -34px;
        margin-right: -57px;
    }

     .customer-details-container {
        padding-left: 10%;
        padding-right: 10%;
        margin-top: 0;
    }

    .step-2 .options {
        font-size: 11px;
    }

    .step-2 .col-1 .details .my-options {
        font-size: 11px;
        margin-top: 20px;
    }

    .step-2 .col-1 .details .without-commitment {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .step-2 .col-1 .details .price-promotion {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .step-2 .option-product-price {
        font-size: 11px;
    }

    .step-2-validate {
        margin-bottom: -26px;
    }
}

@media screen and (max-width:800px) and (min-width:500px) {
    .step-2 #order_review_heading, 
    .step-2 #order_review, 
    .step-2 #coupon_code, 
    .step-2 .coupon-container, 
    .step-2 .woocommerce-Price-amount.amount,
    .step-2 .order-total {
        font-size: 11px;
    }

     .customer-details-container {
        margin-top: -16px;
    }
}

@media screen and (max-width:500px) {
    .checkout.woocommerce-checkout .step-2, .checkout.woocommerce-checkout .step-3 {
        flex-direction: column;
    }

    .order_review_block-container {
        margin-top: 20px;
    }

    .bl-gymk-steps-progress-bar .bl-gymk-step-bar {
        margin-left: 40px;
        width: 15%;
    }

    #customer_details {
        width: 100%;
    }

    .woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
        left: 25%;
        margin: inherit;
        width: inherit;
    }

    .step-2 .col-1 .details .name {
        margin-top: 40px;
    }

     .customer-details-container {
       padding: 0;
    }

    .step-2 .col-1 .details .my-options {
        margin-top: 0;
    }

    .step-2 .col-1 .details {
        padding: 60px;
    }

    .step-2 .col-1 .details .price-promotion {
        font-size: 13px;
        padding: 5px 0px;
        width: 100%;
    }

    .step-2 .col-1 .details .register-fees {
        margin-top: 15px;
    }

    .step-2 .col-1 .details .commitment {
        font-size: 17px;
        margin-top: 15px;
    }

    #customer_details input {
        font-size: 13px;
    }

    .step-2 .coupon-container {
        margin-right: -30px;
    }

    .step-2 #order_review_block-container {
        margin-top: 20px;
    }
}

@media screen and (max-width:428px) {
    .step-2 .coupon-toggle {
        margin-right: -11px;
    }

    .step-2 .coupon-container {
        margin-right: -23px;
    }

    .step-2 #order_review_block-container {
        margin-left: 5%;
        width: 83%;
    }
}

@media screen and (max-width:414px) {
    .step-2 .coupon-toggle {
        margin-right: -15px;
    }

    .step-2 .coupon-container {
        margin-right: -27px;
    }

    .step-2 #order_review_block-container {
        width: 87%;
    }
}

@media screen and (max-width:390px) {
    .step-2 .coupon-toggle {
        margin-right: -6px;
    }

    .step-2 .coupon-container {
        margin-right: -18px;
    }

    .step-2 #order_review_block-container {
        width: 90%;
    }
}

@media screen and (max-width:375px) {
    .step-2 .coupon-toggle {
        margin-right: -13px;
    }

    .step-2 .coupon-container {
        margin-right: -25px;
    }

    .step-2 #order_review_block-container {
        margin-left: 2%;
        width: 96%;
    }
}