/* Overlay backdrop */
.fcw-fast-checkout-modal dialog::backdrop,
.fcw-fast-checkout-modal dialog + .fcw-backdrop {
    background: rgba(0, 0, 0, .5);
}
.page-content:has(dialog.fcw-dialog) {
   position: relative;
}

.fcw-fast-checkout-modal:has(dialog.fcw-dialog[open]) {
    display:flex;
    align-items:center;
    justify-content:center;
    height:100vh;
    position:fixed;
    width:100%;
    top:0;
    left:0;
   z-index: 9999;
  background: rgba(0,0,0,0.4);
}
/* Dialog box */
.fcw-fast-checkout-modal dialog.fcw-dialog {
  
    
    border: none;
    border-radius: 6px;
    padding: 2rem;
    min-width: 320px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    z-index: 99999;
}

/* Bouton fermeture × */
.fcw-dialog-close {
    position: absolute;
    top: .6rem;
    right: .8rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    color: #666;
}
.fcw-dialog-close:hover { color: #000; }

/* Message principal */
.fcw-dialog-message {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 .5rem;
}

/* Total panier */
.fcw-dialog-total {
    color: #555;
    margin: 0 0 1.5rem;
}

/* Boutons d'action */
.fcw-dialog-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.fcw-dialog-actions .button {
    
}
.fcw-product-select{
    
    accent-color:var(--e-global-color-primary);

}
.fcw-summary{
    position: sticky;
        background: #fff;

    bottom: 0;
    z-index: 999;
}
.fcw-products-table{
    position: relative;
}
.fcw-products-table >thead{
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}
.admin-bar .fcw-products-table >thead{
    top: 32px;
}
.fcw-col-name{
    font-size:90%;
}
.fcw-search-form{
    display:flex;
    flex-flow:column;
  
    width:100%;
}
.form-group{
    width:100%;
    display:flex;
      align-items:center;
    gap:1.5rem;
}
.fcw-search-form .select2-container{
z-index: 1!important;
}