/* Slider et overlay */
#mcs-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999999998;
}
#mcs-slider {
    position: fixed;
    top: 0; right: -500px;
    width: 500px;
    height: 100%;
    background: #FAF8F4;
    box-shadow: -2px 0 6px rgba(0,0,0,0.2);
    z-index: 999999999999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}
#mcs-slider.open { right: 0; }
#mcs-close {
    background: none;
    border: none;
    font-size: 4em;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

#mcs-slider h2 {
    font-family: 'Quiche sans';
    text-align: center;
    margin-top: 70px;
}


.woocommerce-mini-cart__empty-message {
    padding: 20px;
    font-family: 'Davis sans';
    text-align: center;
    color: #000;
    font-size: 1em;
}

.mcs-count {
     background-color: #f2ad73;
        position: absolute;
        top: -10px;
        right: -13px;
        width: 23px;
        height: 23px;
        font-size: 12px;
        text-align: center;
        border-radius: 11px;
        color: #000;
        padding-top: 2px;

}

.mcs-content { flex: 1; overflow-y: auto; padding: 20px; }
.mcs-footer { padding: 20px; border-top: 1px solid #eee; }
.mcs-buttons { display: flex; justify-content: space-between; gap:20px; margin-top: 10px; }
.mcs-buttons .button { flex: 1; text-align: center; margin: 0 5px; }



.mcs-footer .mcs-subtotal {
    font-family: 'Davis sans';
    color: #000;
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.mcs-buttons a {
    border-radius: 0 !important;
}


.mcs-content .woocommerce-mini-cart__total {
    display: none;
}


.mcs-content  .woocommerce-mini-cart__buttons {
     display: none;
}


/* Liste d’articles */
.mcs-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mcs-cart-item {

  overflow: hidden;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}


.mcs-col-left {
    width: 30%;
    float: left;
}

.mcs-col-left  a {
    font-size: 50px;
    color: #f00 !important;
}

.mcs-col-left img  {
    width: 100% !important;
    height: auto !important;
    max-width: 100px !important;
}
.mcs-col-right {
    width: 70%;
   
    padding: 10px;
    float: left;
}

.mcs-name {
    font-size: 17px !important;
    color: #F2AD73;
}


.mcs-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;           /* espace entre les colonnes */
  margin-top: 6px;
  font-size: 0.9em;
  color: #000;
}
.mcs-meta span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}




@media (max-width: 980px) {
  #mcs-slider {
    width: 100% !important;
    right: -100% !important; /* on le positionne hors écran complètement */
  }
  #mcs-slider.open {
    right: 0 !important;      /* et on l’amène plein écran */
  }
}




/***

@media screen and ( max-width: 980px ){
}
 
#mcs-slider {
    position: fixed;
    top: 0; right: -100%;
    width: 100%;
    height: 100%;
    background: #FAF8F4;
    box-shadow: -2px 0 6px rgba(0,0,0,0.2);
    z-index: 999999999999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

}

**/
