.woocommerce-checkout {

  /* 1. VALIDATION BLOCK (Protocol & Scrollbox) */
  
  .checkout-validation-wrapper {
    border: none;
    padding: 0;
    margin: 20px 0;
    background: transparent;
  }

  .validation-title {
    color: #16254A;
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
  }

  .validation-section-info {
    margin-bottom: 25px;
    padding-bottom: 0;
    border-bottom: none;
  }

  .commune-text {
    color: #16254A;
  }

  .commune-city {
    font-size: 14px;
    color: #16254A;
  }

  .legal-scroll-box {
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 4px;
  }

  .validation-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #222;
  }

  .validation-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
  }

  #place_order.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(100%);
    pointer-events: none;
  }

  /* 2. CHECKOUT LAYOUT */

  h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    text-transform: none;
  }

  .checkout-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
  }

  .checkout-product-item img {
    border-radius: 6px;
    border: 1px solid #eee;
    object-fit: cover;
  }

  .checkout-product-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
  }

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

  .shop_table tr.cart_item td {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .shop_table .product-total {
    text-align: right;
    font-weight: 700;
  }

  .shop_table tr.order-total th,
  .shop_table tr.order-total td {
    font-size: 18px;
    padding-top: 20px;
    border-top: 2px solid #eee;
  }

  #place_order {
    width: 100%;
    padding: 18px;
    background-color: #009fe3;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    transition: background 0.3s ease;
    margin-top: 20px;
  }

  #place_order:hover {
    background-color: #007bb1;
  }

  .stepped-progress-wrapper {
    margin-bottom: 50px;
    width: 100%;
  }

  .woocommerce-checkout-payment {
    background: transparent !important;
  }

  .woocommerce-checkout-payment .place-order {
    padding: 0 !important;
  }

  .woocommerce-privacy-policy-text {
    padding: 1rem;
    background-color: #E8E8E8;
    border-radius: 4px;
    font-size: 14px;
  }

  /* 3. FIELD MANAGEMENT */

  #order_review_heading,
  .woocommerce-additional-fields,
  #customer_details .col-2 {
    display: none;
  }

  #customer_details .col-1 {
    width: 100% !important;
  }

  .woocommerce-billing-fields__field-wrapper > .form-row {
    display: none;
  }

  #billing_address_1_field,
  #billing_address_2_field,
  #billing_postcode_field,
  #billing_city_field {
    display: none !important;
  }

  #billing_email_field input.input-text {
    background-color: #ffffff;
    border: 1px solid #2b2d2f;
    border-radius: 4px;
    padding: 12px 15px;
    color: #2b2d2f;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* On sort les media queries de l'encapsulation pour plus de stabilité */
@media (min-width: 992px) {
  .woocommerce-checkout .woocommerce-NoticeGroup-checkout {
    width: 100%;
    margin-bottom: 20px;
  }

  .woocommerce-checkout #customer_details {
    display: none;
  }
}

/* Correction spécifique pour entry-content uniquement sur checkout */
.woocommerce-checkout .entry-content {
  margin-bottom: 5rem;
}