/********************************
**********.  MAP ****************
********************************/

.pos-gallery__img {
  height: 400px !important;
  object-fit: cover;
  width: 20%;
  border-left: 5px white solid;
  border-right: 5px white solid;
}

.pos-map-layout {
  display: flex;
  gap: 20px;
}
#pos-map-layout {
  display: flex;
  gap: 20px;
}

#pos-map {
  height: 850px;
  width: 1180px;
}

#pos-map-wrapper {
  position: relative;
}

#pos-map-panel {
  position: absolute;
  top: 20px;
  left: 60px;
  width: 420px;
  max-height: calc(100% - 40px);
  background: #fff;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 30px;
  z-index: 1000;
  transition: all 0.5s ease;
}

#pos-map-panel.is-hidden {
  opacity: 0;
  transform: translateX(-20px);
  pointer-events: none;
}

#pos-listing {
  overflow-y: auto;
  max-height: 650px;
}

.pos-item {
  padding: 16px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  background-color: white;
  transition: all ease 500ms;
  border-left: 4px solid var(--grey);
  position: relative;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pos-item.is-active,
.pos-item:hover {
  background-color: var(--light-grey);
  border-left: 4px solid var(--primary);
}

.pos-item.is-active h4,
.pos-item.is-active p,
.pos-item:hover h4,
.pos-item:hover p {
  color: var(--grey);
}

.pos-item h4 {
  margin-bottom: 5px;
}

.pos-item.agence p {
  margin-bottom: 0 !important;
}

.panel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
}

#pos-listing-wrapper {
  position: relative;
  flex: 1 1 auto;
}

#pos-listing-loader {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#pos-listing-loader.is-hidden {
  display: none;
}

.loader {
  width: 28px;
  height: 28px;
  border: 3px solid #ddd;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.dept-title {
  color: var(--darkYellow);
}

#pos-map {
  transform: none !important;

  margin: 0 !important;
  padding: 0 !important;
}

.pos-card {
  padding: 20px;
}

.pos-card-header {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
}

.pos-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
  background: #f5f5f5;
  padding: 5px;
}

.pos-title-block h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 300;
}

.pos-badge-opening {
  margin-top: 5px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: auto;
  padding: 8px;
  margin-bottom: 10px;
}

.pos-hours {
  margin-top: 15px;
}

.pos-hours-grid {
  display: flex;

  gap: 4px 10px;
  font-size: 14px;
}

.pos-day {
  font-weight: 600;
}

.pos-card .jour strong {
  min-width: 80px;
}

.pos-google-badge {
  margin-top: 15px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 12px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.pos-stars {
  color: #fbbc04;
  font-size: 12px;
}

.pos-button {
  display: block;
  margin-top: 15px;
  text-align: center;
  background: #111;
  color: #fff;
  padding: 10px;
  text-decoration: none;
}

.pos-card .agence-horaires-semaine {
  margin-left: 0;
  padding-left: 0px;
  width: 100%;
}

.pos-card .agence-horaires-semaine li {
  list-style: none;
  display: flex;
  gap: 5px;
  font-size: 12px !important;
}

.pos-card h4 {
  font-size: 18px;
  margin-bottom: 10px !important;
}

.pov-star {
  width: 14px;
  height: 14px;
  margin-right: 0px;
}

.pov-stars {
  display: flex;
  align-items: center;
}

.pos-google-badge .google_logo {
  width: 40px;
}

.pos-marker-label {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: -8px !important;
  font-weight: 600;
}

.pos-marker-label::before {
  content: none !important;
}
