html body:not(.admin-view):not(.merchant-view) .stores-page {
  overflow-x: clip;
}

html body:not(.admin-view):not(.merchant-view) .stores-hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(199, 154, 69, .14), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(152, 27, 69, .1), transparent 40%),
    #fcf9f5;
  border-bottom: 1px solid #eadfd6;
}

html body:not(.admin-view):not(.merchant-view) .stores-hero-inner,
html body:not(.admin-view):not(.merchant-view) .stores-shell {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}

html body:not(.admin-view):not(.merchant-view) .stores-hero-inner {
  padding-block: clamp(28px, 5vw, 64px);
  display: grid;
  gap: 8px;
  justify-items: start;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .breadcrumb {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #6b645f;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -6px;
  color: inherit;
  text-decoration: none;
}

html body:not(.admin-view):not(.merchant-view) .stores-hero h1 {
  margin: 0;
  color: #66001f;
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.25;
  text-wrap: balance;
}

html body:not(.admin-view):not(.merchant-view) .stores-hero p {
  margin: 0;
  max-width: 40rem;
  color: #6b6a5a;
  font-weight: 600;
  line-height: 1.6;
}

html body:not(.admin-view):not(.merchant-view) .stores-count {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(152, 27, 69, .08);
  color: #761235 !important;
  font-size: 13px !important;
}

html body:not(.admin-view):not(.merchant-view) .stores-shell {
  padding-block: 20px 48px;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .categories-scroll {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 4px 16px;
  justify-content: flex-start;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .categories-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .category-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 86px;
  max-width: 120px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #68705a;
  text-decoration: none;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .category-item-media,
html body:not(.admin-view):not(.merchant-view) .stores-page .category-item-media img {
  width: clamp(74px, 18vw, 90px);
  height: clamp(74px, 18vw, 90px);
  border-radius: 50%;
  object-fit: cover;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .category-item-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid #eadfd6;
  background: #f6f1e8;
  box-shadow: 0 6px 16px rgba(80, 20, 30, .06);
}

html body:not(.admin-view):not(.merchant-view) .stores-page .category-item.active .category-item-media {
  border-color: #66001f;
  box-shadow: 0 0 0 4px rgba(152, 27, 69, .12);
}

html body:not(.admin-view):not(.merchant-view) .stores-page .category-item strong {
  font-size: 13px;
  text-align: center;
  line-height: 1.3;
  white-space: normal;
}

html body:not(.admin-view):not(.merchant-view) .stores-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

html body:not(.admin-view):not(.merchant-view) .stores-search {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #eadfd6;
  border-radius: 16px;
  background: #f6f1e8;
}

html body:not(.admin-view):not(.merchant-view) .stores-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
}

html body:not(.admin-view):not(.merchant-view) .stores-search-busy {
  width: 16px;
  height: 16px;
  border: 2px solid #eadfd6;
  border-top-color: #66001f;
  border-radius: 50%;
  animation: stores-spin .7s linear infinite;
}

@keyframes stores-spin {
  to { transform: rotate(360deg); }
}

html body:not(.admin-view):not(.merchant-view) .stores-toolbar select,
html body:not(.admin-view):not(.merchant-view) .stores-toolbar .store-filter-toggle {
  min-height: 44px;
}

html body:not(.admin-view):not(.merchant-view) .stores-view-toggle {
  display: flex;
  gap: 6px;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-directory.stores-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(16px, 2vw, 28px) !important;
  width: 100% !important;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .directory-store {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #eadfd6;
  border-radius: 22px;
  background: #f6f1e8 !important;
  box-shadow: 0 10px 24px rgba(80, 20, 30, .06);
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-media {
  position: relative;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-cover {
  display: block;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-cover img {
  width: 100%;
  aspect-ratio: 16 / 7;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-logo {
  position: absolute;
  inset-inline-start: 16px;
  bottom: -28px;
  width: 72px;
  height: 72px;
  padding: 4px;
  border-radius: 50%;
  background: #f6f1e8;
  border: 1px solid #eadfd6;
  z-index: 2;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-logo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .directory-store .favorite-form,
html body:not(.admin-view):not(.merchant-view) .stores-page .directory-store > .store-heart,
html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-media .store-heart {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  z-index: 3;
  margin: 0;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-body {
  display: grid;
  gap: 8px;
  padding: 36px 16px 16px;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .directory-store h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 18px;
  color: #66001f;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .directory-store h2 a {
  color: inherit;
  text-decoration: none;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-desc,
html body:not(.admin-view):not(.merchant-view) .stores-page .directory-store p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: #5a544f;
  line-height: 1.5;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: #6b645f;
  font-size: 13px;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-status {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-status.open {
  background: rgba(104, 112, 90, .12);
  color: #4d5644;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-status.closed,
html body:not(.admin-view):not(.merchant-view) .stores-page .store-status.paused {
  background: rgba(152, 27, 69, .1);
  color: #761235;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-visit {
  background: #66001f !important;
  color: #fff !important;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-card-wa {
  border-color: #68705a !important;
  color: #68705a !important;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-branches-link {
  color: #66001f;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .directory-store.list-view,
html body:not(.admin-view):not(.merchant-view) .stores-page .store-directory.list-view .directory-store {
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-directory.list-view .store-card-cover img {
  aspect-ratio: 16 / 10;
  height: 100%;
}

html body:not(.admin-view):not(.merchant-view) .stores-page .store-directory.list-view .store-card-body {
  padding: 16px;
}

html body:not(.admin-view):not(.merchant-view) .stores-empty-actions,
html body:not(.admin-view):not(.merchant-view) .stores-more {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

html body:not(.admin-view):not(.merchant-view) .stores-town-filter {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-weight: 700;
}

@media (max-width: 899px) {
  html body:not(.admin-view):not(.merchant-view) .stores-page .store-filter-panel {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 80;
    max-height: min(78vh, 640px);
    overflow: auto;
    padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    background: #f6f1e8;
    transform: translateY(110%);
    transition: transform .2s ease;
  }

  html body:not(.admin-view):not(.merchant-view) .stores-page .store-filter-panel.open {
    transform: none;
  }

  html body:not(.admin-view):not(.merchant-view) .store-filter-scrim.open {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(30, 16, 18, .35);
  }
}

@media (min-width: 700px) {
  html body:not(.admin-view):not(.merchant-view) .stores-page .store-directory.stores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body:not(.admin-view):not(.merchant-view) .stores-page .category-item-media,
  html body:not(.admin-view):not(.merchant-view) .stores-page .category-item-media img {
    width: clamp(110px, 12vw, 140px);
    height: clamp(110px, 12vw, 140px);
  }

  html body:not(.admin-view):not(.merchant-view) .stores-page .categories-scroll {
    justify-content: center;
  }
}

@media (min-width: 900px) {
  html body:not(.admin-view):not(.merchant-view) .stores-toolbar {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
  }

  html body:not(.admin-view):not(.merchant-view) .stores-search {
    grid-column: auto;
  }

  html body:not(.admin-view):not(.merchant-view) .stores-page .store-filter-sheet-head {
    display: none;
  }

  html body:not(.admin-view):not(.merchant-view) .stores-page .store-filter-panel {
    display: block;
    position: static;
    padding: 0 0 16px;
    background: transparent;
    transform: none;
  }
}

@media (min-width: 1024px) {
  html body:not(.admin-view):not(.merchant-view) .stores-page .store-directory.stores-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1440px) {
  html body:not(.admin-view):not(.merchant-view) .stores-page .store-directory.stores-grid:not(.list-view) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
