/* ----------------------------------------- */
/* Store directory card grid — extracted verbatim from the original stores page
   inline "Content Template: template stores" CSS (#ct-extra-css), so the
   API-driven directory renders identically. Two obvious typos in the original
   media queries (a stray "." and trailing "," on font-size) are corrected so the
   declarations parse. */
/* ----------------------------------------- */
/* Give the directory more room than Elementor's default 1140px boxed width so each
   store card has more space for its logo + details. */
.elementor-1167 .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1400px;
}

.col-4 {
  float: left;
  border: 1px solid #e61b3e;
  width: 30%;
  height: 175px;
  border-radius: 4px;
  background-color: white;
  margin-bottom: 5%;
  margin-right: 1%;
  margin-left: 2%;
  padding: 10px;
  font-family: "Verlag";
}

.image { float: left; margin-right: 10px; width: 150px; }

.post-title { text-align: left; font-size: 16px; text-transform: uppercase; font-weight: 500; }

.post-title a { color: black; text-decoration: none; }

.paragraph { text-align: left; font-size: 14px; color: black; line-height: 0.5; }

.link a { color: #666; text-decoration: none; font-size: 12px; }

.color { color: red; font-size: 14px; text-align: left; }

/* PHONE */
@media (max-width: 480px) {
  .col-4 { width: 95%; text-align: center; }
  .paragraph { line-height: 0.5; font-size: 13px; }
  .post-title { margin-top: 0px; font-size: 15px; }
  .color { margin-top: -10px; }
  .col-12 { float: inherit; }
}

/* TABLET */
@media (min-width: 500px) and (max-width: 900px) {
  .col-4 { width: 45%; text-align: center; }
  .paragraph { line-height: 0.4; font-size: 14px; }
  .post-title { margin-top: 0px; font-size: 17px; }
  .color { margin-top: -10px; }
}

/* SPECIAL BREAKPOINT */
@media (width: 320px) {
  .paragraph { line-height: 0.3; font-size: 10px; }
  .post-title { margin-top: 0px; font-size: 12px; }
}

@media (width: 600px) {
  .col-4 { width: 70%; margin-left: 15%; text-align: center; }
}

/* ----------------------------------------- */
/* Filter bar — extracted verbatim from the original stores page "View slug:
   views-stores" CSS (#views-extra-css), so the search + Store Type + Floor +
   Coming Soon controls sit in one horizontal row like the original. */
/* ----------------------------------------- */
.row { width: 100%; }

.form-group select { background-color: white; border: 1px solid black; }

.col-3 { float: left; margin-bottom: 5%; width: 20%; margin-left: 5%; }

.search-style {
  width: 200px !important;
  height: 40px;
  border: 1px solid black !important;
  border-radius: 4px !important;
  color: black;
  text-align: center;
}

.option-style {
  width: 200px;
  height: 40px;
  border: 1px solid black;
  border-radius: 4px;
  color: black;
}

.check-style { width: 30px; margin-top: 10%; }

select {
  background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 95% 50%;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  height: 30px;
  width: 100px;
  padding: 5px;
}

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

@media (max-width: 480px) {
  .col-3 { float: inherit; margin-bottom: 0; width: inherit; margin-left: 0; text-align: center; }
  .search-style { width: 60% !important; }
  .option-style { width: 40%; margin-left: 5%; margin-right: 5%; float: left; margin-top: 10%; }
}

@media (min-width: 500px) and (max-width: 900px) {
  .col-3 { float: left; margin-bottom: 5%; margin-left: 0; text-align: center; }
  .option-style { width: 150px; }
  .search-style { width: 180px !important; }
}

/* ----------------------------------------- */
/* Balanced two-control filter bar. With only Search + Store Type left (Floor and
   Coming Soon removed), the original left-floated layout looked lopsided, so we
   centre the pair as an evenly-spaced group and give them room below the hero.
   Scoped to .store-filter-bar so it overrides the generic .col-3 float rules
   without affecting the card grid. */
/* ----------------------------------------- */
.store-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 40px;
  padding-top: 56px;
  margin-bottom: 44px;
}

.store-filter-bar .col-3 {
  float: none;
  width: auto;
  margin: 0;
}

/* Equal widths so the two controls read as a matched pair. */
.store-filter-bar .search-style,
.store-filter-bar .option-style {
  width: 260px !important;
  max-width: 78vw;
  margin: 0;
  float: none;
}

@media (max-width: 480px) {
  .store-filter-bar { padding-top: 32px; margin-bottom: 28px; gap: 16px; }
  .store-filter-bar .search-style,
  .store-filter-bar .option-style { width: 78vw !important; margin: 0; float: none; }
}

/* Reveal-on-scroll: the sentinel the Intersection Observer watches, and the hint
   shown while more stores remain. Both clear the floated card grid so they sit
   below it. */
.store-reveal-sentinel { clear: both; width: 100%; height: 1px; }
.store-scroll-hint {
  clear: both;
  text-align: center;
  padding: 8px 0 4px;
  font-family: "Verlag";
  color: #666;
}
