/* Martek Find Store Widget Styles */
#find-store {
  max-width: 100%;
}

.local-store * {
  box-sizing: border-box;
}

.local-store {
  display: block;
}

.local-store__search-box {
  background: #FDCC0C;
  padding: 8px 10px;
  border-top-left-radius: .75rem;
  border-top-right-radius: .75rem;
}

.local-store form {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.local-store__form-item {
  position: relative;
}

.local-store__form-item input[type=text] {
  width: 100%;
  padding: 0 35px 0 10px;
  height: 34px;
  border: 1px solid #fff;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  outline: none;
  margin: 0;
  box-shadow: none;
  appearance: none;
  color: #333;
  vertical-align: middle;
}

.local-store__form-item [type=submit],
.local-store__form-item .btn-search-icon {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border: 0;
  background: transparent;
  overflow: hidden;
  width: 35px;
  cursor: pointer;
  min-height: auto;
  outline: none;
  margin: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.local-store__form-item [type=submit] svg,
.local-store__form-item .btn-search-icon svg {
  width: 16px;
  height: 16px;
  fill: #333;
}

.local-store__form-item select {
  width: 100%;
  border: 1px solid #fff;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.95);
  height: 32px;
  padding: 0 8px;
  font-size: 13px;
  outline: none;
  margin: 0;
  box-shadow: none;
  color: #333;
}

.local-store__form-item.form-item-search {
  margin-bottom: 6px;
  width: 100%;
}

.local-store__form-item.form-item-city {
  width: 50%;
  padding-right: 3px;
}

.local-store__form-item.form-item-district {
  width: 50%;
  padding-left: 3px;
}

.local-store__search-wrap {
  width: 100%;
  margin-bottom: 0;
}

.local-store__search-result {
  overflow-y: auto;
  background: #fff;
  padding: 6px 4px;
  border-bottom-left-radius: .75rem;
  border-bottom-right-radius: .75rem;
}

.local-store__search-result::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.local-store__search-result::-webkit-scrollbar-thumb {
  background-color: #aaa;
  border-radius: 10px;
}

.local-store__search-result::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.local-store__box-item {
  margin-bottom: 10px;
  display: flex;
  padding: 8px;
  cursor: pointer;
  border-bottom: 1px dashed #e5e5e5;
  transition: background 0.15s ease-in-out;
}

.local-store__box-item:hover {
  background-color: #f8fafc;
}

.local-store__box-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.local-store__image {
  line-height: 0;
  width: 32%;
  padding-right: 10px;
  flex-shrink: 0;
}

.local-store__image img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  border-radius: 4px;
}

.local-store__box-info {
  width: 68%;
  line-height: 1.35;
}

.local-store__info-name {
  font-size: 14px;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: #1e293b;
}

.local-store__address {
  font-size: 12px;
  padding: 0;
  margin: 0 0 4px;
  list-style: none;
  color: #475569;
}

.local-store__address li {
  margin-bottom: 4px;
  display: flex;
  align-items: flex-start;
}

.local-store__address li:last-child {
  margin-bottom: 0;
}

.local-store__address li svg {
  margin-right: 6px;
  margin-top: 2px;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.local-store__action a {
  color: #0078A8;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.local-store__action a svg {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}

.local-store__action a:hover {
  color: #e6b800;
}

/* Footer integration overrides */
.c-footer .local-store {
  height: 320px;
  overflow: hidden;
  background-color: #fff;
  border-radius: .75rem;
}

.c-footer .local-store__search-wrap {
  width: 100% !important;
  margin-bottom: 0 !important;
}

.c-footer .local-store__search-result {
  height: 236px !important;
  overflow-y: auto !important;
}

.c-footer #local-map {
  display: none !important;
}
