/* =============================================================
   Clocky — Fullwidth overrides (panier / checkout / compte)
   Corrige la contrainte de largeur Blocksy sur ces pages.
   ============================================================= */

/* Blocksy transforme form.ct-woocommerce-checkout en grid 2 colonnes —
   cela réduit ck-checkout-layout à 50% de la largeur. */
form.ct-woocommerce-checkout {
  display: block !important;
}

/* 1. Container sans contrainte */
.ct-container-full,
.ct-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

/* 2. Blocksy déclare [data-content=normal]>article { --theme-block-width: 90vw } ;
      on surcharge avec un sélecteur plus spécifique. */
body.woocommerce-checkout [data-content] > article,
body.woocommerce-cart     [data-content] > article,
body.woocommerce-account  [data-content] > article {
  --theme-block-width:     100%;
  --theme-block-max-width: 100%;
  --theme-container-width: 100%;
}

/* 3. Wrappers intermédiaires */
.entry-content,
article.ct-post,
.ct-content-area {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

/* 4. is-width-constrained utilise --theme-block-width */
.is-width-constrained {
  max-width: 100% !important;
  width: 100% !important;
}

/* 5. Sidebar masquée */
.ct-sidebar { display: none !important; }
