.bb-stores {
  width: 100%;
}

.bb-stores__filters {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: clamp(15px, 3vw, 50px);
}

.bb-filter-wrapper {
  display: flex;
}

.bb-stores__reset-btn {
  appearance: none;
  cursor: pointer;
  margin-left: 10px;
  border: 1px solid #e7b53e;
}

.bb-stores__location-btn,
.bb-stores__more-btn,
.bb-stores__location-btn:hover,
.bb-stores__reset-btn:hover,
.bb-stores__more-btn:hover {
  appearance: none;
  cursor: pointer;
  border: 1px solid #FFFFFF;
}

.bb-stores__details-btn {
  padding: 0;
  appearance: none;
  color: #e7b53e;
  border: none;
  background-color: transparent;
  text-decoration: underline;
  cursor: pointer;
  line-height: 1.2;
  text-transform: uppercase;
  font-size: clamp(14px, 0.833vw, 16px);
}

.bb-stores__location {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bb-stores__location-input {
  min-width: 240px;
  padding: 6px 10px;
  border: 1px solid #ccc;
}

.bb-stores__body {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 16px;
  min-height: 520px;
}

.bb-stores__list {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bb-stores__status {
  padding: 6px 0;
  opacity: .8;
}

.bb-stores__items {
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding-right: 8px;
}

.bb-store:not(:last-of-type) {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #00000033;
}

.bb-store__title {
  font-weight: 600;
  color: #294E90;
  margin-top: 0;
}

.bb-stores__card {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  padding: 12px;
  color: #202A3B;
}

.bb-stores__card-title {
  font-weight: 700;
}

.bb-stores__card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.bb-stores__card p {
  margin: 0 0 6px;
}

.bb-stores__meta {
  font-size: 13px;
  opacity: .85;
}

.bb-store__contacts,
.bb-store__hours {
  font-size: 16px;
}

.bb-store__contacts a:hover {
  color: #294E90 !important;
}

.bb-stores__more {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.bb-stores__map {
  border: 1px solid rgba(0, 0, 0, .08);
  overflow: hidden;
  min-height: 520px;
}

.bb-stores__map-canvas {
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.bb-stores__card-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.bb-stores__details-panel {
  padding-left: 0.8em;
  margin-top: 8px;
  opacity: .9;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: clamp(14px, 0.833vw, 16px);
}

.bb-stores__details-panel strong {
  font-weight: 500;
}

.bb-stores__details-panel a {
  text-decoration: underline;
}

.bb-stores__details-panel[hidden] {
  display: none !important;
}

.bb-store__contacts {
  margin-top: 15px;
}

.bb-store__hours {
  display: flex;
  align-items: flex-start;
  margin-top: 4px;
}

.bb-store__hours strong {
  flex-shrink: 0;
  margin-right: 5px;
}

.bb-store__hours span {
  display: block;
  flex: 1;
  line-height: 1.4;
}

/* Tooltip personalizzato */
.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  max-height: none !important;
}

.gm-style .gm-ui-hover-effect {
  top: 2px !important;
  right: 2px !important;
  background: white !important;
  border-radius: 50% !important;
  opacity: 0.8 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  max-height: none !important;
}

.gm-style .gm-ui-hover-effect {
  top: 6px !important;
  right: 6px !important;
  width: 20px !important;
  height: 20px !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  opacity: 0.6 !important;
  box-shadow: none !important;
}

.gm-style .gm-ui-hover-effect>span {
  width: 14px !important;
  height: 14px !important;
  margin: 3px !important;
}

.gm-style .gm-ui-hover-effect:hover {
  opacity: 1 !important;
}

.bb-map-card {
  padding: 18px 30px 18px 18px;
  min-width: 240px;
  font-family: inherit;
  color: #333;
  position: relative;
}

.bb-map-card__title {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #1d4d96;
}

.bb-map-card__addr {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.4;
}

.bb-map-card__btn {
  display: inline-block;
  padding: 6px 14px;
  background-color: #e7b53e;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid #e7b53e;
  transition: all 0.2s ease;
}

.bb-map-card__btn:hover {
  background-color: #ffffff;
  color: #e7b53e !important;
  border-color: #e7b53e;
}

@media (max-width: 1440px) {

  .bb-store__contacts,
  .bb-store__hours {
    font-size: 14px;
  }
}

@media (max-width: 800px) {
  .bb-stores__body {
    grid-template-columns: 1fr;
  }

  .bb-stores__list {
    order: 2;
  }

  .bb-stores__map {
    order: 1;
  }
}

@media (max-width: 767px) {

  .bb-store__contacts,
  .bb-store__hours {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .bb-filter-wrapper {
    display: none;
  }

  .bb-stores__location {
    width: 100%;
  }

  .bb-stores__location-input {
    min-width: auto;
    flex: 1 1 auto;
  }
}