.points-map-popup h4 {
  line-height: 28px;
  margin-bottom: 10px;
}

.points-map-popup .pop-upaddress {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 10px;
}

.points-map-popup .popup-number {
  font-size: 14px;
  line-height: 26px;
  margin-bottom: 10px;
}

.points-map-popup a {
  display: block;
  font-size: 12px;
  line-height: 15px;
  font-weight: 700;
  color: #fff;
  background-color: #e30313;
  border-radius: 10px;
  text-align: center;
  width: fit-content;
  padding: 4px 11px;
}

.points-map-popup .contact-btn {
  margin-bottom: 6px;
}

.gmap_canvas button.gm-svpc img {
  max-width: unset;
}

.points-de-vente {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  height: 650px;
}

.seller-point {
  width: 309px;
  gap: 20px;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 2px 0;
}

.map-point {
  width: 819px;
  border-radius: 10px;
}

.seller-point .adresse-box {
  border: 1px solid #014289;
  border-radius: 10px;
  width: 278px;
}

.seller-point .adresse-box h4 {
  line-height: 24px;
  color: #262626;
  padding: 20px 35px 10px;
}

.seller-point .adresse-box .seller-time {
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  color: #262626;
  background-color: #f7f7f7;
  margin: 0;
  padding: 5px 34px;
}

.seller-time .seller-time-wrap {
  display: flex;
  gap: 2px;
}

.seller-time-wrap span:first-child {
  width: 100%;
  max-width: 60px;
  display: block;
}

.seller-time-wrap span:last-child {
  width: 100%;
  display: block;
}

.pop-upaddress .seller-time-wrap span {
  max-width: max-content;
}

.pop-upaddress .seller-time-wrap {
  display: flex;
  gap: 5px;
}

.points-map-popup p.pop-upaddress {
  margin-top: 10px;
}

.points-map-popup {
  padding-bottom: 10px;
}

.address-details-wrap {
  padding: 10px 35px 30px;
}

.address-details-wrap .seller-addresse {
  margin: 0 0 5px 0;
  font-size: 14px;
  line-height: 26px;
  font-weight: 700;
  color: #014289;
  text-decoration: underline;
  display: block;
  cursor: pointer;
  width: fit-content;
}

.address-details-wrap .seller-addresse:hover,
.address-details-wrap .seller-mobile:hover {
  color: #e30313;
}

.address-details-wrap .seller-addresse img,
.points-map-popup p img {
  margin-right: 10px;
  width: 11px;
}

.address-details-wrap .seller-mobile {
  font-size: 14px;
  line-height: 26px;
  font-weight: 400;
  color: #262626;
  margin-bottom: 23px;
}

.address-details-wrap .seller-mobile img {
  margin-right: 7px;
  width: 12.5px;
}

.seller-logo img {
  width: fit-content;
  display: block;
}

.seller-logo img:first-child {
  margin-bottom: 10px;
}

.seller-logo img {
  max-width: 150px;
  border: 0.5px solid;
}

.seller-logo {
  margin: 15px 0 14px;
}

.address-details-wrap .contact-wrapar a:last-child {
  background-color: #014289;
}

.address-details-wrap .contact-wrapar a {
  display: block;
  font-size: 12px;
  line-height: 15px;
  font-weight: 700;
  color: #fff;
  background-color: #e30313;
  border-radius: 10px;
  text-align: center;
  width: fit-content;
  padding: 4px 11px;
}
.address-details-wrap .contact-wrapar.savior-button a {
  padding: 0;
  color: #000;
  background: transparent;
  margin-top: 12px !important;
}
.address-details-wrap .contact-wrapar.savior-button a:hover {
  color: #014289;
  background: transparent;
}

.address-details-wrap .contact-wrapar a:last-child {
  margin-top: 5px;
}

.address-details-wrap .contact-wrapar a:hover,
.points-map-popup a:hover {
  background-color: #262626;
}

.gm-style-iw.gm-style-iw-c {
  overflow: auto;
}
.popup-logo {
  margin: 10px 0 !important;
}
.popup-logo img {
  margin: 5px 10px 0px 0 !important;
  max-width: 130px;
  border: 0.5px solid;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
.seller-point {
  scrollbar-width: thin;
  scrollbar-color: #014289 #f2f2f2;
}

/* Chrome, Edge, and Safari */
.seller-point::-webkit-scrollbar {
  width: 14px;
}

.seller-point::-webkit-scrollbar-track {
  background: #f2f2f2;
}

.seller-point::-webkit-scrollbar-thumb {
  background-color: #014289;
  border-radius: 10px !important;
  border: none;
}

.appointment_button {
  cursor: pointer;
}

.points-map-popup .appointment_button {
  background-color: #014289;
}

.hidemap {
  z-index: -1 !important;
}

.overflow-hiden {
  overflow: hidden !important;
}

.overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  text-align: center;
  white-space: nowrap;
  display: none;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.overlay .main-popup {
  background: #fff;
  display: inline-block;
  white-space: normal;
  text-align: left;
  vertical-align: middle;
  position: relative;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  margin-top: -50px;
}

.overlay::before,
.overlay::after {
  height: 100%;
  content: "";
  display: inline-block;
  vertical-align: middle;
}

.overlay.shown {
  display: block;
}

.overlay.shown .main-popup {
  margin-top: 0;
}

.overlay--bg-black {
  background: rgba(0, 0, 0, 0.7);
}

.main-popup {
  max-height: 80vh;
  overflow: auto;
}

.main-popup-close {
  position: absolute;
  width: 25px;
  height: 25px;
  display: block;
  top: 20px;
  right: 15px;
  cursor: pointer;
  opacity: 0.7;
}

.main-popup-close::before,
.main-popup-close::after {
  content: "";
  position: absolute;
  display: block;
  height: 2px;
  margin-top: -1px;
  top: 50%;
  left: 3px;
  right: 3px;
  background: #555;
}

.main-popup-close::before {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.main-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.main-popup-close:hover {
  opacity: 1;
}

.pop_body {
  font-size: 14px;
  padding: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.pop_body h3 {
  margin: 0 20px 20px;
  text-align: center;
  text-transform: capitalize;
}

.main-popup {
  width: 90%;
}

.points-de-vente button.gm-ui-hover-effect {
  position: absolute !important;
}

.points-de-vente .gm-style-iw-ch {
  display: none;
}

.points-de-vente .gm-style-iw-chr {
  display: unset;
}


@media screen and (max-width: 1023px) and (min-width: 767px) {
  .main-popup {
    width: 80%;
  }
}

@media screen and (min-width: 1024px) {
  .main-popup {
    width: 50%;
  }
  .je-m’inscris-form .main-popup {
    width: 35%;
  }
}

@media screen and (max-width: 425px) {
  .pop_body {
    padding: 20px;
  }
}

@media screen and (max-width: 420px) {
  .pop_body h3 {
    margin: 40px 20px 20px;
  }
  .pop_body {
    padding: 5px;
  }
  .je-m’inscris-form .pop_body {
    padding: 20px;
  }
}

@media only screen and (max-width: 1280px) {
  .points-de-vente {
    gap: 30px;
  }

  .seller-point {
    width: 30%;
  }

  .map-point {
    width: 70%;
  }

  .seller-point .adresse-box {
    width: 95%;
  }

  .seller-point .adresse-box h4 {
    padding: 20px 25px 10px;
  }

  .address-details-wrap {
    padding: 10px 25px 30px;
  }

  .seller-point .adresse-box .seller-time {
    padding: 5px 25px;
  }

  .map-point .mapouter,
  .map-point .gmap_canvas {
    width: 100%;
  }
}

@media only screen and (max-width: 1024px) {
  /* Chrome, Edge, and Safari */
  .seller-point::-webkit-scrollbar {
    width: 8px;
  }

  .points-de-vente {
    gap: 20px;
  }

  .seller-point {
    width: 36%;
  }

  .address-details-wrap {
    padding: 10px 15px 15px;
  }

  .seller-point .adresse-box .seller-time {
    padding: 5px 15px;
  }

  .seller-point .adresse-box h4 {
    padding: 20px 15px 10px;
  }

  /* For WebKit browsers, including Safari */
  .seller-point::-webkit-scrollbar {
    width: 12px; /* Set the width of the scrollbar */
  }

  .seller-point::-webkit-scrollbar-track {
    background-color: #ec11ec; /* Set the color of the track (the area behind the scrollbar) */
  }

  .seller-point::-webkit-scrollbar-thumb {
    background-color: #f21010; /* Set the color of the thumb (the draggable part of the scrollbar) */
    border-radius: 6px; /* Set the border radius of the thumb */
  }

  .seller-point::-webkit-scrollbar-thumb:hover {
    background-color: #0ce855; /* Set the color of the thumb on hover */
  }
}





@media only screen and (max-width: 600px) {
  .points-de-vente {
    flex-wrap: wrap;
    height: auto;
  }

  .seller-point {
    width: 100%;
    order: 2;
    align-items: center;
    height: 745px;
  }

  .map-point {
    width: 100%;
  }

  .map-point .mapouter,
  .map-point .gmap_canvas {
    height: 500px;
  }

  .seller-time .seller-time-wrap {
    flex-wrap: nowrap;
}

.points-de-vente .gm-style-iw.gm-style-iw-c {
  max-width: 280px !important;
}
}

@media only screen and (max-width: 430px) {
  /* Chrome, Edge, and Safari */
  .seller-point::-webkit-scrollbar {
    width: 10px;
  }

  .map-point .mapouter,
  .map-point .gmap_canvas {
    height: 404px;
  }

  .points-de-vente {
    justify-content: center;
  }

  .seller-point {
    width: 314px;
  }

  .seller-point .adresse-box {
    width: 91.5%;
  }

  .seller-point {
    align-items: start;
  }

  .seller-point .adresse-box h4 {
    padding: 20px 35px 10px;
  }

  .seller-point .adresse-box .seller-time {
    font-size: 14px;
    line-height: 20px;
    padding: 10px 35px;
  }

  .address-details-wrap {
    padding: 12px 35px 15px;
  }

  .seller-logo {
    margin: 24px 0 18px;
  }

  .address-details-wrap .contact-wrapar a {
    padding: 7px 24px;
    border-radius: 15px;
  }

  .address-details-wrap .contact-wrapar a:last-child {
    margin-top: 10px;
  }

  .seller-time-wrap span:first-child {
    max-width: 72px;
}
}

@media only screen and (max-width: 350px) {
  .seller-point .adresse-box h4 {
    padding: 20px 15px 10px;
  }

  .seller-point .adresse-box .seller-time {
    padding: 10px 15px;
  }

  .address-details-wrap {
    padding: 12px 15px 15px;
  }
}

.je-m’inscris-form .main-popup {
  border-radius: 15px;
  background-color: #f3f3f3;
}

.je-m’inscris-form .hs_error_rollup {
  position: relative;
  left: 0;
}

.je-m’inscris-form .main-popup-close {
  top: 15px;
}
