/* ===============================
   Toggle checkbox custom
================================= */
.container input {
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.container {
  display: inline-block;
  position: relative;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: rgba(216,216,216,.6);
  margin-right: 10px;
}

.container:hover {
  background: rgba(197,197,197,.53);
}

.line {
  width: calc(100% - 8px);
  height: 3px;
  left: 4px;
  background: rgb(58,58,58);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .7s cubic-bezier(0,1,.33,1.2), background .4s;
}

.line-indicator {
  transform: translateY(-50%) rotate(90deg);
}

.container input:checked ~ .line-indicator {
  transform: translateY(-50%);
}

.mj-toggle-title {
  display: flex;
  align-items: center;
  margin: 16px 0 8px;
}

.mj-title-text {
  font-size: 1.1em;
  font-weight: 600;
}

/* =========================================
   MAISON JEANNE Ã¢â‚¬â€œ PANIER MIROIR (FIX FINAL)
========================================= */

/* Ã°Å¸â€Â¥ Le point clÃƒÂ© : forcer le tableau ÃƒÂ  respecter les largeurs */
.mj-mirror-root table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* Ligne produit */
.mj-mirror-row {
  border-top: 1px solid #eaeaea;
}

/* Cellules */
.mj-mirror-row > td {
  padding: 18px 0;
  border: none !important;
  vertical-align: middle;
}

/* ===== Colonne IMAGE (fixe et petite) ===== */
.mj-mirror-row td.wc-block-cart-item__image {
  max-width: 110px;
}

.mj-mirror-row td.wc-block-cart-item__image a {
  display: block;
  width: 100%;
}

.mj-mirror-row td.wc-block-cart-item__image img {
  width: 100%;
  max-width: 100px;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}

/* ===== Colonne PRODUIT (prend le reste) ===== */
.mj-mirror-row td.wc-block-cart-item__product {
  width: 25vw;
}

.mj-mirror-row .wc-block-cart-item__wrap {
  max-width: 600px;
  margin: 0;
}

/* Nom produit */
.mj-mirror-row .wc-block-components-product-name {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
  display: inline-block;
}

/* Description */
.mj-mirror-row .wc-block-components-product-metadata__description {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #666;
}

/* Bouton supprimer */
.mj-mirror-row .wc-block-cart-item__quantity {
  margin-top: 8px;
}

.mj-mirror-row .wc-block-cart-item__remove-link {
  font-size: 0.8rem;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

/* ===== Colonne PRIX (compacte ÃƒÂ  droite) ===== */
.mj-mirror-row td.wc-block-cart-item__total {
  width: 70px;
  text-align: right;
  padding-left: 10px;
}

.mj-mirror-row td.wc-block-cart-item__total .price {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===== Animation suppression ===== */
.mj-mirror-row.mj-removing {
  opacity: 0.35;
  filter: grayscale(1);
  pointer-events: none;
  transition: opacity 0.2s ease;
}


.wc-block-cart-item__product .wc-block-formatted-money-amount , .shop_table.cart
{
  display:none;
}

/* Layout principal sur ordinateur et tablette paysage */
.woocommerce {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4rem;
  max-width: none !important;
}

/* Formulaire (panier) Ã  gauche */
.woocommerce .woocommerce-cart-form {
  flex: 1 1 65%;
  min-width: 300px;
}

/* Totaux / paiement Ã  droite */
.woocommerce .cart-collaterals {
  flex: 1 1 20%;
  max-width: 400px;
}

/* Responsive mobile : repasser en colonne */
@media (max-width: 768px) {
  .woocommerce {
    flex-direction: column;
  }
  .woocommerce .woocommerce-cart-form,
  .woocommerce .cart-collaterals {
    width: 100%;
    max-width: none;
  }
}

/* RÃ©duction gÃ©nÃ©rale de la colonne totaux */
.cart-collaterals,
.wc-block-cart__sidebar {
  font-size: 0.8rem;
}

/* Titre de la zone "Formule appliquÃ©e" */
.cart-collaterals h2,
.cart-collaterals h3,
.cart-collaterals h4,
.wc-block-cart__totals-title {
  font-size: 0.9rem;
  font-weight: 400;
}

/* Prix (Sous-total, Total) */
.cart-collaterals td,
.cart-collaterals th {
  font-size: 0.9rem;
}

/* Radio formules */
.cart-collaterals label {
  font-size: 0.8rem;
}

/* Bouton "Valider la commande" */
.cart-collaterals .button,
.cart-collaterals button,
.wc-block-cart__submit-button {
  font-size: 0.9rem !important;
  padding: 0.5em 1em;
}

#wp--skip-link--target{
  margin-left:30px;
  margin-right:30px;
  padding:0;
}


.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
  float: right;
  width: 100% !important;
}

