:root {
  --text-grey: #8a8a8a;
  --text-black: #000;

  --icon-black: #0000003a;
  --icon-grey: #888;

  --font-sarabun: Sarabun;
}

body#module-lvd_advancedcms-storelocator .breadcrumb {
  margin-bottom: 0;
}

/********** TITRES/TEXTES *******/
#page-storelocator.store h1,
#page-storelocator.stores h1 {
  color: var(--dark);
  font-family: var(--font-sarabun);
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 40px;
}

#page-storelocator.store h1 {
  margin: 50px 0;
}

.description-page-store h2 {
  color: var(--dark);
  font-family: var(--font-sarabun);
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 20px;
}

.description-page-store h3 {
  color: var(--dark);
  font-family: var(--font-sarabun);
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 20px;
}

/********** ADRESSES *******/
#page-storelocator.store .store-info address,
#page-storelocator.store .store-info p {
  color: var(--dark);
  font-family: var(--font-sarabun);
  font-size: 16px;
  font-style: normal;
  line-height: normal;
  font-weight: 700;
}

.store-address {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.store-address p {
  margin-bottom: 0;
}

.store-address .icon-location {
  font-size: 16px;
  color: var(--icon-grey);
}

#page-storelocator.store .store-info p:not(.store-address p),
#page-storelocator.store .store-info .store-address {
  padding: 0;
  margin-bottom: 5px;
}

#page-storelocator.store .store-info p:first-child {
  margin-bottom: 22px;
}
/********** RECHERCHE *******/

#page-storelocator .search-container {
  margin-bottom: 50px;
}

#page-storelocator .input-field {
  width: 100%;
  padding: 10px;
  text-align: center;
}

#page-storelocator .form-control {
  border: 1px solid #ddd;
  border-radius: 4px;
}

#page-storelocator .input-icons {
  position: relative;
}

#page-storelocator .input-icons input {
  height: 41px;
  padding-left: 28px;
}

#page-storelocator select#radius-select.form-control {
  height: 41px;
  color: var(--text-grey);
  display: flex;
  align-items: center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--white) url("../img/storelocator/arrow-down-select.svg")
    no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 30px;
}

#page-storelocator .input-icons i.icon-marker-dot {
  background: url("../img/storelocator/marker-dot-dfdfdf.svg") no-repeat;
  width: 16px;
  height: 16px;
  padding: 0 2px;
  position: absolute;
  left: 12px;
  top: 13px;
}

#page-storelocator .search-container label {
  color: var(--text-black);
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  max-height: 20px;
  margin: 0;
}

/********** MAP *******/
#page-storelocator #store-map {
  width: 100%;
  height: 359px;
  border-radius: 8px;
  /* height: 750px; */
}

/********** STORE LISTING *******/
#page-storelocator .store-listing {
  margin-top: 22px;
}

#page-storelocator .store-listing .store-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 55px;
}

#page-storelocator .store-listing .store-card:last-child {
  margin-bottom: 0;
}

#page-storelocator .store-listing .store-card.hidden {
  display: none !important;
}

#page-storelocator .store-listing .store-title,
#page-storelocator .store-address {
  font-family: var(--font-sarabun);
  color: var(--dark);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 15px;
}

.store-buttons {
  display: flex;
  gap: 10px;
}

/********** STORE CONTAINER *******/
#page-storelocator.stores .store-locator-container {
  background: var(--white);
  padding: 20px;
  margin-bottom: 50px;
  border-radius: 5px;
}

#page-storelocator.store .store-locator-container {
  background: var(--white);
  padding: 20px;
  margin-top: 50px;
  border-radius: 5px;
}

.description-page-store .container {
  padding: 50px 0;
}

/********** IMAGE *******/
#page-storelocator.store .store-image {
  min-width: 100%;
}

/********** LINK RETURN *******/
#page-storelocator.store a.link-return {
  color: var(--dark);
  font-family: var(--font-sarabun);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: block;
  margin: 10px 0 50px 0 !important;
}

#page-storelocator.store p a:hover,
#page-storelocator.store a.link-return:hover {
  color: var(--text-grey);
}

/********** MORE INFO *******/
.more-info-btn {
  border-radius: 5px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  font-family: var(--font-sarabun);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  padding: 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-height: 45px;
  transition: all 0.3s ease-in-out;
}

.more-info-btn:hover {
  color: var(--white);
}
/********** BTN GOOGLE *******/
.google-btn {
  background-color: transparent;
  border: 1px solid #2c2c2c;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  width: 120px;
  height: 45px;
  min-width: 120px;
}

.google-btn img {
  width: 55px;
  height: auto;
}

.google-btn:hover {
  background-color: #f8f8f8;
  border-color: #1f1f1f;
}

/********** ICONS *******/
#page-storelocator i.icon-marker-dot {
  background: url("../img/storelocator/marker-dot-8a8a8a.svg") no-repeat;
  display: flex;
  width: 13.333px;
  height: 13.333px;
  padding: 0px 1.667px;
  justify-content: center;
  align-items: center;
}

/***************************************/
/* PAS DE MAQUETTE
/***************************************/
.btn-store-share {
  border: none;
  font-weight: normal;
  font-size: 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.share-modal {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 450px;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.share-header h3 {
  font-size: 18px;
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.share-tabs {
  display: flex;
  border-bottom: 2px solid #ddd;
  margin-bottom: 20px;
}

.tab-button {
  flex: 1;
  padding: 10px;
  background: #f9f9f9;
  border: none;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
  border-bottom: 6px solid #929292;
}

.tab-button.active {
  background: transparent;
  color: var(--dark);
  border-bottom: 6px solid #4285f4;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.share-content {
  margin-bottom: 15px;
}

.share-content p {
  margin: 5px 0;
  font-size: 14px;
  color: #333;
}

.share-content input,
.share-content textarea {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 10px 0;
  font-size: 14px;
}

textarea#embed-code {
  width: 100% !important;
}

.copy-link {
  background: transparent;
  color: #4285f4;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 0 auto;
  display: block;
}

.copy-link:hover {
  color: #0056b3;
}

.share-icons {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.share-icons a {
  font-size: 50px;
  cursor: pointer;
  transition: transform 0.3s;
}

.share-icons a:first-child {
  color: #25d366;
}

.share-icons a:last-child {
  color: #0b57d0;
}

.share-icons a:hover {
  transform: scale(1.1);
}

/***************************************/
.store .store-popup {
  background: white;
  max-width: 301px;
  padding: 15px;
  border-radius: 4px;
  text-align: left;
  font-family: var(--font-sarabun);
  position: relative;
  top: 10px;
  overflow: hidden;
}

.store .btn-store-share {
  border: none;
  font-weight: normal;
  font-size: 15px;
  height: 45px;
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 0;
}

.store .gm-style .gm-style-iw-d {
  overflow: hidden;
}

.stores .store-popup {
  background: white;
  max-width: 301px;
  min-height: 250px;
  border-radius: 4px;
  text-align: left;
  font-family: var(--font-sarabun);
  position: relative;
  top: 10px;
}

.store-popup .map-parc {
  background: var(--text-blue);
  color: var(--white);
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}

.store-popup .departement {
  color: #666;
  font-size: 14px;
  margin: 0;
  padding: 5px 15px;
  border-bottom: 1px solid #eee;
}

.store-popup p {
  margin: 0;
  padding: 5px 15px;
  font-size: 14px;
  line-height: 1.4;
}

.store-popup img {
  width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
}

.store-popup .btn-secondary {
  display: block;
  background: #4a4a4a;
  color: white;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  margin: 10px 15px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
}

.store-popup .close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 8px;
  background: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  border-radius: 0 4px 0 0;
  z-index: 1;
}

.gm-style-iw-t {
  bottom: 53px !important;
}

.gm-style-iw.gm-style-iw-c {
  background: transparent;
  box-shadow: none;
}

.gm-style-iw-tc:after {
  top: -12px !important;
}

.gm-style-iw-chr {
  display: none;
}

@media (max-width: 767px) {
  #page-storelocator.store .store-info.hours {
    margin: 30px 0;
  }
}

@media (max-width: 1140px) {
  #page-storelocator.store h1 {
    margin: 10px 0 50px 0;
    text-align: center;
  }

  #page-storelocator.stores h1 {
    margin: 10px 0 40px 0;
    text-align: center;
  }

  #page-storelocator.store a.link-return,
  #page-storelocator.store .store-info address.store-address,
  #page-storelocator.store .store-info {
    justify-content: center;
    text-align: center;
  }

  #page-storelocator.store .store-locator-container {
    margin-top: 0;
  }

  #page-storelocator.stores .store-buttons {
    justify-content: center;
    margin-top: 30px;
  }

  #page-storelocator.stores .search-container .row div:first-child {
    margin-bottom: 35px;
  }

  #page-storelocator .store-address {
    margin-bottom: 0;
  }

  #page-storelocator .store-listing .store-card {
    margin-bottom: 50px;
  }
}
