/*===========================
      STORE LOCATOR css
===========================*/
.store-locator-page {
  --store-red: #e10a18;
  --store-red-dark: #bd0713;
  --store-ink: #101823;
  --store-navy: #07111d;
  --store-muted: #67717d;
  --store-border: #e8edf3;
  --store-panel: #f7f9fc;
  --store-shadow: 0 16px 40px rgba(16, 24, 35, 0.09);
  --store-soft-shadow: 0 10px 28px rgba(16, 24, 35, 0.07);
  background: #ffffff;
}

.store-locator-page .header_navbar {
  z-index: 1000;
}

.store-main {
  padding-top: 78px;
  background: #ffffff;
}

.store-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--store-navy);
  isolation: isolate;
}

.store-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 10, 18, 0.98) 0%, rgba(5, 13, 24, 0.94) 25%, rgba(5, 13, 24, 0.72) 46%, rgba(5, 13, 24, 0.22) 72%, rgba(5, 13, 24, 0.05) 100%),
    linear-gradient(180deg, rgba(7, 17, 29, 0.04) 0%, rgba(7, 17, 29, 0.38) 100%);
}

.store-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: flex-end;
}

.store-hero-media img {
  width: 74%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.01);
}

.store-hero .container {
  position: relative;
  z-index: 2;
}

.store-hero-content {
  max-width: 620px;
  padding: 45px 0 35px;
  color: #ffffff;
  animation: storeFadeUp 720ms ease both;
}

.store-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 600;
}

.store-breadcrumb a {
  color: #ffffff;
}

.store-breadcrumb i {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.store-hero h1 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 43px;
  line-height: 1.12;
  font-weight: 800;
}

.store-hero p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.6;
}

.store-search {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 26px;
  max-width: 610px;
}

.store-search-field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.store-search-field > i {
  position: absolute;
  top: 50%;
  left: 19px;
  transform: translateY(-50%);
  color: var(--store-red);
  font-size: 20px;
  pointer-events: none;
}

.store-search input {
  width: 100%;
  height: 54px;
  padding: 0 54px 0 49px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--store-ink);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.store-search input::placeholder {
  color: #9aa3ad;
  font-weight: 500;
}

.detect-location-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f4f7fb;
  color: var(--store-ink);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.detect-location-btn:hover,
.detect-location-btn:focus {
  background: #fff1f2;
  color: var(--store-red);
  transform: translateY(-1px);
}

.find-nearby-button {
  min-width: 168px;
  height: 54px;
  border: 0;
  border-radius: 8px;
  background: var(--store-red);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(225, 10, 24, 0.26);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.find-nearby-button:hover,
.find-nearby-button:focus {
  background: var(--store-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 22px 38px rgba(225, 10, 24, 0.3);
}

.store-feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 29px;
  max-width: 640px;
}

.store-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-right: 18px;
  color: #ffffff;
}

.store-feature + .store-feature {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.store-feature i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 17px;
}

.store-feature span {
  display: block;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 800;
}

.store-content {
  padding: 25px 0 58px;
  background: #ffffff;
}

.store-status {
  min-height: 22px;
  margin-bottom: 10px;
  color: var(--store-muted);
  font-size: 14px;
  font-weight: 600;
}

.store-status.is-error {
  color: var(--store-red);
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(430px, 1.32fr) minmax(360px, 0.9fr) minmax(246px, 0.55fr);
  gap: 22px;
  align-items: start;
}

.results-panel {
  min-width: 0;
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.results-summary {
  margin: 0;
  color: var(--store-ink);
  font-size: 16px;
  font-weight: 700;
}

.results-summary span {
  color: var(--store-red);
}

.sort-control {
  position: relative;
  flex: 0 0 162px;
}

.sort-control label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sort-control select {
  width: 100%;
  height: 40px;
  padding: 0 37px 0 14px;
  border: 1px solid var(--store-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--store-ink);
  font-size: 13px;
  font-weight: 800;
  appearance: none;
  cursor: pointer;
}

.sort-control::after {
  content: "\f107";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: var(--store-ink);
  font-family: FontAwesome;
  pointer-events: none;
}

.store-list {
  display: grid;
  gap: 12px;
}

.branch-card {
  display: grid;
  grid-template-columns: 34px 124px minmax(0, 1fr) 88px 24px;
  align-items: center;
  gap: 14px;
  min-height: 119px;
  padding: 12px 14px 12px 12px;
  border: 1px solid var(--store-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 35, 0.04);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  animation: storeFadeUp 420ms ease both;
}

.branch-card:hover,
.branch-card:focus-within,
.branch-card.is-active {
  border-color: rgba(225, 10, 24, 0.34);
  box-shadow: var(--store-soft-shadow);
  transform: translateY(-2px);
}

.branch-number {
  align-self: start;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--store-red);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.branch-thumb {
  width: 124px;
  height: 84px;
  border-radius: 6px;
  overflow: hidden;
  background: #e7ebf1;
}

.branch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.branch-body {
  min-width: 0;
}

.branch-body h2 {
  margin: 0 0 8px;
  color: var(--store-ink);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.branch-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
  color: #303b48;
  font-size: 13px;
  line-height: 1.35;
}

.branch-line i {
  width: 15px;
  margin-top: 2px;
  color: var(--store-ink);
  text-align: center;
  font-size: 13px;
}

.branch-hours {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.branch-distance {
  align-self: start;
  margin-top: 6px;
  color: var(--store-red);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.branch-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.branch-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(225, 10, 24, 0.52);
  border-radius: 7px;
  background: #ffffff;
  color: var(--store-red);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.branch-directions:hover,
.branch-directions:focus {
  border-color: var(--store-red);
  background: var(--store-red);
  color: #ffffff;
}

.branch-open-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 67px;
  height: 24px;
  border-radius: 999px;
  background: #edf8f2;
  color: #187347;
  font-size: 11px;
  font-weight: 900;
}

.branch-open-badge.is-closed {
  background: #fff1f2;
  color: var(--store-red);
}

.branch-detail-btn {
  width: 28px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--store-ink);
  cursor: pointer;
  font-size: 22px;
  transition: color 180ms ease, transform 180ms ease;
}

.branch-detail-btn:hover,
.branch-detail-btn:focus {
  color: var(--store-red);
  transform: translateX(2px);
}

.empty-state {
  padding: 30px;
  border: 1px dashed #d8dfe8;
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--store-muted);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.view-more-wrap {
  margin-top: 12px;
  text-align: center;
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 42px;
  padding: 0 21px;
  border: 1px solid rgba(225, 10, 24, 0.55);
  border-radius: 8px;
  background: #ffffff;
  color: var(--store-red);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.view-more-btn:hover,
.view-more-btn:focus {
  background: var(--store-red);
  color: #ffffff;
  transform: translateY(-1px);
}

.map-panel,
.benefits-panel {
  position: sticky;
  top: 96px;
}

.map-shell {
  min-height: 462px;
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: #f0f5ee;
  box-shadow: var(--store-soft-shadow);
}

.store-map {
  position: relative;
  height: 462px;
  overflow: hidden;
  background:
    linear-gradient(32deg, transparent 0 47%, rgba(141, 160, 189, 0.55) 48% 50%, transparent 51% 100%),
    linear-gradient(108deg, transparent 0 42%, rgba(141, 160, 189, 0.42) 43% 45%, transparent 46% 100%),
    linear-gradient(155deg, transparent 0 58%, rgba(141, 160, 189, 0.46) 59% 61%, transparent 62% 100%),
    #eef4ea;
}

.store-map::before {
  content: "";
  position: absolute;
  inset: -28px;
  background:
    linear-gradient(90deg, rgba(209, 218, 229, 0.75) 1px, transparent 1px),
    linear-gradient(0deg, rgba(209, 218, 229, 0.72) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: rotate(-8deg);
  opacity: 0.7;
}

.store-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 21% 18%, rgba(149, 207, 137, 0.34) 0 42px, transparent 44px),
    radial-gradient(circle at 84% 30%, rgba(149, 207, 137, 0.26) 0 52px, transparent 54px),
    radial-gradient(circle at 79% 76%, rgba(149, 207, 137, 0.22) 0 64px, transparent 66px);
  pointer-events: none;
}

.map-road {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: rgba(137, 158, 188, 0.64);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.map-road-a {
  left: -10%;
  top: 54%;
  width: 126%;
  height: 10px;
  transform: rotate(-28deg);
}

.map-road-b {
  left: 20%;
  top: -10%;
  width: 11px;
  height: 118%;
  transform: rotate(-12deg);
}

.map-road-c {
  right: -18%;
  top: 23%;
  width: 116%;
  height: 9px;
  transform: rotate(24deg);
}

.map-ring {
  position: absolute;
  z-index: 2;
  left: 47%;
  top: 52%;
  width: 96px;
  height: 96px;
  border: 8px solid rgba(92, 111, 139, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.26);
}

.map-label {
  position: absolute;
  z-index: 3;
  color: #25313f;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.map-label-borrowdale {
  left: 15%;
  top: 20%;
}

.map-label-avondale {
  left: 58%;
  top: 23%;
}

.map-label-mabelreign {
  left: 15%;
  top: 51%;
}

.map-label-harare {
  left: 49%;
  top: 70%;
}

.map-label-southerton {
  left: 19%;
  top: 84%;
}

.map-marker {
  position: absolute;
  z-index: 8;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50% 50% 50% 0;
  background: var(--store-red);
  color: #ffffff;
  cursor: pointer;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 10px 20px rgba(225, 10, 24, 0.24);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.map-marker span {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  font-size: 13px;
  font-weight: 900;
}

.map-marker:hover,
.map-marker:focus,
.map-marker.is-active {
  background: #142130;
  transform: translate(-50%, -100%) rotate(-45deg) scale(1.08);
  box-shadow: 0 16px 30px rgba(20, 33, 48, 0.32);
}

.map-marker.is-active::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(225, 10, 24, 0.45);
  border-radius: 50%;
  animation: storePulse 1200ms ease-out infinite;
}

.map-empty {
  position: absolute;
  z-index: 9;
  left: 50%;
  top: 50%;
  width: min(280px, calc(100% - 40px));
  padding: 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--store-muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: var(--store-soft-shadow);
}

.benefits-panel {
  color: var(--store-ink);
}

.benefits-card {
  padding: 8px 0 0;
}

.benefits-card h2 {
  margin: 0 0 21px;
  color: var(--store-ink);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 900;
}

.benefit-list {
  display: grid;
  gap: 22px;
}

.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(225, 10, 24, 0.18);
  border-radius: 50%;
  background: #fff6f7;
  color: var(--store-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(225, 10, 24, 0.08);
}

.benefit-item h3 {
  margin: 1px 0 3px;
  color: var(--store-ink);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 900;
}

.benefit-item p {
  margin: 0;
  color: #4f5b68;
  font-size: 13px;
  line-height: 1.52;
}

.support-box {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 27px;
  padding: 16px;
  border: 1px solid #bfc8d5;
  border-radius: 8px;
  color: var(--store-ink);
  background: #ffffff;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.support-box:hover,
.support-box:focus {
  color: var(--store-ink);
  border-color: var(--store-red);
  box-shadow: var(--store-soft-shadow);
  transform: translateY(-1px);
}

.support-box i {
  width: 38px;
  color: var(--store-ink);
  font-size: 33px;
  text-align: center;
}

.support-box strong {
  display: block;
  margin-bottom: 2px;
  color: var(--store-ink);
  font-size: 13px;
  font-weight: 900;
}

.support-box span {
  color: #4f5b68;
  font-size: 13px;
  line-height: 1.45;
}

.store-contact-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 23px;
  margin-top: 34px;
  padding: 22px 32px;
  border-radius: 8px;
  background: #f5f6f8;
  box-shadow: 0 14px 34px rgba(16, 24, 35, 0.06);
}

.strip-icon {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(225, 10, 24, 0.8);
  border-radius: 8px;
  color: var(--store-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.store-contact-strip h2 {
  margin: 0 0 3px;
  color: var(--store-ink);
  font-size: 20px;
  font-weight: 900;
}

.store-contact-strip p {
  margin: 0;
  color: #4f5b68;
  font-size: 14px;
  line-height: 1.5;
}

.store-contact-strip .main-btn {
  min-width: 190px;
  height: 48px;
  line-height: 48px;
  text-align: center;
}

.store-modal[hidden] {
  display: none;
}

.store-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.store-modal-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 12, 21, 0.66);
  cursor: pointer;
}

.store-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 12px;
  background: #ffffff;
  color: var(--store-ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  animation: storeModalIn 220ms ease both;
}

.store-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 24, 35, 0.82);
  color: #ffffff;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.store-modal-close:hover,
.store-modal-close:focus {
  background: var(--store-red);
  transform: rotate(90deg);
}

.modal-image {
  height: 230px;
  overflow: hidden;
  background: #e7ebf1;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.modal-body {
  padding: 24px 26px 28px;
}

.modal-body h2 {
  margin: 0 0 7px;
  color: var(--store-ink);
  font-size: 26px;
  line-height: 1.22;
  font-weight: 900;
}

.modal-meta {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.modal-meta p {
  display: flex;
  gap: 10px;
  margin: 0;
  color: #3f4b58;
  font-size: 15px;
  line-height: 1.55;
}

.modal-meta i {
  width: 18px;
  margin-top: 4px;
  color: var(--store-red);
  text-align: center;
}

.modal-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.modal-services span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2f5f8;
  color: #303b48;
  font-size: 12px;
  font-weight: 800;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.modal-directions {
  background: var(--store-red);
  color: #ffffff;
}

.modal-directions:hover,
.modal-directions:focus {
  background: var(--store-red-dark);
  color: #ffffff;
}

.modal-call {
  border: 1px solid var(--store-border);
  background: #ffffff;
  color: var(--store-ink);
}

.modal-call:hover,
.modal-call:focus {
  border-color: var(--store-red);
  color: var(--store-red);
}

.store-locator-page a:focus,
.store-locator-page button:focus,
.store-locator-page input:focus,
.store-locator-page select:focus,
.branch-card:focus {
  outline: 3px solid rgba(225, 10, 24, 0.22);
  outline-offset: 3px;
}

@keyframes storeFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes storePulse {
  from {
    opacity: 0.75;
    transform: scale(0.8);
  }
  to {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes storeModalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media only screen and (max-width: 1320px) {
  .store-layout {
    grid-template-columns: minmax(420px, 1.1fr) minmax(330px, 0.85fr) minmax(232px, 0.55fr);
    gap: 18px;
  }

  .branch-card {
    grid-template-columns: 32px 106px minmax(0, 1fr) 76px 22px;
    gap: 12px;
  }

  .branch-thumb {
    width: 106px;
  }
}

@media only screen and (max-width: 1199px) {
  .store-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  }

  .benefits-panel {
    grid-column: 1 / -1;
    position: static;
  }

  .benefits-card {
    padding-top: 6px;
  }

  .benefit-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .support-box {
    max-width: 360px;
  }
}

@media only screen and (max-width: 991px) {
  .store-main {
    padding-top: 76px;
  }

  .store-hero {
    min-height: auto;
  }

  .store-hero-media img {
    width: 100%;
    opacity: 0.78;
  }

  .store-hero::before {
    background: linear-gradient(90deg, rgba(3, 10, 18, 0.96) 0%, rgba(5, 13, 24, 0.86) 58%, rgba(5, 13, 24, 0.48) 100%);
  }

  .store-hero-content {
    max-width: 680px;
    padding: 38px 0 32px;
  }

  .store-hero h1 {
    font-size: 40px;
  }

  .store-layout {
    grid-template-columns: 1fr;
  }

  .map-panel {
    position: static;
  }

  .benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {
  .store-hero-content {
    padding: 30px 0;
  }

  .store-breadcrumb {
    margin-bottom: 20px;
  }

  .store-hero h1 {
    font-size: 34px;
  }

  .store-hero p {
    font-size: 16px;
  }

  .store-search {
    flex-direction: column;
  }

  .find-nearby-button {
    width: 100%;
  }

  .store-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 0;
  }

  .store-feature:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .sort-control {
    width: 100%;
    flex-basis: auto;
  }

  .branch-card {
    grid-template-columns: 31px 94px minmax(0, 1fr) 24px;
    grid-template-areas:
      "number thumb body arrow"
      "number thumb actions arrow";
    align-items: start;
    gap: 12px;
    min-height: 120px;
  }

  .branch-number {
    grid-area: number;
  }

  .branch-thumb {
    grid-area: thumb;
    width: 94px;
    height: 82px;
  }

  .branch-body {
    grid-area: body;
  }

  .branch-actions {
    grid-area: actions;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .branch-distance {
    margin-top: 0;
    text-align: left;
  }

  .branch-detail-btn {
    grid-area: arrow;
  }

  .branch-body h2 {
    font-size: 16px;
  }

  .branch-line {
    font-size: 12px;
  }

  .map-shell,
  .store-map {
    height: 390px;
    min-height: 390px;
  }

  .store-contact-strip {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 20px;
  }

  .store-contact-strip .main-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media only screen and (max-width: 575px) {
  .store-locator-page .header_navbar .container-fluid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .store-hero h1 {
    font-size: 30px;
  }

  .store-search input {
    height: 52px;
    font-size: 14px;
  }

  .store-feature-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .store-feature,
  .store-feature + .store-feature,
  .store-feature:nth-child(3) {
    padding: 0;
    border-left: 0;
  }

  .store-content {
    padding-top: 20px;
  }

  .branch-card {
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    grid-template-areas:
      "number body arrow"
      "thumb thumb thumb"
      "actions actions actions";
  }

  .branch-thumb {
    width: 100%;
    height: 135px;
  }

  .branch-actions {
    justify-content: space-between;
    width: 100%;
  }

  .branch-directions {
    min-width: 128px;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .support-box {
    max-width: none;
  }

  .store-contact-strip {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .strip-icon {
    width: 52px;
    height: 52px;
  }

  .store-modal {
    padding: 14px;
  }

  .store-locator-page #paintChatbot .npc-launcher-label {
    display: none !important;
  }

  .store-locator-page #paintChatbot .npc-launcher {
    right: 12px !important;
    bottom: 12px !important;
    width: 56px !important;
    height: 56px !important;
  }

  .modal-image {
    height: 180px;
  }

  .modal-body {
    padding: 22px 18px 24px;
  }

  .modal-body h2 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-locator-page *,
  .store-locator-page *::before,
  .store-locator-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
