/* ============================================================
   Stores page - premium redesign
   Royal Fishing Flies Kenya · theme pflat · page_name stores
   ============================================================ */

body#stores #center_column {
  padding-top: 6px;
}

body#stores .page-heading {
  margin: 0 0 22px;
  padding: 30px 32px;
  border-radius: 18px 18px 0 0;
  background:
    radial-gradient(120% 140% at 88% -10%, rgba(108, 194, 74, .30) 0%, rgba(108, 194, 74, 0) 55%),
    linear-gradient(135deg, #0b2418 0%, #16452a 42%, #2f7d3c 100%);
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(13, 42, 27, .22);
}

body#stores #map {
  width: 100%;
  height: 440px;
  margin: 0 0 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e7ece7;
  box-shadow: 0 12px 30px rgba(13, 42, 27, .10);
}

body#stores .store-title {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #4a5661;
  max-width: 70ch;
}

body#stores .store-title strong.dark {
  color: #1a2620;
  font-weight: 700;
}

body#stores .store-content {
  padding: 22px 24px;
  margin: 0 0 20px;
  background: #fbfcf9;
  border: 1px solid #e6ede2;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(13, 42, 27, .05);
}

body#stores .address-input,
body#stores .radius-input {
  margin-bottom: 14px;
}

body#stores .address-input label,
body#stores .radius-input label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #243247;
}

body#stores .store-content .form-control {
  height: 46px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #0b1220;
  background: #fff;
  border: 2px solid #c3cede;
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, .05);
  transition: border-color .2s ease, box-shadow .2s ease;
}

body#stores .store-content .form-control:focus {
  border-color: #2f7d3c;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(47, 125, 60, .16), inset 0 1px 2px rgba(16, 24, 40, .05);
}

body#stores #addressInput {
  width: 100%;
  max-width: 360px;
}

body#stores #radiusSelect {
  width: 100px;
}

body#stores .store-content button.button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: #2f7d3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

body#stores .store-content button.button:hover {
  background: #256530;
  transform: translateY(-1px);
}

body#stores #stores_loader {
  margin-left: 8px;
  vertical-align: middle;
}

body#stores .store-content-select.selector3 {
  margin: 0 0 18px;
}

body#stores .store-content-select.active {
  padding-top: 18px;
  border-top: 1px solid #e7ece7;
}

body#stores #locationSelect {
  max-width: 360px;
  visibility: hidden;
}

body#stores .store-content-select.active #locationSelect {
  visibility: visible;
}

body#stores #stores-table {
  display: none;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e7ece7;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

body#stores #stores-table thead th {
  padding: 12px 14px;
  background: #f7faf3;
  color: #1a2620;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid #e7ece7;
}

body#stores #stores-table tbody td {
  padding: 14px;
  font-size: 13px;
  color: #3f4756;
  border-top: 1px solid #f0f3ec;
  vertical-align: middle;
}

body#stores #stores-table tbody tr:hover td {
  background: #f7faf3;
}

body#stores #stores-table tbody td.num {
  background: #fbfcf9;
  width: 46px;
  font-weight: 700;
  color: #2f7d3c;
  text-align: center;
}

body#stores #stores-table tbody td.name span {
  padding-left: 8px;
}

@media (max-width: 767px) {
  body#stores #map {
    height: 320px;
  }
  body#stores .store-content .form-control {
    width: 100% !important;
  }
  body#stores #addressInput,
  body#stores #radiusSelect {
    max-width: 100%;
    width: 100%;
  }
  body#stores #stores-table tbody td.name img {
    display: none;
  }
}

@media (max-width: 600px) {
  body#stores .page-heading {
    padding: 24px 20px;
    font-size: 24px;
  }
}
/* ---------- premium location block ---------- */
body#stores .store-location {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  margin: 0 0 20px;
}

body#stores .store-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e7ece7;
  box-shadow: 0 12px 30px rgba(13, 42, 27, .10);
  background: #f7faf3;
  min-height: 320px;
}

body#stores .store-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

body#stores .store-details {
  background: #fbfcf9;
  border: 1px solid #e6ede2;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 6px 18px rgba(13, 42, 27, .05);
}

body#stores .store-detail-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

body#stores .store-detail-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: #3f4756;
  border-bottom: 1px solid #eef1ea;
  min-width: 0;
}

body#stores .store-detail-list li:last-child {
  border-bottom: 0;
}

body#stores .store-detail-list i {
  color: #2f7d3c;
  font-size: 14px;
  width: 16px;
  text-align: center;
}

body#stores .store-detail-list a {
  color: #2f7d3c;
  text-decoration: none;
  font-weight: 600;
}

body#stores .store-detail-list a:hover {
  text-decoration: underline;
}

body#stores .store-note {
  margin: 0 0 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5c6670;
}

body#stores .store-cta {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  background: #2f7d3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
}

body#stores .store-cta:hover {
  background: #256530;
  color: #fff;
}

@media (max-width: 860px) {
  body#stores .store-location {
    grid-template-columns: 1fr;
  }
  body#stores .store-map iframe {
    height: 280px;
  }
}
/* address overflow fix */
body#stores .store-detail-list li { min-width: 0; flex-wrap: nowrap; }
body#stores .store-detail-list li i { flex-shrink: 0; }
body#stores .store-detail-list li span,
body#stores .store-detail-list li a { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

/* text in front of wave overlay */
body#stores .page-heading { position: relative; z-index: 1; }
body#stores .page-heading::after { z-index: 0; }

/* The theme floats .page-subheading left at width:100%. That float squeezes the
   boxes below it that establish a new formatting context (the grid items of
   .store-detail-list) down to zero width and pushes them outside the card,
   so the address line ends up off to the right of the panel. */
body#stores .page-subheading {
  float: none !important;
  width: auto !important;
}
