/* Shop search results only. The module landing page uses its own discovery styles. */
.shop-search-main {
  width: min(94%, 1440px);
  margin: 0 auto;
  padding: 22px 0 60px;
  color: #103f36;
}
.shop-search-main * { box-sizing: border-box; }
.shop-search-toolbar {
  margin: 0 0 30px;
  padding: 18px;
  border: 1px solid #e5ebe6;
  border-radius: 16px;
  background: #fff;
}
.shop-search-toolbar form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 285px) 145px;
  gap: 10px;
  max-width: 1080px;
  margin: 0 auto;
}
.shop-search-query, .shop-search-district {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 48px;
  border: 1px solid #cfdad4;
  border-radius: 9px;
  background: #fff;
}
.shop-search-query:focus-within, .shop-search-district:focus-within {
  border-color: #145447;
  box-shadow: 0 0 0 3px #14544720;
}
.shop-search-field-icon {
  flex: none;
  width: 43px;
  color: #145447;
  text-align: center;
  font-size: 24px;
  line-height: 1;
}
.shop-search-district .shop-search-field-icon { font-size: 10px; }
.shop-search-query input, .shop-search-district select {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 13px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #243831;
  font: inherit;
  font-size: 15px;
}
.shop-search-query input::placeholder { color: #8b968f; }
.shop-search-toolbar button, .shop-search-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  background: #145447;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.shop-search-toolbar button:hover, .shop-search-view-button:hover {
  background: #103f36;
  color: #fff;
  text-decoration: none;
}
.shop-search-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 25px;
}
.shop-search-sidebar { position: sticky; top: 100px; margin-top: 30px; }
.shop-search-filters {
  border: 1px solid #e3e9e2;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 28px #103f3608;
}
.shop-search-filters > summary { display: none; }
.shop-search-filter-body { display: block; padding: 23px 21px 25px; }
.shop-search-filter-body h2 {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}
.shop-search-filter-body section + section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #edf0eb;
}
.shop-search-filter-body h3 {
  margin: 0 0 11px;
  font-size: 15px;
  font-weight: 800;
}
.shop-search-options {
  display: grid;
  gap: 3px;
  max-height: 275px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}
.shop-search-current-options { max-height: none; overflow: visible; }
.shop-search-more { margin-top: 5px; }
.shop-search-more > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 2px;
  color: #145447;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.shop-search-more > summary::-webkit-details-marker { display: none; }
.shop-search-more > summary:hover { text-decoration: underline; }
.shop-search-more > summary > span:last-child { transition: transform .2s; }
.shop-search-more[open] > summary > span:last-child { transform: rotate(180deg); }
.shop-search-more-collapse, .shop-search-more[open] .shop-search-more-expand { display: none; }
.shop-search-more[open] .shop-search-more-collapse { display: inline; }
.shop-search-more-options { margin-top: 3px; }
.shop-search-picker { padding-top: 3px; }
.shop-search-more-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
  color: #56645b;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}
.shop-search-more-options label:hover { color: #145447; }
.shop-search-more-options input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #145447;
}
.shop-search-more-options label:has(input:checked) { color: #103f36; font-weight: 700; }
.shop-search-more-options label small { margin-left: auto; color: #8b988f; font-size: 11px; font-weight: 400; text-align: right; }
.shop-search-apply {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: #145447;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.shop-search-apply:hover { background: #103f36; }
.shop-search-reset {
  display: block;
  margin-top: 23px;
  padding: 11px 12px;
  border: 1px solid #c7d9cf;
  border-radius: 8px;
  color: #145447;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}
.shop-search-reset:hover { background: #eaf2eb; text-decoration: none; }
.shop-search-reset.is-disabled { color: #9baaa0; border-color: #e4eae5; cursor: default; }
.shop-search-options a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 2px;
  color: #56645b;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}
.shop-search-options a small { margin-left: auto; color: #8b988f; font-size: 11px; font-weight: 400; text-align: right; }
.shop-search-options a:hover { color: #145447; text-decoration: none; }
.shop-search-options a.is-selected { color: #103f36; font-weight: 700; }
.shop-search-check {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid #bbc8c0;
  border-radius: 4px;
  background: #fff;
}
.is-selected .shop-search-check { border-color: #145447; background: #145447; }
.is-selected .shop-search-check::after {
  width: 8px;
  height: 4px;
  margin-top: -2px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(-45deg);
}
.shop-search-extra-filters { display: grid; gap: 11px; }
.shop-search-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  color: #103f36;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.shop-search-toggle-row:hover { color: #145447; text-decoration: none; }
.shop-search-toggle {
  position: relative;
  flex: none;
  width: 39px;
  height: 23px;
  border-radius: 999px;
  background: #cbd1cd;
  transition: background .2s;
}
.shop-search-toggle::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform .2s;
}
.shop-search-toggle.is-on { background: #145447; }
.shop-search-toggle.is-on::after { transform: translateX(16px); }
.shop-search-heading { margin: 2px 0 18px; }
.shop-search-accent {
  display: block;
  width: 54px;
  height: 6px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #f4b544;
}
.shop-search-heading h1 {
  margin: 0;
  color: #103f36;
  font-size: clamp(30px, 2.8vw, 43px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.035em;
}
.shop-search-heading > p { margin: 6px 0 0; color: #64756b; font-size: 16px; }
.shop-search-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.shop-search-active-filters a:not(.shop-search-clear) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e3f0e7;
  color: #145447;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.shop-search-active-filters a:hover { text-decoration: underline; }
.shop-search-active-filters .shop-search-clear {
  margin-left: 4px;
  color: #406657;
  font-size: 12px;
  font-weight: 700;
}
.shop-search-list { display: grid; gap: 13px; }
.shop-search-card {
  display: grid;
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr) minmax(195px, 23%);
  min-height: 205px;
  overflow: hidden;
  border: 1px solid #e4eae3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px #103f3608;
}
.shop-search-card-photo {
  position: relative;
  display: block;
  min-height: 205px;
  overflow: hidden;
  background: #edf2ec;
  color: #658171;
}
.shop-search-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}
.shop-search-card-photo:hover img { transform: scale(1.035); }
.shop-search-photo-empty {
  display: grid;
  height: 100%;
  place-items: center;
  font-size: 76px;
}
.shop-search-photo-caption {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  font-size: 12px;
  text-align: center;
}
.shop-search-card-main { min-width: 0; padding: 19px 21px 15px; }
.shop-search-card-main h2 {
  margin: 0;
  color: #103f36;
  font-size: clamp(19px, 1.5vw, 23px);
  font-weight: 800;
  line-height: 1.2;
}
.shop-search-card-main h2 a { color: inherit; text-decoration: none; }
.shop-search-card-main h2 a:hover { text-decoration: underline; }
.shop-search-card-place {
  margin: 7px 0 0;
  color: #5e6a63;
  font-size: 13px;
}
.shop-search-card-place span { margin-right: 5px; color: #f08524; }
.shop-search-card-description {
  display: -webkit-box;
  max-width: 620px;
  margin: 12px 0 9px;
  overflow: hidden;
  color: #4e5d54;
  font-size: 13px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.shop-search-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.shop-search-card-tags span {
  max-width: 100%;
  padding: 5px 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0f3f0;
  color: #51675a;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-search-card-tags .shop-search-promotion-tag { background: #fff1d5; color: #805d1c; }
.shop-search-card-freshness {
  margin: 10px 0 0;
  color: #78867c;
  font-size: 11px;
}
.shop-search-card-freshness .shop-search-stale { color: #9c6040; }
.shop-search-card-unclaimed { margin: 4px 0 0; color: #78867c; font-size: 11px; }
.shop-search-card-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 17px;
  margin: 19px 0;
  padding: 0 20px;
  border-left: 1px solid #e7ece6;
}
.shop-search-card-status { display: flex; align-items: flex-start; gap: 12px; }
.shop-search-store-icon { color: #145447; font-size: 33px; line-height: 1; }
.shop-search-card-status strong {
  display: block;
  margin-top: 2px;
  color: #145447;
  font-size: 13px;
}
.shop-search-card-status strong.is-closed { color: #95611e; }
.shop-search-card-status strong.is-muted { color: #5e6d63; }
.shop-search-card-status small {
  display: block;
  margin-top: 5px;
  color: #78847b;
  font-size: 11px;
  line-height: 1.35;
}
.shop-search-view-button { min-height: 44px; gap: 10px; font-size: 14px; }
.shop-search-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; color: #596a60; font-size: 13px; }
.shop-search-pagination a { padding: 8px 12px; border: 1px solid #d7e2d9; border-radius: 8px; color: #145447; text-decoration: none; }
.shop-search-pagination a:hover { background: #eaf2eb; }
.shop-search-empty {
  padding: 60px 24px;
  border: 1px solid #e4eae3;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.shop-search-empty > span { color: #a2b5a7; font-size: 62px; }
.shop-search-empty h2 { margin: 4px 0 8px; font-size: 23px; }
.shop-search-empty p { margin: 0 0 12px; color: #627368; }
.shop-search-empty a { color: #145447; font-weight: 700; }
.shop-search-main a:focus-visible, .shop-search-main button:focus-visible, .shop-search-main input:focus-visible, .shop-search-main select:focus-visible, .shop-search-main summary:focus-visible {
  outline: 3px solid #f4b544;
  outline-offset: 3px;
}
@media (max-width: 1120px) {
  .shop-search-layout { grid-template-columns: 235px minmax(0, 1fr); gap: 18px; }
  .shop-search-card { grid-template-columns: minmax(175px, 29%) minmax(0, 1fr) 175px; }
  .shop-search-card-main { padding: 16px; }
  .shop-search-card-side { padding: 0 14px; }
}
@media (max-width: 850px) {
  .shop-search-main { width: min(100% - 32px, 680px); padding-top: 18px; }
  .shop-search-layout { display: flex; flex-direction: column; gap: 20px; }
  .shop-search-sidebar, .shop-search-results { width: 100%; }
  .shop-search-sidebar { position: static; margin-top: 0; }
  .shop-search-filters > summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; font-weight: 750; cursor: pointer; list-style: none; }
  .shop-search-filters > summary::-webkit-details-marker { display: none; }
  .shop-search-filter-body { display: none; padding-top: 0; }
  .shop-search-filters[open] .shop-search-filter-body { display: block; }
  .shop-search-filter-body h2 { display: none; }
  .shop-search-toolbar { margin-bottom: 20px; }
  .shop-search-card { grid-template-columns: minmax(180px, 34%) minmax(0, 1fr); }
  .shop-search-card-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; margin: 0 16px 15px; padding: 12px 0 0; border-top: 1px solid #e7ece6; border-left: 0; }
  .shop-search-card-side .shop-search-view-button { min-width: 160px; }
}
@media (max-width: 600px) {
  .shop-search-toolbar { padding: 12px; }
  .shop-search-toolbar form { grid-template-columns: 1fr; }
  .shop-search-toolbar button { width: 100%; }
  .shop-search-heading h1 { font-size: 30px; }
  .shop-search-card { display: block; }
  .shop-search-card-photo { height: 190px; min-height: 0; }
  .shop-search-card-main { padding: 17px 17px 9px; }
  .shop-search-card-side { margin: 0 17px 17px; }
  .shop-search-card-side .shop-search-view-button { min-width: 125px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-search-toggle, .shop-search-toggle::after, .shop-search-card-photo img { transition: none; }
}

