/**
  * All of the CSS for your public-facing functionality should be
  * included in this file.
  */

/* Animations */

@keyframes wcmlim-shaker {

  0%,
  100% {
    transform: translateX(0px);
  }

  33.3% {
    transform: translateX(-8px);
  }

  66.6% {
    transform: translateX(8px);
  }
}

@-webkit-keyframes wcmlim-shaker {

  0%,
  100% {
    transform: translateX(0px);
  }

  33.3% {
    transform: translateX(-12px);
  }

  66.6% {
    transform: translateX(12px);
  }
}

.wcmlim-shaker {
  animation-name: wcmlim-shaker;
  animation-duration: 300ms;
  animation-iteration-count: 2;
  animation-timing-function: ease-in-out;
}

/* Spinners and Animations */
.wcmlim-chase-wrapper {
  display: flex;
  padding-top: 0px;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 0;
  height: 44px;
  width: 44px;
}

.wcmlim-chase {
  width: 30px;
  height: 30px;
  position: relative;
  animation: wcmlim-chase 2.5s infinite linear both;
}

.wcmlim-chase-dot {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  animation: wcmlim-chase-dot 2s infinite ease-in-out both;
}

.wcmlim-chase-dot:before {
  content: "";
  display: block;
  width: 35%;
  height: 35%;
  background-color: #555;
  border-radius: 100%;
  animation: wcmlim-chase-dot-before 2s infinite ease-in-out both;
}

.wcmlim-chase-dot:nth-child(1) {
  animation-delay: -1.1s;
}

.wcmlim-chase-dot:nth-child(2) {
  animation-delay: -1s;
}

.wcmlim-chase-dot:nth-child(3) {
  animation-delay: -0.9s;
}

.wcmlim-chase-dot:nth-child(4) {
  animation-delay: -0.8s;
}

.wcmlim-chase-dot:nth-child(5) {
  animation-delay: -0.7s;
}

.wcmlim-chase-dot:nth-child(6) {
  animation-delay: -0.6s;
}

.wcmlim-chase-dot:nth-child(1):before {
  animation-delay: -1.1s;
}

.wcmlim-chase-dot:nth-child(2):before {
  animation-delay: -1s;
}

.wcmlim-chase-dot:nth-child(3):before {
  animation-delay: -0.9s;
}

.wcmlim-chase-dot:nth-child(4):before {
  animation-delay: -0.8s;
}

.wcmlim-chase-dot:nth-child(5):before {
  animation-delay: -0.7s;
}

.wcmlim-chase-dot:nth-child(6):before {
  animation-delay: -0.6s;
}

@keyframes wcmlim-chase {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes wcmlim-chase-dot {

  80%,
  100% {
    transform: rotate(360deg);
  }
}

@keyframes wcmlim-chase-dot-before {
  50% {
    transform: scale(0.4);
  }

  100%,
  0% {
    transform: scale(1);
  }
}

#map .gm-style-iw-d {
  overflow: unset !important;
}

#map .gm-style-iw.gm-style-iw-c {
  padding: 0 !important;
}

/* .locator-store-block {
  width: 280px;
} */

.locator-store-block hr {
  margin: 6px 0;
}

.locator-store-block p,
.locator-store-block .map-prod-details {
  background: #f7faf1;
  padding: 10px 10px;
  margin: 0rem;
}

.locator-store-block p span {
  margin-right: 7px;
}

.locator-store-block h4 {
  background: #187dc7 none repeat scroll 0 0;
  color: #fff;
  display: block;
  float: none;
  font-size: 13px;
  max-width: none;
  padding: 7px 10px;
  margin: 0;
}

.locator-store-block .fa {
  margin-right: 10px;
}

.wcmlim-map-widgets .block-1 {
  width: 66.5%;
  display: inline-block;
}

.wcmlim-map-widgets #elementIdGlobalMap {
  height: 45px;
}

.map-view-locations {
  height: 500px;
}

.map-view-locations .block-2 {
  width: 29.9%;
  height: 420px;
  position: relative;
  overflow-y: scroll;
  overflow-x: hidden;
  display: inline-block;
  background: #f9f9f9;
  border: 1px solid #80808033;
  padding: 1rem;
}

.block-2 .wcmlim-map-sidebar-list {
  cursor: pointer;
  background: transparent none repeat scroll 0 0 !important;
  border-bottom: 1px solid #ccc !important;
  padding-bottom: 10px;
}

.block-1 .block-2 {
  display: inline-block;
}

.wcmlim-top-map-widgets .rSlider,
.wcmlim-top-map-widgets .rangedisplay {
  display: inline-block;
}

.wcmlim-map-sidebar-list .fa {
  margin-right: 11px;
  color: gray;
}

.wcmlim-map-sidebar-list p.location-address {
  margin-bottom: 5px;
}

.wcmlim-map-sidebar-list h4 {
  margin-bottom: 0;
  color: #0a4875;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2em;
  padding: 0 0 5px;
  margin-top: 5px;
  text-decoration: none;
}

.wcmlim-map-widgets {
  margin: 2rem 0;
  background: white;
}

.wcmlim-top-map-widgets {
  padding: 1rem;
  color: #f9f9f9;
  background: #187dc7;
  font-size: 16px;
}

.wcmlim-top-map-widgets label,
.wcmlim-top-map-widgets input {
  margin: 0 0 10px 0;
}

.list-view-locations .miles {
  width: 19% !important;
  float: right;
  margin: 0 !important;
}

.wcmlim-map-sidebar-list .miles {
  font-size: 12px;
  margin: 0;
  background: #d9dada21;
  color: #6b6969;
  text-align: right;
  padding-right: 10px;
  width: 100%;
  margin-top: 12px;
}

.wcmlim-map-sidebar-list .miles .fa {
  opacity: 0.3;
  color: #27262691;
  float: left;
  font-size: 20px;
}

.location-address span.far {
  font-size: 10px !important;
  background-color: transparent !important;
}

.location-address span {
  font-size: 11px !important;
  background-color: transparent !important;
  display: inline-block;
}

.wcmlim-map-sidebar-list button {
  background: #187dc7;
  padding: 0px 9px !important;
  color: white;
  font-size: 13px;
}

.wcmlim-map-sidebar-list button:nth-child(2) {
  float: right;
}

.wcmlim-top-map-widgets .distance-bar,
.wcmlim-top-map-widgets .search-bar {
  display: inline;
}

.origin-location-marker h4 {
  background: #91bbda5e;
  font-size: 12px;
  font-weight: 100;
  text-align: center;
}

.block-1 .map .gm-style .gm-style-iw-t::after {
  background: #80808059;
  z-index: -1;
}

.noUi-target {
  height: 15px;
  border: none;
  margin: 40px 0 0 0;
}

@media screen and (max-width: 767px) {
  .noUi-target {
    margin: 40px 0 50px 0;
  }
}

.noUi-target .noUi-base {
  background: linear-gradient(117deg, #0d064c 0, #740887 100%);
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

.noUi-target .noUi-base .noUi-connect {
  background: #013a67;
}

.noUi-target .noUi-base .noUi-tooltip {
  bottom: -35px;
  color: #013a67;
  border: none;
  outline: none;
  font-weight: bold;
}

.noUi-handle.noUi-handle-lower {
  background: #0d064c;
  border-radius: 20px;
  width: 30px;
  height: 30px;
  outline: none;
  right: 0px;
  top: -8px;
  cursor: pointer;
  box-shadow: none;
  border: 3px solid #ffffff;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.noUi-handle.noUi-handle-lower.noUi-active {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

.noUi-handle.noUi-handle-lower::before,
.noUi-handle.noUi-handle-lower::after {
  display: none;
}

.noUi-handle.noUi-handle-lower .noUi-touch-area {
  width: 30px;
  height: 30px;
}

.geolocation-marker {
  padding: 7px;
  height: auto;
  border-style: solid;
  border-radius: 2px;
  color: #187dc7 !important;
  background-color: #f2f2f2 !important;
  border-color: white !important;
  box-shadow: none;
  transition: all 0.2s linear;
  margin-top: 0px;
  position: absolute;
  height: 45px;
  margin-left: -4px;
}

.marker-btn-1 {
  width: 48%;
  margin-bottom: 0.5rem;
  margin-right: 2%;
  background: #187dc7;
  color: white !important;
  display: inline-block;
  text-align: center;
  padding: 5px;
}

.marker-btn-2 {
  margin-bottom: 0.5rem;
  display: inline-block;
  text-align: center;
  width: 48%;
  margin-left: 2%;
  background: #187dc7;
  color: white !important;
  padding: 5px;
}

.list-view-locations {
  padding: 0;
}

.list-view-locations {
  padding: 0;
}

.list-view-locations {
  padding: 0;
}

.list-view-locations .block-2 {
  padding: 1rem;
  width: 100% !important;
  position: inherit;
  overflow-y: scroll;
  overflow-x: hidden;
}

#elementIdGlobalMap:focus {
  border-color: transparent !important;
}

.list-view-locations .block-2 .wcmlim-map-sidebar-list {
  padding-bottom: 4rem;
}

.list-view-locations .block-1 {
  display: none !important;
}

.search-filter-product-parameter .chosen-drop,
.search-filter-product-category-parameter .chosen-drop {
  background: #f3f2f2;
  left: 0;
  color: #4e4e4e;
}

.search-filter-product-category-parameter,
.search-filter-toggle_parameter_prod {
  display: inline-block;
  width: 100%;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  background: #0175a736;
  border-bottom: 2px dotted #f3f1f173;
}

.wcmlim-top-map-widgets .gm-style .gm-style-iw-t::after {
  background: linear-gradient(45deg,
      rgb(255 255 255 / 18%) 50%,
      rgba(255, 255, 255, 0) 51%,
      rgba(255, 255, 255, 0) 100%);
}

.wcmlim-map-widgets .range-bar {
  display: inline-block;
  width: 38%;
}

.wcmlim-map-widgets .range-bar #rangeInput {
  margin-top: 2rem;
  width: 65%;
}

.wcmlim-map-widgets .search-bar {
  display: inline-block !important;
  width: 37%;
}

.wcmlim-map-widgets .distance-bar {
  display: inline-block;
  width: 11%;
}

.wcmlim-map-widgets .search-filter-submit-button {
  width: 20%;
  display: inline-block;
}

.wcmlim-map-widgets .search-filter-submit-button .btn-primary {
  background: #f9f9f9;
  opacity: 0.6;
  transition: 600ms ease-in-out;
  color: #000000 !important;
  padding: 0px;
  width: 68%;
  height: 29px !important;
}

.rlist_location {
  margin-top: -2%;
}

.search-filter-submit-button .btn-primary:hover {
  opacity: 0.9;
  transition: 600ms ease-in-out;
}

.wcmlim-map-widgets .locator-store-block .map-prod-details {
  padding: 0 5px;
}

.map-prod-details a.map_cont_prod_link {
  color: #020202;
  border: 1px dotted gray;
  padding: 4px;
  font-weight: 500;
  font-size: 10px;
  margin: 4px 4px !important;
  display: inline-block;
}

.map-prod-details a.map_prod_instock {
  background: #1eb72521;
}

.map-prod-details a.map_prod_outstock {
  background: #b7271e21;
}

.locator-store-block .map-prod-details {
  padding: 0 10px;
  height: 66px;
  overflow-y: scroll;
}

.search-filter-toggle_parameter {
  margin-top: -1rem;
  width: 102.4%;
}

.list-view-locations .wcmlim-map-sidebar-list .locator-store-block {
  width: 100%;
}

.wcmlim-map-widgets .wcmlim-map-sidebar-list .locator-store-block h4,
.wcmlim-map-widgets .wcmlim-map-sidebar-list .locator-store-block p,
.wcmlim-map-widgets .wcmlim-map-sidebar-list .locator-store-block .marker-btn-1,
.wcmlim-map-widgets .wcmlim-map-sidebar-list .locator-store-block .marker-btn-2,
.wcmlim-map-widgets .wcmlim-map-sidebar-list .locator-store-block .map-prod-details strong,
.wcmlim-map-widgets .wcmlim-map-sidebar-list .locator-store-block .map-prod-details br,
.wcmlim-map-widgets .gm-style-iw-d .map-prod-details {
  display: none;
}

.wcmlim-map-widgets .wcmlim-map-sidebar-list .locator-store-block .map-prod-details {
  background: transparent;
  padding: 5px;
  margin-bottom: 10px;
  height: auto;
  overflow: hidden;
}

.wclimlocsearch {
  width: 100%;
  max-width: 290px;
  background-color: #fff;
  position: absolute !important;
  z-index: 1000;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  padding: 5px;
  text-align: center;
  transform: translate(0, 37px);
  /* width: 40%; */
}

@media screen and (max-width: 1600px) {
  .wclimlocsearch {
    max-width: 230px; 
  }
}

@media screen and (max-width: 1440px) {
  .wclimlocsearch {
    max-width: 200px; 
  }
}

.wclimlocsearch a {
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  color: inherit !important;
  /* margin-left: 13px; */
}

.locsoldout {
  padding: 5px 10px;
  text-align: center;
  background: #ff0505;
  color: white;
  font-weight: bold;
  position: absolute;
  top: 2px;
  right: 0px;
  width: 100%;
  font-size: initial;
  z-index: 1;
}

.search-filter-toggle_parameter_prod .chosen-container,
.search-filter-toggle_parameter_cat .chosen-container {
  width: 60% !important;
  height: 31px !important;
}

.search-filter-toggle_parameter .map-search-by-btn {
  font-weight: 400 !important;
  /* float: right; */
  padding: 7px;
  font-size: 14px;
  border: 1px solid #ffffff63;
  background: #fffffff0;
  color: #3e3d3d;
  margin: 0 8px;
  font-size: 13px;
  margin: 0;
  height: 33px;
  align-items: center;
  box-sizing: border-box;
  border-radius: 7px;
  color: #1e1e1e;
  background: white;
  margin-top: 6px;
}

.wcmlim_fe_right,
.wcmlim_fe_left {
  display: inline-block;
}

.wcmlim_fe_right label,
.wcmlim_fe_left label {
  display: block !important;
  font-size: 12px !important;
  color: #504d4d;
}

.wcmlim_fe_location-mini-store {
  height: 245px;
  box-shadow: -1px 8px 38px rgb(0 0 0 / 17%), 1px 7px 6px rgb(0 0 0 / 15%);
  padding: 1rem;
  margin: 1rem 0;
  background: #f5f5aa17;
}

.wcmlim_fe_left .fa,
.wcmlim_fe_right .fa {
  font-size: 17px !important;
  margin-right: 9px;
  text-align: center;
  height: 18px;
  width: 25px;
  margin: 5px;
  color: #1e8bdcf5;
}

.wcmlim_fe_location-mini-store .location_name {
  text-align: left;
  margin-top: 0rem;
  margin-left: 1%;
  font-size: 30px !important;
  font-weight: 800;
  color: gray;
  margin-bottom: 5px;
}

.wcmlim_fe_location-mini-store .get_direction {
  width: 100%;
  margin-bottom: 0.5rem;
  margin-right: 2%;
  color: #ffffff !important;
  display: inline-block;
  text-align: center;
  padding: 0rem;
  background: #6d6f71;
  margin: 0.3rem 0;
}

.wcmlim-map-loader {
  text-align: center;
  vertical-align: middle;
  margin-top: 25%;
  color: #80808094;
}

/* Radio feature listing*/
.wcmlradio_box.rselect_location {
  display: grid;
  flex-wrap: wrap;
  justify-content: space-between;
  grid-template-columns: repeat(1,minmax(0,1fr));
  gap: 10px;
  padding: 5px;
}

.wclimhalf.wcmlradio_box.rselect_location {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.rselect_location .wclimrow.wclimrw_0,
.rlist_location .scwclimrw_0 {
  display: none;
}

.rselect_location.wclimscroll {
  overflow: auto;
}

.rselect_location.wclimfull .wclimrow,
.rselect_location.wclimscroll .wclimrow {
  width: 100%;
}

.rselect_location.wclimhalf .wclimrow {
  width: 100%;
}

.rselect_location.wclimthird .wclimrow {
  width: 100%;
}

.wclimthird.wcmlradio_box.rselect_location {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.rselect_location .wclimrow {
  border: 1px solid #dddddd;
  padding: 5px;
  border-radius: 5px;
  /* margin: 5px; */
  background: #fafafa;
  display: inline-flex;
  margin-right: 5px;
  align-items: baseline;
}

.rselect_location .wclimrow input.wclimcol1 {
  transform: translateY(4px);
}

.rselect_location .wclimcol2 p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.rselect_location p:first-child {
  font-weight: 600;
}

.rselect_location p.outof_stockupp {
  color: #ff0505;
}

.rselect_location p.stockupp {
  color: #0f834d;
  grid-column: span 2 / span 2;
}

.rselect_location.wclimadvlist .wclimcol2 p.stockupp,
.rselect_location .wclimcol2.addShow p.stockupp {
  grid-column: unset;
}

.rselect_location .wclimcol2 {
  padding: 0 10px;
}

.scwclimrow {
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 25px;
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
  padding: 8px 16px;
  margin: 2px;
  min-width: fit-content;
  user-select: none;
}

.scwclimrow:hover {
  background: #e6f3ff;
  border-color: #187dc7;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.scwclimrow input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.scwclimrow input[type="radio"]:checked + .scwclimcol2 {
  color: white;
}

.scwclimrow input[type="radio"]:checked {
  background: #187dc7;
}

.scwclimrow:has(input[type="radio"]:checked) {
  background: #187dc7;
  border-color: #155a99;
  color: white;
  box-shadow: 0 4px 12px rgba(24, 125, 199, 0.3);
}

.scwclimcol2 {
  padding: 0;
  display: block;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.scwclimcol2 p {
  padding: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.rlist_location {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  max-width: 100%;
  align-items: flex-start;
  justify-content: flex-start;
}

.wc_scrolldown {
  text-align: center;
  padding-top: 10px;
}

.wc_scrolldown i.a-chevron-circle-down {
  color: #666;
}

.wc_scrolldown p {
  line-height: 1.8;
  padding: 0 !important;
  margin: 0 !important;
  color: #666;
}

/*Map showrtcode responsive css starts here*/
@media only screen and (max-width: 600px) {
  .wcmlim-map-widgets .search-filter-toggle_parameter {
    display: inline-grid;
  }

  .wcmlim-map-widgets {
    height: 980px;
    overflow: scroll;
  }

  .search-filter-toggle_parameter .map-search-by-btn {
    margin: 4px 8px;
  }

  .wcmlim-map-widgets .multiselect {
    width: 100%;
  }

  .wcmlim-map-widgets .search-filter-submit-button,
  .wcmlim-map-widgets .search-bar,
  .wcmlim-map-widgets .distance-bar,
  .wcmlim-map-widgets .range-bar,
  .wcmlim-map-widgets .block-1,
  .wcmlim-map-widgets .block-2,
  .wcmlim-map-widgets .chosen-container {
    width: 100%;
    display: block;
    position: inherit;
  }

  .wcmlim-map-widgets #elementIdGlobalMap {
    width: 92%;
  }

  .wcmlim-map-widgets #rangedisplay {
    font-size: 12px;
  }
}

/*Map showrtcode responsive css ends here*/
.wcmlim_cart_valid_err {
  border: 1px dotted #ff00003d;
  padding: 6px;
  color: grey;
  background: #ff000014;
  margin: 10px 0;
  font-weight: 500;
  color: #000000c2;
  margin-top: 10px;
  
}

.wcmlim_cart_valid_err button {
  font-size: 14px;
  padding: 6px;
  width: 100%;
  background: #cd5c5c;
  color: white;
  margin: 6px 0;
  transition: 0.3s;
}

.wcmlim_cart_valid_err button:hover {
  background: #cd5c5c3d;
  color: #100e0e;
  transition: 0.3s;
}

/* Force to visit location css*/

.swal2-radio.wcmlimForcedInput {
  flex-wrap: wrap;
}

.wcmlimForcedInput>label {
  padding: 5px;
  margin: 10px 5px !important;
  box-shadow: 5px 5px 30px 7px rgb(0 0 0 / 25%),
    -5px -5px 30px 7px rgb(0 0 0 / 22%);
  cursor: pointer;
  transition: 0.4s;
  border-radius: 5px;
}

.wcmlimForcedInput>label:hover {
  transform: scale(0.9, 0.9);
  box-shadow: 5px 5px 30px 15px rgb(0 0 0 / 25%),
    -5px -5px 30px 15px rgb(0 0 0 / 22%);
  cursor: pointer;
}

.pac-container {
  z-index: 9999 !important;
}

/* Hide plugin section from wc product table list page */

.wc-product-table-wrapper .Wcmlim_container.wcmlim_product {
  display: none;
}

.wc-product-table-wrapper #globMsg {
  display: none;
}

.main-cont {
  display: inline;
  /* float: right; */
}

.wcmlim-lc-switch {
  display: flex;
  justify-content: left;
  margin-left: 10%;
  padding-top: 5px;
  overflow: auto;
}

.wcmlim-lc-switch form {

  margin-bottom: 0 !important;
}

.wcmlim-lc-select-2 {
  display: block !important;
}

.local_pickup_address_html {

  text-align: left;
}

.exclude_prod_onfront1 {
  color: rgb(255, 110, 110)
}

.exclude_prodg_onfront1 {
  color: rgb(255, 110, 110)
}

.shipping-pickup-store .message {
  text-align: left !important;
}

div#set-def-store input[type=radio] {
  margin-right: 8px !important;
  margin-top: 0 !important;
  flex-shrink: 0 !important;
}

.wclimadvlist .wclimrow {
  width: 100%;
}

.wclimadvlist input[type=radio] {
  display: none;
}

ul.wc-item-meta li:nth-last-child(1) {
  display: none;
}

/* ul.wc-item-meta li:nth-last-child(2) {
  display: none;
} */

.inline_wcmlim_lc .postcode-checker-change {
  color: initial !important;
}

.set-def-store-popup-btn {
  padding-top: 25px !important;
}

.wcmlim_sel_location.wcmlim_storeloc .rlist_location {
  display: none !important;
}

div#set-def-store .wcmlim_sel_location.wcmlim_storeloc .rlist_location {
  display: inline-flex !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  flex-wrap: nowrap !important;
  max-width: 100% !important;
  white-space: nowrap !important;
}

div#set-def-store .wcmlim_sel_location.wcmlim_storeloc .wcmlim_change_sl_to {
  display: inline-flex !important;
  margin: 0px !important;
}

p#wcmlim_store_label_popup {
  margin: 0px !important;
}

.inline_wcmlim_lc {
  padding: 18px 0 !important;
  padding-bottom: 0px !important;
}

div#set-def-store .inline_wcmlim_lc {
  padding: 10px 0 !important;
}

div#set-def-store .wcmlim-lc-switch {
  display: flex;
  justify-content: left;
  margin-left: 0px;
  padding-top: 5px;
}

/* Popup horizontal location list styling - Tag design */
div#set-def-store .scwclimrow {
  display: inline-block !important;
  position: relative !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 2px solid #d0d0d0 !important;
  padding: 10px 18px !important;
  margin: 3px !important;
  min-width: fit-content !important;
  user-select: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

div#set-def-store .scwclimrow:hover {
  background: #e8f4fd !important;
  border-color: #187dc7 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(24, 125, 199, 0.15) !important;
}

div#set-def-store .scwclimrow:has(input[type="radio"]:checked) {
  background: #187dc7 !important;
  border-color: #155a99 !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(24, 125, 199, 0.4) !important;
  transform: translateY(-1px) !important;
}

div#set-def-store .scwclimrow input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  cursor: pointer !important;
  z-index: 1 !important;
  top: 0 !important;
  left: 0 !important;
}

div#set-def-store .scwclimcol2 {
  padding: 0 !important;
  display: block !important;
  pointer-events: none !important;
  position: relative !important;
  z-index: 2 !important;
}

div#set-def-store .scwclimcol2 p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #444 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  transition: color 0.3s ease !important;
}

div#set-def-store .scwclimrow:has(input[type="radio"]:checked) .scwclimcol2 p {
  color: white !important;
}

/* Add focus styles for accessibility */
div#set-def-store .scwclimrow:focus-within {
  outline: 2px solid #187dc7 !important;
  outline-offset: 2px !important;
}

/* Add active state */
div#set-def-store .scwclimrow:active {
  transform: scale(0.98) !important;
}

/* Add loading state indicator if needed */
div#set-def-store .rlist_location.loading::before {
  content: "Loading locations..." !important;
  display: block !important;
  text-align: center !important;
  padding: 20px !important;
  color: #666 !important;
  font-style: italic !important;
}

/* Empty state - only show when container is visible and not hidden */
div#set-def-store .rlist_location:empty::before {
  content: "No locations available" !important;
  display: block !important;
  text-align: center !important;
  padding: 20px !important;
  color: #999 !important;
  font-style: italic !important;
}

/* Hide empty state message when container is explicitly hidden - highest specificity */
div#set-def-store .rlist_location[style*="display: none"]:empty::before,
div#set-def-store .rlist_location[style*="display:none"]:empty::before,
div#set-def-store .rlist_location.wcmlim-hidden:empty::before,
div#set-def-store .wcmlim_sel_location[style*="display: none"] .rlist_location:empty::before,
div#set-def-store .wcmlim_sel_location[style*="display:none"] .rlist_location:empty::before {
  display: none !important;
  content: none !important;
}

/* Add class-based hiding for better control */
div#set-def-store .rlist_location.wcmlim-hidden {
  display: none !important;
}

/* Additional safety rule - if parent containers are hidden, don't show empty message */
div#set-def-store [style*="display: none"] .rlist_location:empty::before,
div#set-def-store [style*="display:none"] .rlist_location:empty::before {
  display: none !important;
  content: none !important;
}

/* JavaScript-controlled suppression class */
div#set-def-store .rlist_location.wcmlim-suppress-empty:empty::before {
  display: none !important;
  content: none !important;
}

/* Fallback for browsers that don't support :has() selector */
div#set-def-store .scwclimrow.selected {
  background: #187dc7 !important;
  border-color: #155a99 !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(24, 125, 199, 0.4) !important;
  transform: translateY(-1px) !important;
}

div#set-def-store .scwclimrow.selected .scwclimcol2 p {
  color: white !important;
}

/* Add tabindex for keyboard navigation */
div#set-def-store .scwclimrow {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
}

/* Improve accessibility with better focus indicators */
div#set-def-store .scwclimrow:focus {
  outline: 2px solid #187dc7 !important;
  outline-offset: 2px !important;
}

/* Add ripple effect on click */
div#set-def-store .scwclimrow::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 0 !important;
  height: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translate(-50%, -50%) !important;
  transition: width 0.3s, height 0.3s !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

div#set-def-store .scwclimrow:active::before {
  width: 100px !important;
  height: 100px !important;
}

/* Ensure text stays above ripple effect */
div#set-def-store .scwclimrow .scwclimcol2 {
  position: relative !important;
  z-index: 3 !important;
}

div#set-def-store .main-cont {
  margin-left: 0px;
  text-align: left !important;
  width: 100% !important;
  overflow-x: auto !important;
}

.scwclimcol2 {
  padding: 0 5px !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

select#wcmlim-change-sl-select {
  margin-right: 10px;

}

.wclimcol2 {
  display: grid;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 10px;
}

.wclimadvlist .wclimcol2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wclimcol2.addShow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wclimhalf .wclimcol2 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.wclimhalf .wclimcol2.addShow .wcmlim_detadd {
  grid-column: unset;
}



.wclimthird .wclimcol2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.salep_regp_stockc {
  display: flex;
  padding-left: 15px !important;
}

.locationInner h2 {
  padding: 8px 16px !important;
}

#locationList .salep_regp_stockc p.form-field {
  padding: 0px !important;
}

.salep_regp_stockc .woocommerce.scroll.stock_qty_single,
.salep_regp_stockc .woocommerce.wcmlim_product_regular_price,
.salep_regp_stockc .woocommerce.wcmlim_product_sale_price {
  width: 90% !important;
}

.salep_regp_stockc label {
  margin: 0px !important;
}

.salep_regp_stockc label {
  width: 170px !important;
}

.rselect_location p:first-child {
  width: 70px !important;
}

#locationList p {
  padding: 5px 16px;
}

.locationInner h2 {
  line-height: 1 !important;
}

h4.Wcmlim_box_title {
  margin: 0px !important;
}

.Wcmlim_box_header {
  padding: 0px !important;
}
.wcmlim_form_box{
  display: flex!important;
  flex-wrap: wrap;
  justify-content: space-between;
}
/* Popup location list improvements - Tag-like design */
div#set-def-store .wcmlim_sel_location.wcmlim_storeloc {
  display: flex!important;
  margin: 10px;
  width: 100% !important;
  overflow: visible !important;
}

div#set-def-store .wcmlim_sel_location.wcmlim_storeloc .rlist_location {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 15px !important;
  max-width: 100% !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  justify-content: center !important;
}

/* Custom scrollbar for popup */
div#set-def-store .rlist_location::-webkit-scrollbar {
  width: 6px;
}

div#set-def-store .rlist_location::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

div#set-def-store .rlist_location::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

div#set-def-store .rlist_location::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Mobile responsive adjustments for popup location list - Tag design */
@media (max-width: 768px) {
  div#set-def-store .rlist_location {
    gap: 8px !important;
    padding: 12px !important;
    max-height: 250px !important;
  }
  
  div#set-def-store .scwclimrow {
    padding: 8px 14px !important;
    margin: 2px !important;
  }
  
  div#set-def-store .scwclimcol2 p {
    font-size: 13px !important;
  }
  
  div#set-def-store .rlist_location::-webkit-scrollbar {
    width: 4px;
  }
}

@media (max-width: 480px) {
  div#set-def-store .scwclimrow {
    padding: 6px 12px !important;
    margin: 1px !important;
  }
  
  div#set-def-store .scwclimcol2 p {
    font-size: 12px !important;
  }
  
  div#set-def-store .rlist_location {
    gap: 6px !important;
    padding: 10px !important;
  }
}
#wcmlim-change-lc-select{
  height: fit-content !important;
}
#wcmlim_store_label_popup{
  height: fit-content !important;
}
select#wcmlim-change-sl-select {
  height: fit-content;
}
.class_post_code_global{
  margin-bottom: 10px;
  width: 65%;
}
p.wcmlim_change_sl_to{
  margin-right: 2px!important;
}
p#wcmlim_store_label_popup{
  margin-right: 2px!important;
}
.inline_wcmlim_lc{
  padding: 10px 0px !important;
}
.postcode-checker-div.postcode-checker-div-show {
  display: inline-flex;
  width: 100%;
  justify-content: space-between;
}
input#elementId {
  width: 100%;
}
.zipcode_div {
  width: 65%;
}
.related-product-item li{
  list-style: none;
  text-align: center;
}
.related-products-grid{
  display: flex;
  justify-content: space-between;
}
.related-product-item{
  margin: 0px 10px;
}
.related-product-item  h2.woocommerce-loop-product__title{
  font-size: 16px !important;
  margin: 5px;
}
.related-product-item .price{
  display: block;
}
.wcmlim_shortcode_block {
  margin-bottom: 29%;
}

.wcmlim_wrapper_adv_list_view .wclimcol2 > p:nth-of-type(1) {
	grid-column: 1;
	grid-row: 1;  
}
.wcmlim_wrapper_adv_list_view .wclimcol2 > p:nth-of-type(2) {
  grid-column: 2;
	grid-row: 1;  
}
.wcmlim_wrapper_adv_list_view .wclimcol2 > .w-50:nth-last-of-type(1) {
  grid-column: 3;
  grid-row: 2;    
}
.wcmlim_wrapper_adv_list_view .wclimcol2 > .w-50:nth-last-of-type(2) {
  grid-column: 2;
  grid-row: 2;
}
.location-stock-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.location-stock-card {
  width: calc(33.33% - 10px); /* Make it 3 cards per row */
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.location-stock-card:hover {
  transform: scale(1.05);
}

.location-icon-name {
  margin-bottom: 10px;
}

.location-icon {
  font-size: 20px;  /* Smaller icon size */
  margin-bottom: 5px;
  color: #333;
}

.location-name {
  font-size: 16px;
  font-weight: bold;
  color: #444;
  margin-bottom: 10px;
}

.location-stock {
  font-size: 14px;
  color: #555;
}

.location-stock-card.selected {
  border: 2px solid #4CAF50; /* Green border to show selected card */
  background-color: #e8f5e9; /* Light green background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.location-stock-card.selected .location-icon {
  color: #4CAF50; /* Change icon color when selected */
}

.location-stock-card.selected .location-name {
  color: #388E3C; /* Darker color for selected location name */
}

p.outof_stockupp.stockupp {
  color: red;
}

div#locationDetails {
  border-radius: 10px;
  box-shadow: 0px 0px 5px 0px #0000003b;
  padding: 15px;
  margin: 10px;
}

/* Multi-select checkbox widget styles */
.wcmlim_multiselect_checkbox_form .wcmlim_checkbox_list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  background: #fff;
}

.wcmlim_multiselect_checkbox_form .wcmlim_checkbox_item {
  display: block;
  padding: 8px 5px;
  margin: 0;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.wcmlim_multiselect_checkbox_form .wcmlim_checkbox_item:last-child {
  border-bottom: none;
}

.wcmlim_multiselect_checkbox_form .wcmlim_checkbox_item:hover {
  background-color: #f5f5f5;
}

.wcmlim_multiselect_checkbox_form .wcmlim_checkbox_item input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}

.wcmlim_multiselect_checkbox_form .wcmlim_checkbox_item span {
  vertical-align: middle;
}

.wcmlim_multiselect_checkbox_form .wcmlim_location_search_container {
  display: flex;
  gap: 10px;
}

.wcmlim_multiselect_checkbox_form .wcmlim_location_search_container .button {
  flex: 1;
  text-align: center;
}
