/* Styles pour le popup utilisant <dialog> */
dialog {
    border: none;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 80%;
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.closeButton {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #f04;
    color: #fff;
    border: none;
    cursor: pointer;
}

.closeButton:hover {
    background-color: #c03;
}


.closeButton {
    position: absolute;
    top: 5px;
    right: 5px;
    margin: 0px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    line-height: 0.7rem;
    justify-content: center;
    padding: 11px;
    background-color: #A7A7A7;
  }
  

  dialog p {
    margin: 0;
  }
  dialog {
    padding: 60px !important;
    border: var(--border);
    border-color: var(--border-color);
    border-radius: var(--border-radius-s);
  }
  
  dialog .title {
  
    font-weight: normal;
  }
  .content {
    margin-block: 20px;
  }
  .popup-buttons a {
    border: var(--border);
    border-color: var(--border-color);
    padding: 10px 20px;
    color:black;
  }
  .popup-buttons a:nth-of-type(odd) {
    background-color: black;
    color:white;
  }
  .popup-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  @media screen and (max-width:767px) {
    
dialog {
  padding: 30px !important;
  width: 90%;
}
    
  }



  #before-checkout[open] {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }


  @media screen and (max-width:767px) {
    #before-checkout[open] {
      justify-content: flex-start;
    }
  }
  .logo-boutique {
    max-width: 150px;
  }
  #before-checkout img {
    width: 100%;
  }
  
  #before-checkout .title {
    font-size: 1.5rem !important;
    margin-top:25px;
    font-weight: bold!important;
    text-align: center;
  }
   
  
  #before-checkout .content {
   color:black!important;
    text-align: center;
  }
  #before-checkout .retour-content {
    font-size:0.8rem;
  }

  #before-checkout details summary {
  cursor: pointer;
    text-align:center;
}
  #before-checkout details p  {
 font-size:0.8rem!important;
    color:black;
    text-align:center;
}

.retour-content {
  margin-bottom: 20px;
}

  #before-checkout .popup-buttons a {
    font-family: "Barlow",sans-serif;
  font-size: 1rem;
  font-weight: 600;
  font-style: normal;
  border-color:
#AB3F3A;
  border-style:
solid;
  border-width:
2px 2px 2px 2px;
  border-radius:
50px 50px 50px 50px;
  padding:
10px 20px 10px 20px;
    background-color: var(--color-action) !important;
  border: var(--border) !important;
  border-width: var(--border-width) !important;
  border-color: var(--border-color) !important;
  border-radius: var(--border-r-btn) !important;
  cursor: pointer !important;
}




.multi-store-info ul.logia-menu {
  margin-top: 15px !important;
}

.multi-store-info ul.logia-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-self: center;
}

.multi-store-info a{
  color: var(--color-action);
}
.multi-store-info a:hover{
  color: var(--color-action);
  text-decoration: underline;
}

.multi-store-info .logia-menu li {
  font-weight: 500;
  width: calc(50% - 20px) !important;
  display: flex;
  align-items: center;
  border: solid 2px #f5f5f5;
  background-color: #fff;
  border-radius: 5px;
  padding: 4px;
}

.multi-store-info .logia-menu img{
  width:40px!important;
  height:30px!important;
  object-fit:contain;
}

@media all and (max-width:767px){
  .multi-store-info ul.logia-menu {
      flex-direction: column;
      align-items: center;
  }
  .multi-store-info .logia-menu li {
      width: calc(100% - 20px)!important;
  }
}
