/* ==========================================================================
   Usha Room Heaters - Store Locator Styles
   Theme Color: #dd4f34 (Primary Brand Red/Orange)
   Fonts & Styling aligned with Usha Room Heaters Theme
   ========================================================================== */

.store-navigator-page {
  position: relative;
  width: 100%;
  background: #f8f9fa;
  box-sizing: border-box;
}

.store-navigator-container {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  min-height: 640px !important;
  position: relative !important;
  background: #ffffff !important;
  border-top: 1px solid #e8e8e8 !important;
  box-sizing: border-box !important;
}

.find-store-navegator {
  order: 1 !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 440px !important;
  min-width: 360px !important;
  max-width: 480px !important;
  background: #ffffff !important;
  z-index: 5 !important;
  overflow-y: auto !important;
  height: 640px !important;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.06) !important;
  border-right: 1px solid #e8e8e8 !important;
  border-left: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.locator-map-wrap {
  order: 2 !important;
  position: relative !important;
  flex: 1 !important;
  min-height: 640px !important;
  height: 640px !important;
  background: #eaeaea !important;
}

.locator-map-wrap #map {
  width: 100% !important;
  height: 100% !important;
  min-height: 640px !important;
}

.locator-map-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #555555;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  pointer-events: none;
  display: none;
  z-index: 10;
}

.store-container {
  padding: 28px 24px 32px 24px !important;
  box-sizing: border-box !important;
}

.store-container h3 {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #dd4f34 !important;
  margin: 0 0 20px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
}

.store-container .navigation-menu {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
  border-bottom: 2px solid #e8e8e8 !important;
  gap: 22px !important;
}

.store-container .navigation-menu li {
  margin: 0 !important;
  padding: 0 !important;
  margin-bottom: -2px !important;
  list-style: none !important;
  float: none !important;
}

.store-container .navigation-menu li a {
  display: inline-block !important;
  padding: 6px 2px 10px 2px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #666666 !important;
  text-decoration: none !important;
  border-bottom: 3px solid transparent !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.store-container .navigation-menu li.active a,
.store-container .navigation-menu li a:hover {
  color: #dd4f34 !important;
  border-bottom: 3px solid #dd4f34 !important;
}

.store-container h4#store_count {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #444444 !important;
  margin: 12px 0 8px 0 !important;
  line-height: 1.4 !important;
}

.locator-toolbar {
  margin-bottom: 10px;
}

.locator-retry {
  background: #dd4f34;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.locator-retry:hover {
  background: #c9422a;
}

.locator-status {
  font-size: 13px;
  color: #666666;
  margin: 4px 0 10px 0;
}

.locator-loading {
  font-size: 13px;
  color: #dd4f34;
  font-weight: 600;
  margin-bottom: 10px;
}

.locator-loading[hidden],
.locator-loading.is-hidden {
  display: none !important;
}

.store-container .select-store {
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
  border: none !important;
}

.store-container .select-store .form-group {
  margin-bottom: 14px !important;
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

.store-container .select-store .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.store-container .select-store select,
.store-container .select-store input[type="text"] {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 14px;
  color: #333333;
  background-color: #ffffff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.store-container .select-store select:focus,
.store-container .select-store input[type="text"]:focus {
  border-color: #dd4f34;
  box-shadow: 0 0 0 2px rgba(221, 79, 52, 0.15);
}

/* City combobox */
.city-combobox-field {
  position: relative;
  width: 100%;
}

.city-combobox-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.city-combobox-trigger:focus,
.city-combobox-trigger[aria-expanded="true"] {
  border-color: #dd4f34;
}

.city-combobox-caret {
  border: solid #555555;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-left: 8px;
}

.city-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 100;
  max-height: 240px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.city-dropdown-search {
  padding: 8px;
  border-bottom: 1px solid #eeeeee;
  background: #fafafa;
}

.city-dropdown-search input {
  width: 100%;
  height: 34px !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
}

.city-dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  max-height: 180px;
}

.city-dropdown-list li {
  padding: 9px 12px;
  font-size: 13px;
  color: #333333;
  cursor: pointer;
  border-bottom: 1px solid #f3f3f3;
  transition: background 0.15s;
}

.city-dropdown-list li:hover,
.city-dropdown-list li.is-selected {
  background: #fdf1ef;
  color: #dd4f34;
  font-weight: 600;
}

.city-dropdown-empty {
  padding: 12px;
  font-size: 13px;
  color: #888888;
  text-align: center;
}

/* Store Cards Listing */
.filter-content {
  margin-top: 14px;
}

.filter-list {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-left: 4px solid #dd4f34 !important;
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 12px;
  margin-left: 0 !important;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.filter-list::before {
  display: none !important;
}

.filter-list:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  border-color: #dd4f34;
}

.filter-list.active-store-card {
  background: #fdf7f6;
  border-left: 4px solid #dd4f34 !important;
  box-shadow: 0 3px 10px rgba(221, 79, 52, 0.15);
}

.filter-list h5,
.filter-list h2,
.StoreContentHeader h2 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #222222 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
}

.filter-list p {
  font-size: 13px !important;
  color: #555555 !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.4 !important;
}

.filter-list p strong {
  color: #333333;
}

.filter-list a {
  color: #dd4f34;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.filter-list a:hover {
  text-decoration: underline;
}

.filter-list .distance-badge {
  display: inline-block;
  background: #f0f0f0;
  color: #444444;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.filter-list .store-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e8e8e8;
}

.filter-list .store-actions a {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: #dd4f34;
  font-weight: 600;
}

/* InfoWindow styling on Map */
.gm-style .gm-style-iw-c {
  padding: 12px 14px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.gm-style .gm-style-iw-d {
  overflow: auto !important;
}

.gm-style-iw h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #222222 !important;
  margin: 0 0 4px 0 !important;
}

.gm-style-iw p {
  font-size: 12px !important;
  color: #555555 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.35 !important;
}

.gm-style-iw a {
  color: #dd4f34 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-decoration: none !important;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .store-navigator-container {
    flex-direction: column-reverse !important;
  }
  .locator-map-wrap {
    min-height: 380px !important;
    height: 380px !important;
    flex: 1 1 100% !important;
  }
  .find-store-navegator {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    height: auto !important;
    max-height: none !important;
  }
}
