/* ---------------------------------------------------------------------------
 * store-locator.css
 *
 * NOT part of the gulp build. This file is served as-is via <link> from
 * templates/blocks/static/store_locator_block.html (live on /store-locator/ and /contact-us/)
 * and is NOT concatenated into spinneys/css/main.css by `gulp sass-web`.
 * Editing the SCSS tree will therefore never affect these rules.
 *
 * Values below are literal, not Sass variables, because this file is never compiled.
 * Keep anything new inside these sets.
 *
 * COLOUR (from tokens.json):
 *   #154734 dark-green-500   #313131 black-500     #6C757D neutral-600
 *   #ADB5BD neutral-500      #DEE2E6 neutral-300   #E9ECEF neutral-200
 *
 * TYPE:
 *   "Gill Sans Nova for JL", sans-serif   display/UI - the storefront face
 *   "FreightText Pro", serif              editorial serif (a documented exception;
 *                                         the Waitrose system has no serif)
 *   Every stack MUST end in a generic keyword. This site serves Arabic and no webfont
 *   here covers it, so the generic terminal is what picks up the system Arabic face.
 *
 * NOT covered by the reskin and still original: #D9D9D9, #EEE, #FFF, and the
 * border-radius / box-shadow / outline / transition values.
 * --------------------------------------------------------------------------- */

body {
  margin: 0;
  font-family: sans-serif;
}

.c-Wrapper {
  display: flex;
  position: relative;
  width: 90%;
  margin: 0 auto;
}

@media screen and (max-width: 1672px){
  .c-Wrapper {
    width: 100%;
  }
}
@media screen and (max-width: 600px){
  .c-Wrapper {
    flex-direction: column;
  }
}

.c-SidePanel {
  -ms-flex: 0 0 30%;
  flex: 0 0 30%;
  max-width: 30%;
  height: 100vh;
  background-color: #fff;
  padding: 0;
  position: relative;
  z-index: 0;
  border-radius: 32px;
  overflow: hidden;
}
@media screen and (max-width: 1200px){
  .c-SidePanel {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
  }
}

@media screen and (max-width: 600px){
  .c-SidePanel {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    order: 2;
  }
  .c-SidePanel::-webkit-scrollbar {
    width: 8px;
    height: 12px;
  }

  .c-SidePanel::-webkit-scrollbar-track {
    box-shadow: none;
    background-color: #E9ECEF;
  }

  .c-SidePanel::-webkit-scrollbar-thumb {
      background-color: #ADB5BD;
      outline: none;
  }
}
.search-store-list{
  border-bottom: 1px solid #DEE2E6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative
}
.search-store-list .search-icon{
  position: absolute;
    top: 24px;
    left: 30px;
    width: 16.834px;
    height: 16.835px;
    display: inline-block;
    background-color: #6C757D;
    -webkit-mask: url("../svg/search-glyph.9439ff6ff9d3.svg") center / contain no-repeat;
    mask: url("../svg/search-glyph.9439ff6ff9d3.svg") center / contain no-repeat;
}
.store-filter-toggle{
  padding: 0 30px;
}

.c-SidePanel [type=search] {
  /* Focus ring restored */
  width: 100%;
  display: block;
  width: 100%;
  padding: 20px 30px 20px 60px;
  color: #313131;
  font-size: 18px;
  font-family: "Gill Sans Nova for JL", sans-serif;
  font-style: normal;
  border: 0;
  text-transform: uppercase;
}
.c-SidePanel [type=search]::placeholder {
  color: #ADB5BD;
}
.c-SidePanel [type=search]:focus,
.c-SidePanel [type=search]:focus-visible {
  outline: none;
  border: 0;
}

.c-Map {
  -ms-flex: 0 0 70%;
  flex: 0 0 70%;
  max-width: 70%;
  height: 100vh;
  display: block;
  border-radius: 32px;
  overflow: hidden;
}

@media screen and (max-width: 1200px){
  .c-Map {
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;

  }
}
@media screen and (max-width: 600px){
  .c-Map {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    order: 1;
    height: 50vh;
  }
}

.c-StoreList {
  padding-left: 0;
  list-style: none;
  margin-bottom: 80px;
  margin-top: 0;
  max-height: calc(100vh - 55px);
  overflow-y: auto;

}

.c-StoreList::-webkit-scrollbar {
    width: 8px;
    height: 12px;
}

.c-StoreList::-webkit-scrollbar-track {
    box-shadow: none;
    background-color: #E9ECEF;
}

.c-StoreList::-webkit-scrollbar-thumb {
    background-color: #ADB5BD;
    outline: none;
}


.c-StoreList__item {
  background-color: #fff;
  padding: 20px;
  border-bottom: 1px solid #DEE2E6;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.c-StoreList__item_ar {
  flex-direction: row-reverse;
}
.c-StoreList__item:hover span{
  color: #fff !important;
}

.c-StoreList__item.is-active,
.c-StoreList__item:hover {
  color: #fff;
  background-color: #154734;
}
.dont-hover:hover{
  background-color: #fff !important;
  color: #313131 !important;
}

.c-InfoPanel {
  width: 30%;
  height: calc(100vh - 80px);
  background-color: #fff;
  padding: 40px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: none;
}

@media screen and (max-width: 1200px){
  .c-InfoPanel{
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
  }
}

@media screen and (max-width: 600px){
  .c-InfoPanel {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
   	width: 100%;
   	height: 100%;
  }
  .c-InfoPanel::-webkit-scrollbar {
    width: 8px;
    height: 12px;
  }

  .c-InfoPanel::-webkit-scrollbar-track {
    box-shadow: none;
    background-color: #E9ECEF;
  }

  .c-InfoPanel::-webkit-scrollbar-thumb {
      background-color: #ADB5BD;
      outline: none;
  }
}
.c-InfoPanel h3{
    font-family: "Gill Sans Nova for JL", sans-serif;
    font-style: normal;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #154734;
}

.c-InfoPanel__opening-periods {
  list-style: none;
  padding-left: 0;
}

.c-InfoPanel__close {
  position: absolute;
  top: 42px;
  right: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  box-shadow: none;
  border: 0;
  cursor: pointer;
}
.c-InfoPanel__close:focus{
  /* Focus ring restored */
  box-shadow: none;
}

.c-InfoPanel__store-details {
  padding-left: 0;
  list-style: none;
}

.c-InfoPanel__store-details li {
  margin-bottom: 24px;
    font-family: "Gill Sans Nova for JL", sans-serif;
    font-style: normal;
    font-size: 15px;
    font-weight: 300;
    color: #313131;
    line-height: 1.5;
}
.c-InfoPanel__store-details li strong{
      font-family: "Gill Sans Nova for JL", sans-serif;
    font-style: normal;
    font-size: 15px;
    font-weight: 500;
    color: #154734;
}
.get-direction{
  /* T1 primary */
    background-color: #C0DD28;
    width: auto;
    max-width: 220px;
    color: #154734;
    max-height: 44px;
    border-radius: 12px;
    padding: 12px 25px;
    line-height: 1;

}
.get-direction:hover{
  color: #fff;
}

.c-InfoPanel__store-details li ul li {
  margin-bottom: 0;
}

.c-InfoPanel__store-details li strong {
  display: block;
  color: #154734;
  margin-bottom: 5px;
}
.js-store-info-btn{
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    box-shadow: none;
    border: 0;
    cursor: pointer;
}
.js-store-info-btn:focus{
  /* Focus ring restored */
  box-shadow: none;
}
.store-locator{
  padding-bottom: 80px;
}
.store-locator .store-locator-title{
    font-family: "Gill Sans Nova for JL", sans-serif;
    font-style: normal;
    font-size: 50px;
    font-weight: 600;
    float: none;
    margin: 0 auto;
    text-align: center;
    display: block;
    width: 60%;
    margin-bottom: .25em;
    color: #313131;
    margin-top: 60px;
}
@media screen and (max-width: 900px){
	.store-locator .store-locator-title{
		width: 100%;
	}
}
@media screen and (max-width: 600px){
	.store-locator .store-locator-title{
		font-size: 26px;
	}
}
.store-locator  .rich-text p{
    font-family: "Gill Sans Nova for JL", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
    text-align: center;
    width: 40%;
    float: none;
    margin: 0 auto;
    text-align: center;
    display: block;
    margin-bottom: 60px;
    color: #313131;
}
@media screen and (max-width: 900px){
	.store-locator  .rich-text p{
		width: 100%;
    	margin-bottom: 60px;
    }
}
.store-locator .store-locator-sub-title{
    font-family: "Gill Sans Nova for JL", sans-serif;
    font-style: normal;
}
@media screen and (max-width: 600px){
	.store-locator  .rich-text p{
		font-size: 18px;
	}
}
