body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0 10px;
}
.woocommerce-checkout {
    background: #F7F6F6;
}
/*.woocommerce-checkout .hivebook-page .woocommerce-error {
  display: none;
}*/
.woocommerce-checkout .hivebook-page {
    max-width: 480px;
    margin: 0 auto;
}
.woocommerce-checkout .hivebook-page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0 30px 0;
}
.woocommerce-checkout .hivebook-page-header img {
    max-width: 150px;
}
.woocommerce-checkout .hivebook-page-content {
    margin: 30px 0 30px 0;
}
.woocommerce-checkout .hivebook-page-content ul {
    margin: 0;
    padding: 0;
}
.woocommerce-checkout .hivebook-page-content ul li {
    list-style: none;
}
.woocommerce-checkout .order-pay-container {
    width: 100%;
    border-radius: 15px;
    margin: 15px 0 40px 0;
    box-shadow: -1px 5px 20px rgba(0, 0, 0, 0.09);
}
.woocommerce-checkout .order-pay-container .order-pay-container-header {
    background: #000;
    padding: 15px 25px 25px 25px;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}
.woocommerce-checkout .order-pay-container .order-pay-container-header.detail {
    justify-content: space-between;
    gap: 0;
}
.cyan .order-pay-container .order-pay-container-header {
    background: #53B5C3 !important;
}
.woocommerce-checkout .order-pay-container .order-pay-container-header i {
    font-size: 32px;
}
.woocommerce-checkout .order-pay-container .order-pay-container-header h1 {
    margin: 0;
    padding: 5px 0 0 0;
    font-size: 17px;
    font-weight: 600;
}
.woocommerce-checkout .order-pay-container .order-pay-container-header h3 {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 400;
}
.woocommerce-checkout .order-pay-container .order-pay-container-content {
    background: #fff;
    padding: 5px 25px 25px 25px;
    border-radius: 8px 8px 15px 15px;
    position: relative;
    margin-top: -10px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
}
.order-pay-container .order-pay-container-content .payment_box {
    font-size: 14px;
}
@media only screen and (max-width: 768px) {
  .woocommerce-checkout .order-pay-container .order-pay-container-content .payment_box {
    font-size: 16px;
  }
}
.woocommerce-checkout .order-pay-container .order-pay-container-content .icon-head {
    margin: 15px auto;
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 50%;
    color: #fff;
    border: 8px solid #aaa;
    display: flex;
    justify-content: center;
    align-items: center;
}
.woocommerce-checkout .order-pay-container .order-pay-container-content .icon-head.valid {
    background: #43CB69;
    border: 8px solid #E1FFE0;
}
.woocommerce-checkout .cyan .order-pay-container .order-pay-container-content .icon-head.valid {
    background: #53b5c3;
    border: 8px solid #d6f3f7;
}
.woocommerce-checkout .order-pay-container .order-pay-container-content .icon-head.pending {
    background: #FFC107;
    border: 8px solid #ffe9a9;
}
.woocommerce-checkout .order-pay-container .order-pay-container-content .icon-head.error {
    background: #F85956;
    border: 8px solid #FFE9E8;
}
.woocommerce-checkout .order-pay-container .order-pay-container-content .icon-head i {
    font-size: 32px;
    margin-top: 4px;
}
.woocommerce-checkout .order-pay-container .order-pay-container-content p {
    margin: 0;
    padding: 0 0 15px 0;
}
.woocommerce-checkout .order-pay-container .order-pay-container-content h2 {
    font-size: 16px;
    color: #000;
    border-bottom: 1px solid #EBEBEB;
    width: 100%;
    padding-bottom: 5px;
    margin: 20px 0 10px 0;
    display: block;
    font-weight: 600;
}
.woocommerce-checkout .order-pay-container .order-pay-container-content .content-header h2 {
    font-size: 18px;
    color: #000;
    border-bottom: 0px solid #EBEBEB;
    width: 100%;
    padding-bottom: 5px;
    margin: 20px 0 10px 0;
    display: block;
    font-weight: 500;
    text-align: center;
}
.woocommerce-checkout .order-valid-content {
    text-align: center;
    font-size: 14px;
}
.woocommerce-checkout .order-product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 3px ;
  font-size: 13px;
  color: #707070;
}
.woocommerce-checkout .order-product-row.border-bottom {
  padding-bottom: 15px;
}
.woocommerce-checkout .order-product-name {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}
.woocommerce-checkout .order-product-name img {
  max-width: 40px;
  max-height: 40px;
}
.woocommerce-checkout .order-product-total {
  min-width: 100px;
  text-align: right;
  font-weight: 400;
}
.woocommerce-checkout .order-coupon-row .order-product-name {
  color: #232323;
}
.woocommerce-checkout .order-coupon-row .order-product-total {
  color: #09BE67;
}
.woocommerce-checkout .order-coupon-row .order-product-total.supp {
  color: #232323;
}
.woocommerce-checkout .order-total-row {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #EBEBEB;
}
.woocommerce-checkout  .order-total-row {
    color: #000;
    font-weight: 600;
    font-size: 14px;
}
.woocommerce-checkout .order-total-row .order-product-total {
    font-size: 16px;
     font-weight: 600;
}
.woocommerce-checkout .payment-method-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.woocommerce-checkout .payment-method-content .payment-method-content-label {
  flex: 1;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 10px 0;
  user-select: none;
  gap: 12px;
  position: relative;
  line-height: 1.3;
}
.woocommerce-checkout .wc_payment_method input[type="radio"] {
  display: none;
}
.woocommerce-checkout .payment-method-content .payment-method-content-icon img {
  max-height: 30px;
  width: auto;
  display: block;
}
.woocommerce-checkout .wc_payment_method .radio-custom {
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #606060;
  border-radius: 50%;
  transition: border-color 0.3s, background 0.3s;
}
.woocommerce-checkout .wc_payment_method .radio-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  background: #606060; /* Couleur du rond sélectionné */
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s ease-in-out;
}
.woocommerce-checkout input[type="radio"]:checked + .radio-custom::after {
  transform: scale(1);
}
.woocommerce-checkout input[type="radio"]:checked + .radio-custom {
  border-color: #606060;
}
.woocommerce-checkout .wc_payment_method .radio-label {
  margin-left: 30px;
}
.woocommerce-checkout button#place_order {
  display: block;
  border-radius: 20px;
  font-size: 16px;
  padding: 14px 0;
  text-align: center;
  width: 100%;
  border: none;
  font-weight: 600;
  margin: 15px 0;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  background-color: #000;
  color: #fff;
  transition: all 0.3s ease-in-out;
}
.woocommerce-checkout .cyan button#place_order {
    background: #53B5C3;
}
.woocommerce-checkout button#place_order:disabled{
  background: #D6D6D6;
  cursor: default;
}
.woocommerce-checkout .order-pay-container .order-pay-container-content .payment_box p {
    background: #f0f0f0f0;
    padding: 10px 15px;
    font-size: 13px;
    font-style: italic;
    color: #404040;
    border-radius: 4px;
    line-height: 1.4;
}
.woocommerce-checkout .hivebook-checkbox {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  color: #000;

}
.woocommerce-checkout .hivebook-checkbox span.checkbox-label {
  margin-left: 30px;
}
.hivebook-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.hivebook-checkbox .checkmark {
  position: absolute;
  left: 0;
  top: 0px;
  height: 18px;
  width: 18px;
  border: 2px solid #606060;
  border-radius: 2px;
  box-sizing: border-box !important;
  transition: all 0.3s ease;
  background-color: white;
}
.hivebook-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #606060;
  border-color: #606060;
}
.hivebook-checkbox .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 4px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg);
  transition: opacity 0.3s ease;
}
.hivebook-checkbox input[type="checkbox"]:checked + .checkmark::after {
  opacity: 1;
}
.hivebook-checkbox span {
  user-select: none;
}
.hivebook-checkbox a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}
.hivebook-checkbox a:hover {
  text-decoration: underline;
}
.woocommerce-checkout #order_terms_container {
  border-top: 1px solid #EBEBEB;
  margin-top: 5px;
  padding-top: 25px;
}
.woocommerce-checkout ul.woocommerce-error {
  margin: 0 0 30px 0;
  padding: 0px;
}
.woocommerce-checkout ul.woocommerce-error {
  outline: none;
}
.woocommerce-checkout ul.woocommerce-error li {
  font-size: 13px;
  color: #F44336;
  font-weight: 500;
  outline: none;
}
a.btn-next,
a.btn-back {
  font-size: 13px;
  color: #000;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  transition: all 0.2s linear;
}
a.btn-next.center,
a.btn-back.center {
  display: inline-flex;
  margin: 0 auto;
}
a.btn-next i,
a.btn-back i {
  font-size: 21px;
  position: relative;
  top: 1px;
  left: 0;
  transition: all 0.2s linear;
}
a.btn-next i {
  top: 0;
}
a.btn-back:hover i {
  left: -3px;
}
a.btn-next:hover i {
  left: 3px;
}
div#expiry-countdown {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  color: #000;
  font-weight: 500;
  text-align: right;
}
div#expiry-countdown span.label {
  color: #707070;
  font-size: 12px;
  font-weight: 400;
}
div#expiry-countdown span.value {
  font-family: "Roboto", sans-serif;
}
.woocommerce-checkout .order-pay-header {
  display: flex;
  justify-content: space-between;
  margin: 0 10px 0 0;
  align-items: flex-start;
}
fieldset.wc-upe-form  {
  border: none;
  margin: 15px 0;
  padding: 0;
}

body.woocommerce-order-received .woocommerce-info,
body.woocommerce-order-received .woocommerce-form-login,
body.woocommerce-order-received form.login {
    display: none !important;
}
.gift-coupon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px;
    border: 1px solid #EBEBEB;
    border-radius: 6px;
    margin-bottom: 15px;
}
.gift-coupon-wrapper .gift-coupon-label {
    font-size: 14px;
    line-height: 1.2;
}
.gift-coupon-wrapper .gift-coupon-value {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    gap: 2px;
    align-items: center;
}
.gift-coupon-wrapper .gift-coupon-value button {
    margin-top: 2px;
}
button.copy-button {
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
    outline: none;
}
button.copy-button i.bi-clipboard {
    transition: all 0.2s ease-in-out;
    color: #212529;
}
button.copy-button:hover i.bi-clipboard {
    color: #000;
}
button.copy-button i.bi-check2 { 
  color: #4CAF50;
}
.gift-product-infos-wrapper,
.appointment-product-infos-wrapper {
    padding: 10px 15px;
    border: 1px solid #EBEBEB;
    border-radius: 6px;
}
.gift-product-amount-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.gift-product-infos-wrapper .gift-product-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gift-product-infos-wrapper  .gift-amount-wrapper {
    background: #F4F4F4;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 8px;
}
.appointment-product-infos-wrapper .appointment-product-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.gift-product-infos-wrapper .gift-product-wrapper .gift-product-thumbnail img,
.appointment-product-infos-wrapper .appointment-product-wrapper .appointment-product-thumbnail img {
    width: 45px;
    height: auto;
    border-radius: 8px;
}
.gift-product-infos-wrapper .gift-product-wrapper .gift-product-title h4,
.appointment-product-infos-wrapper .appointment-product-wrapper .appointment-product-title h4 {
    padding: 0;
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 400;
    color: #000;
}
.appointment-product-infos-wrapper .appointment-product-wrapper .appointment-product-title a {
    text-decoration: none;
}
.appointment-product-infos-wrapper .appointment-product-wrapper .appointment-product-title a:hover {
    text-decoration: underline;
}
.gift-product-infos-wrapper .gift-product-wrapper .gift-product-title h5,
.appointment-product-infos-wrapper .appointment-product-wrapper .appointment-product-title h5 {
    margin: 0 0 8px 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    font-weight: 600;
    gap: 3px;
    line-height: 1.2;
}
.cyan .gift-product-infos-wrapper .gift-product-wrapper .gift-product-title h5,
.cyan .appointment-product-infos-wrapper .appointment-product-wrapper .appointment-product-title a,
.cyan .appointment-product-infos-wrapper .appointment-product-wrapper .appointment-product-title h5 {
      color: #3BB7C2;
}
.appointment-date-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
.appointment-date-wrapper .appointment-when-wrapper i {
    font-size: 19px;
}
.appointment-date-wrapper .appointment-when-wrapper {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    display: flex;
    gap: 8px;
    align-items: center;
}
.appointment-date-wrapper .appointment-quantity-wrapper span {
    background: #000;
    padding: 4px 5px;
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
    display: inline-block;
}
.cyan .appointment-date-wrapper .appointment-quantity-wrapper span {
    background: #3BB7C2;
}
.gift-product-infos-wrapper .gift-metadata-wrapper,
.appointment-product-infos-wrapper .appointment-metadata-wrapper {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}
.appointment-product-infos-wrapper .appointment-metadata-wrapper .appointment-metadata-label {
    min-width: 90px;
    text-align: right;
    color: #7A7A7A;
}
.gift-product-infos-wrapper .gift-metadata-wrapper .gift-metadata-label {
    color: #7A7A7A;
    margin-left: 2px;
}
.gift-actions-wrapper,
.appointment-actions-wrapper {
    text-align: center;
    margin: 15px 0 30px 0;
}
.gift-actions-wrapper a,
.appointment-actions-wrapper a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 21px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s linear;
}
.gift-actions-wrapper a i,
.appointment-actions-wrapper a i {
    font-size: 16px;
    top:-1px;
    position: relative;
}
.cyan .gift-actions-wrapper a,
.cyan .appointment-actions-wrapper a {
    background: #EAF6F7;
    color: #37B6C1;
}
.cyan .gift-actions-wrapper a:hover,
.cyan .appointment-actions-wrapper a:hover {
      background: #68C2CA;
      color: #fff;
}
.appointment-infos-wrapper {
    font-size: 13px;
    color: #000;
}
.appointment-infos-wrapper ul {
    margin-left: 30px !important;
    margin-bottom: 15px !important;
}
.appointment-infos-wrapper ul li {
    list-style: disc !important;
    margin-bottom: 5px;
}
.woocommerce-checkout .woocommerce-order-details,
.woocommerce-checkout .woocommerce-customer-details,
.woocommerce-checkout .woocommerce-form.woocommerce-verify-email {
  display: none;
}

.order-pay-moneticopaiement-wrapper {
  text-align: center;
  font-size: 14px;
  color: #000;
}
.woocommerce-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.woocommerce-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #404040; /* couleur WooCommerce */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* ANCV Connect override */
body.woocommerce-checkout.woocommerce-order-pay.woocommerce-page main {
  width: calc(100% - 10px);
}
body.woocommerce-checkout.woocommerce-order-pay main .woocommerce {
  width: 100%;
}
body.woocommerce-page.woocommerce-order-pay .woocommerce * {
  box-sizing:initial;
}
body.woocommerce-checkout.woocommerce-order-pay main .woocommerce {
  gap: 0;
}
body.woocommerce-checkout.woocommerce-order-pay .payment_method_ancv label {
  display: block;
  flex-direction: row;
  gap: 0;
}
body.woocommerce-checkout.woocommerce-order-pay .payment_method_ancv img {
  width: 65px;
  position: relative;
  top: -4px;
}
body.woocommerce-checkout.woocommerce-order-pay .payment_method_ancv .payment_box {
  display: none !important;
}
body.woocommerce-page.woocommerce-order-pay .woocommerce .ancv__pay {
  margin: 30px auto 30px 0;
}
body.woocommerce-page.woocommerce-order-pay .woocommerce .ancv__pay * {
  box-sizing: border-box;
  font-family: "Inter", "Arial", sans-serif;
}

body.woocommerce-page.woocommerce-order-pay .woocommerce .ancv__pay .ancv__actions {
  flex-direction: column; 
}
body.woocommerce-page.woocommerce-order-pay .woocommerce .ancv__pay .ancv__pay__submit {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}
body.woocommerce-page.woocommerce-order-pay .woocommerce .ancv__pay .ancv__action .input-text {
  outline: none;
  font-size: 16px;
}
body.woocommerce-page.woocommerce-order-pay .woocommerce .ancv__dialog img {
  max-width: 60%;
  height: auto;
  margin: 0 auto;
}
body.woocommerce-page.woocommerce-order-pay .woocommerce .ancv__pay.in-authorization {
  width: 100%;
}
body .ancv__logo__wrapper img {
  width: 100%;
  max-width: 172px;
}
