.cdw-store-locator-hero {
  background: #efb1a6;
  padding: 32px 20px;
  margin: 20px 0;
}

.cdw-store-locator-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  background: #f5f2ea;
  padding: 32px;
}

.cdw-store-locator-block .h1,
.cdw-store-locator-block .h2,
.cdw-store-locator-block .h3,
.cdw-store-locator-block .h4,
.cdw-product-locator .h1,
.cdw-product-locator .h2,
.cdw-product-locator .h3,
.cdw-product-locator .h4,
.cdw-store-detail .h1,
.cdw-store-detail .h2,
.cdw-my-store-form .h1,
.cdw-my-store-form .h2,
.cdw-nearest-store-card .h3,
.cdw-store-popup .h4 {
  display: block;
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

.cdw-store-locator-hero__content .h2 {
  font-size: 40px;
  line-height: 1.1;
  color: #4b1b0d;
  margin: 0 0 12px;
}

.cdw-store-locator-hero__image img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}


.cdw-store-locator-hero-block {
  margin: 24px 0;
}

.cdw-store-locator-hero-block .cdw-store-locator-hero {
  margin: 0;
}

.cdw-store-locator-hero-block .cdw-store-locator-hero__inner {
  display: flex; flex-wrap: wrap; padding: 0; gap: 0;
}

.cdw-store-locator-hero-block .cdw-store-locator-hero__content {
  padding: 48px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 55%;
}

.cdw-store-locator-hero__image {
    width: 45%;
}

.cdw-store-locator-hero-block .cdw-store-locator-hero__content .h2 {
  max-width: 517px;
  font-size: 32px;
  text-align: center;
  margin: 0 auto 1.5rem;
}

.cdw-store-locator-hero-block .cdw-store-locator-hero__content p {
    margin: 0 auto 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #231f20;
    width: 100%;
    max-width: 517px;
}

.cdw-store-locator-search-form--hero {
  max-width: 470px;
  flex-wrap: nowrap;
}

.cdw-store-locator-search-form--hero .cdw-store-locator-search-input-wrap {
  flex: 1 1 auto;
}

.cdw-store-locator-search-form--hero input[name=postcode] {
  height: 56px;
  border-radius: 999px;
  background: #efb1a6 url(../img/search-sl.svg) no-repeat 14px center;
  color: #231f20;
  padding: 0 18px 0 2.5rem;
  font-size: 14px;
}

.cdw-store-locator-search-form--hero input[name=postcode]::placeholder {
  color: rgba(75, 27, 13, 0.55);
}

.cdw-store-locator-search-form--hero button {
  flex: 0 0 auto;
  height: 56px;
  border-radius: 999px;
  padding: 0 26px;
  font-size: 14px;
}

.cdw-store-locator-hero-block .cdw-store-locator-suggestions {
  top: calc(100% + 10px);
  background: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.cdw-store-locator-hero-block .cdw-store-locator-suggestion {
  background: #fff;
  color: #231f20;
  border-bottom: 1px solid rgba(35, 31, 32, 0.08);
}

.cdw-store-locator-hero-block .cdw-store-locator-suggestion:hover {
  background: #f7f1ea;
}

.cdw-store-locator-hero-block .cdw-store-locator-suggestion.is-geolocate {
  color: #4b1b0d;
}

.cdw-store-locator-hero-block .cdw-store-locator-hero__image,
.cdw-store-locator-hero-block .cdw-store-locator-hero__image img {
  height: 100%;
}

.cdw-store-locator-hero-block .cdw-store-locator-hero__image img {
  min-height: 320px;
  object-fit: cover;
}


.cdw-store-locator-search-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cdw-store-locator-search-form input {
  flex: 1;
  border-radius: 5px;
  border: 0;
  padding: 9px 12px;
}

.cdw-store-locator-search-form button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: #231f20;
  color: #fff;
}

.cdw-locator-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 0;
  min-height: 580px;
}
.leaflet-container a.btn-primary {
	color: white; 
	font-size: 0.9rem;
}

.cdw-locator-sidebar {
  background: var(--ocre);
  color: #fff;
  padding: 12px;
}

.cdw-store-locator-block {
  margin: 24px 0;
}

.cdw-store-results-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cdw-locator-map {
  min-height: 580px;
  height: 100%;
  width: 100%;
}



.cdw-nearest-store-card {
  position: relative;
  background: var(--ocre);
  color: #fff;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.cdw-nearest-store-card:hover {
  border-color: #111;
}

.cdw-nearest-store-card.is-selected {
  background: #f5f5f5;
  color: #111;
  border-color: rgba(0, 0, 0, 0.08);
}

.cdw-nearest-store-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.cdw-nearest-store-card .h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.cdw-nearest-store-card p {
  margin: 0;
  line-height: 1.25;
  font-size: 13px;
  opacity: 0.9;
}

.cdw-nearest-store-card__distance {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  padding-right: 22px;
  position: relative;
}

.cdw-nearest-store-card__distance::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1d4ed8;
  transform: translateY(-50%);
}

.cdw-nearest-store-card__distance.is-blue::after {
  background: #1d4ed8;
}

.cdw-nearest-store-card__distance.is-green::after {
  background: #1faa59;
}

.cdw-nearest-store-card__distance.is-orange::after {
  background: #f59e0b;
}

.cdw-nearest-store-card__distance.is-red::after {
  background: #d93025;
}

.cdw-nearest-store-card__actions {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.cdw-nearest-store-card.is-selected .cdw-nearest-store-card__actions {
  display: flex;
}

.cdw-nearest-store-card__actions-main,
.cdw-nearest-store-card__actions-side {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cdw-store-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #111;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 0;
  cursor: pointer;
}

.cdw-store-action:hover {
  color: #111;
  text-decoration: none;
}

.cdw-store-action svg {
  width: 21px;
  height: 21px;
  display: block;
}

.cdw-store-action--disabled {
  opacity: 0.35;
  pointer-events: none;
}

.cdw-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
}

.cdw-stock-pill.is-green {
  background: #d7f2dd;
  color: #14532d;
}

.cdw-stock-pill.is-orange {
  background: #ffe5c2;
  color: #9a3412;
}

.cdw-stock-pill.is-red {
  background: #ffe1de;
  color: #b42318;
}

.cdw-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.cdw-dot.is-green {
  background: #1faa59;
}

.cdw-dot.is-orange {
  background: #f59e0b;
}

.cdw-dot.is-red {
  background: #d93025;
}

.cdw-store-popup {
  display: flex;
  gap: 12px;
  max-width: 360px;
}

.cdw-popup-image img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.cdw-product-locator {
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 12px;
}

.cdw-product-locator > .h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.cdw-store-popup .h4 {
  margin-bottom: 8px;
  font-size: 18px;
}

.cdw-store-detail .h1,
.cdw-my-store-form .h1 {
  margin-bottom: 20px;
  font-size: 32px;
}

.cdw-store-detail .h2,
.cdw-my-store-form .h2 {
  margin: 24px 0 16px;
  font-size: 24px;
}


.cdw-product-locator__summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.cdw-product-locator__intro,
.cdw-product-locator__current-location {
  margin: 0;
}

.cdw-product-locator__change-location {
  align-self: flex-start;
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.cdw-product-locator__form-wrap[hidden] {
  display: none !important;
}

.cdw-product-locator__search-intro {
  margin: 0 0 10px;
}

.cdw-product-locator__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.cdw-product-locator__form input {
  flex: 1;
  min-width: 180px;
}

.cdw-product-locator__input-wrap {
  flex: 1 1 260px;
}

.cdw-product-locator__modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.cdw-product-locator__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cdw-product-locator__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  width: 90vw;
  height: 90vh;
  margin: 5vh auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-cms .cdw-product-locator__dialog {
	height: 600px;
}

.cdw-product-locator__results {
  display: grid;
  grid-template-columns: 340px 1fr;
  flex: 1 1 auto;
  min-height: 0;
}

.cdw-product-locator__map {
  min-height: 0;
  height: 100%;
}

.cdw-product-locator__list {
  height: 100%;
  max-height: none;
  overflow: auto;
}

.cdw-product-locator__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: #fff;
  font-size: 30px;
  z-index: 1001;
}


.cdw-locator-page--embedded {
  position: relative;
}

.cdw-product-locator__dialog--embedded {
  position: relative;
  z-index: 1;
  background: #fff;
  width: 100%;
  height: 90vh;
  min-height: 720px;
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-cms .cdw-product-locator__dialog--embedded {height: 600px; min-height: 600px;}

.cdw-product-locator__results .leaflet-popup-content p {margin: 0 0 0.35rem;}

.cdw-product-locator__results .leaflet-popup-content {
    margin: 12px 15px 7px 15px;
}
.cdw-product-locator__results--embedded {
  display: grid;
  grid-template-columns: 340px 1fr;
  flex: 1 1 auto;
  min-height: 0;
}

.cdw-locator-page--embedded .cdw-locator-layout {
  min-height: 0;
  height: 100%;
}

.cdw-locator-page--embedded .cdw-locator-sidebar {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
}

.cdw-locator-sidebar__search {
  position: relative;
  z-index: 1200;
  overflow: visible;
  padding: 0 12px 0;
  background: var(--ocre);
}

.cdw-locator-page--embedded .cdw-locator-search-caption {
  margin: 16px 0 10px;
}

.cdw-locator-page--embedded .cdw-store-locator-search-form {
  gap: 8px;
  align-items: center;
  margin-bottom: 0;
}

.cdw-locator-page--embedded .cdw-store-locator-search-form button {
  white-space: nowrap;
  min-width: 98px;
  height: 40px;
  padding: 0 20px;
  font-size: 0.9rem;
}

.cdw-store-locator-search-input-wrap + button {display: none;}

.cdw-store-locator-block .cdw-nearest-store-card__distance.is-orange::after {background: #0d6efd;}

.cdw-locator-page--embedded .cdw-store-locator-search-form input[name=postcode] {
	height: 40px;
    font-size: 0.9rem;
}

.cdw-locator-page--embedded .cdw-store-results-list {
  margin-top: 12px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  background: var(--ocre);
}

.cdw-locator-page--embedded .cdw-locator-map,
.cdw-locator-page--embedded .cdw-product-locator__map {
  min-height: 0;
  height: 100%;
}

.cdw-locator-page--embedded .cdw-store-results-empty {
  color: rgba(255, 255, 255, 0.82);
  padding: 16px 12px;
}

.cdw-store-detail__header {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.cdw-store-detail__header img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.cdw-my-store-form .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.cdw-my-store-form .col-md-4,
.cdw-my-store-form .col-md-6,
.cdw-my-store-form .col-md-12 {
  padding: 0 10px;
  margin-bottom: 15px;
}

.cdw-my-store-form .col-md-4 {
  width: 33.333%;
}

.cdw-my-store-form .col-md-6 {
  width: 50%;
}

.cdw-my-store-form .col-md-12 {
  width: 100%;
}

.cdw-locator-search-caption {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  margin: 6px 0 10px;
  color: #fff;
}

.cdw-store-locator-search-form--autocomplete {
  align-items: flex-start;
}

.cdw-store-locator-search-input-wrap {
  position: relative;
  z-index: 10;
  overflow: visible;
  flex: 1;
}

.cdw-store-locator-search-form--autocomplete input[name=postcode],
.cdw-product-locator__postcode {
  width: 100%;
}

.cdw-store-locator-hero__content .cdw-store-locator-search-form {
	width: 100%;
	max-width: 517px;
	margin: 0 auto;
}

.cdw-store-locator-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 2000;
  display: block;
  visibility: visible;
  opacity: 1;
  max-height: 280px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #161616;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.cdw-store-locator-suggestion {
  display: block;
  width: 100%;
  border: 0;
  background: #2f2f31;
  color: #fff;
  text-align: left;
  padding: 16px 18px;
  font-size: 15px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cdw-store-locator-suggestion:last-child {
  border-bottom: 0;
}

.cdw-store-locator-suggestion:hover {
  background: #3a3a3d;
}

.cdw-store-locator-suggestion.is-geolocate {
  color: #42a5ff;
  font-weight: 700;
}

.cdw-store-results-empty {
  color: rgba(255, 255, 255, 0.82);
  padding: 16px 10px;
}

.cdw-product-locator__open-map[hidden],
.cdw-product-locator__change-location[hidden],
.cdw-product-locator__current-location[hidden] {
  display: none !important;
}

@media (max-width: 991px) {
  .cdw-store-locator-hero-block .cdw-store-locator-hero__content {
    padding: 28px 22px;
  }

  .cdw-store-locator-search-form--hero {
    flex-wrap: wrap;
  }

  .cdw-store-locator-search-form--hero button {
    width: 100%;
  }

  .cdw-store-locator-hero-block .cdw-store-locator-hero__image img {
    min-height: 220px;
  }
}

@media (max-width: 991px) {
  .cdw-store-locator-hero__inner,
  .cdw-locator-layout,
  .cdw-product-locator__results,
  .cdw-store-detail__header,
  .cdw-product-locator__results--embedded {
    grid-template-columns: 1fr;
  }

  .cdw-my-store-form .col-md-4,
  .cdw-my-store-form .col-md-6 {
    width: 100%;
  }

  .cdw-store-locator-search-form {
    flex-wrap: wrap;
  }

  .cdw-store-locator-search-form button,
  .cdw-product-locator__form > button {
    width: 100%;
  }

  .cdw-nearest-store-card__actions {
    flex-wrap: wrap;
  }

  .cdw-nearest-store-card__actions-main,
  .cdw-nearest-store-card__actions-side {
    width: auto;
    justify-content: flex-start;
  }

  .cdw-store-action {
    width: 40px;
    height: 40px;
  }
}

.cdw-product-locator__list .cdw-store-results-empty {
  color: #111;
}


.cdw-store-locator-block__header {
  margin: 0 0 24px;
}

.cdw-store-locator-block__header .h2 {
  margin: 0 0 10px;
}

.cdw-store-locator-block__header p {
  margin: 0;
}


@media (max-width: 991px) {
  .cdw-product-locator__dialog--embedded {
    height: auto;
    min-height: 0;
  }

  .cdw-locator-page--embedded .cdw-store-results-list {
    max-height: 420px;
  }

  .cdw-locator-page--embedded .cdw-locator-map,
  .cdw-locator-page--embedded .cdw-product-locator__map {
    min-height: 420px;
  }
}


@media (max-width: 768px) {
	.cdw-store-locator-hero-block .cdw-store-locator-hero__content {
	  width: 100%;
	}

	.cdw-store-locator-hero__image {
		width: 100%;
	}
	.cdw-store-locator-hero-block .cdw-store-locator-hero__content .h2 {
		font-size: 20px;
	}	
}