﻿.shop-directory {
  padding: 0 0 48px;
  background: #f5f7fa;
  color: #153c59;
}
.shop-directory a {
  text-decoration: none;
}
.shop-directory a:focus-visible, .shop-directory button:focus-visible, .shop-directory input:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 3px;
}
.shop-directory__breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 0;
  color: #63788a;
  font-size: 13px;
}
.shop-directory__breadcrumb a {
  color: #63788a;
}
.shop-directory__breadcrumb i {
  font-size: 9px;
}
.shop-directory__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 38px 42px;
  border: 1px solid #d7e8f2;
  border-radius: 20px;
  background: linear-gradient(115deg, #edf7fc 0%, #f4faff 60%, #e0f0f8 100%);
  overflow: hidden;
}
.shop-directory__eyebrow {
  color: #007ab6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}
.shop-directory__intro {
  position: relative;
  z-index: 1;
}
.shop-directory__intro h1 {
  margin: 14px 0;
  color: #153c59;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
}
.shop-directory__intro h1 span {
  display: block;
  margin-top: 6px;
  color: #007ab6;
  font-size: 27px;
}
.shop-directory__intro > p {
  max-width: 480px;
  margin-bottom: 24px;
  color: #5a7487;
  font-size: 15px;
  line-height: 1.7;
}
.shop-directory__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border: 1px solid #c4dce9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 87, 118, 0.06);
}
.shop-directory__search > i {
  color: #007ab6;
  font-size: 20px;
}
.shop-directory__search input {
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #153c59;
  font-size: 14px;
}
.shop-directory__search button {
  flex-shrink: 0;
  padding: 12px 22px;
  border: 0;
  border-radius: 7px;
  background: #007ab6;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.shop-directory__search button:hover {
  background: #006294;
}
.shop-directory__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #607e91;
  font-size: 12px;
}
.shop-directory__illustration {
  position: relative;
  height: 265px;
}
.shop-directory__orbit {
  position: absolute;
  width: 245px;
  height: 245px;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #c6e0ed;
  border-radius: 50%;
  box-shadow: 0 0 0 23px rgba(255, 255, 255, 0.45), 0 0 0 45px rgba(255, 255, 255, 0.25);
}
.shop-directory__store {
  position: absolute;
  width: 208px;
  height: 168px;
  top: 48px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  border: 6px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 28px rgba(32, 92, 127, 0.15);
}
.shop-directory__awning {
  height: 38px;
  border-radius: 6px 6px 9px 9px;
  background: repeating-linear-gradient(90deg, #007ab6 0, #007ab6 28px, #79c5e3 28px, #79c5e3 56px);
}
.shop-directory__store > img {
  display: block;
  width: 97px;
  height: 30px;
  margin: 13px auto 10px;
  object-fit: contain;
}
.shop-directory__storefront {
  display: flex;
  justify-content: center;
  gap: 10px;
  height: 56px;
}
.shop-directory__storefront span {
  width: 72px;
  border: 3px solid #d9edf7;
  border-radius: 4px;
  background: linear-gradient(130deg, #eff9fd, #c6e6f4);
}
.shop-directory__storefront span:last-child {
  width: 40px;
}
.shop-directory__floating {
  position: absolute;
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border: 4px solid #fff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(32, 92, 127, 0.1);
  font-size: 23px;
}
.shop-directory__floating--bag {
  top: 25px;
  left: 5%;
  transform: rotate(-12deg);
  background: #fff3d8;
  color: #c88d22;
}
.shop-directory__floating--heart {
  bottom: 46px;
  right: 1%;
  transform: rotate(12deg);
  background: #ffedf0;
  color: #df7c89;
  font-size: 19px;
}
.shop-directory__caption {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  border: 1px solid #d9eaf3;
  border-radius: 8px;
  background: #fff;
  white-space: nowrap;
  color: #46677b;
  font-size: 12px;
}
.shop-directory__caption i {
  color: #32956a;
}
.shop-directory__results {
  margin-top: 34px;
}
.shop-directory__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.shop-directory__toolbar h2 {
  margin: 0 0 6px;
  color: #153c59;
  font-size: 23px;
  font-weight: 700;
}
.shop-directory__toolbar p {
  margin: 0;
  color: #6a7e8e;
  font-size: 13px;
}
.shop-directory__toolbar strong {
  color: #007ab6;
}
.shop-directory__sort {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.shop-directory__sort > span {
  margin-right: 6px;
  color: #6a7e8e;
}
.shop-directory__sort a {
  padding: 9px 15px;
  border: 1px solid #dfe6ed;
  border-radius: 7px;
  background: #fff;
  color: #536b7d;
}
.shop-directory__sort a:hover {
  border-color: #007ab6;
  color: #007ab6;
}
.shop-directory__sort a.is-active {
  border-color: #007ab6;
  background: #007ab6;
  color: #fff;
}
.shop-directory__filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: -4px 0 20px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.shop-directory__filter a {
  margin-left: 8px;
  color: #007ab6;
}
.shop-directory__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.shop-directory__item {
  min-width: 0;
}
.shop-directory__item .shop-card {
  height: 100%;
}
.shop-directory__item .shop-card__cover {
  aspect-ratio: 16/8;
}
.shop-directory__item .shop-card__body {
  gap: 8px;
  padding-bottom: 19px;
}
.shop-directory__item .shop-card__name {
  min-height: 2.6em;
  overflow-wrap: anywhere;
}
.shop-directory__item .shop-card__cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
}
.shop-directory__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.shop-directory__bottom > p {
  margin: 0;
  color: #6a7e8e;
  font-size: 13px;
}
.shop-directory__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.shop-directory__pagination a, .shop-directory__pagination span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 36px;
  padding: 0 7px;
  border-radius: 7px;
  color: #536b7d;
  font-size: 13px;
}
.shop-directory__pagination a {
  border: 1px solid #dfe6ed;
  background: #fff;
}
.shop-directory__pagination a:hover {
  border-color: #007ab6;
  color: #007ab6;
}
.shop-directory__pagination .is-active {
  background: #007ab6;
  color: #fff;
}
.shop-directory__pagination i {
  font-size: 10px;
}
.shop-directory__empty {
  padding: 58px 20px;
  border: 1px dashed #cbdce7;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.shop-directory__empty > span {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #edf7fc;
  color: #007ab6;
  font-size: 32px;
}
.shop-directory__empty h3 {
  color: #153c59;
  font-size: 21px;
}
.shop-directory__empty p {
  margin: 12px 0 22px;
  color: #637b8c;
  font-size: 14px;
}
.shop-directory__empty > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #007ab6;
  color: #fff;
  font-size: 14px;
}

@media (max-width: 991.98px) {
  .shop-directory__hero {
    padding: 28px;
    gap: 12px;
  }
  .shop-directory__intro h1 {
    font-size: 28px;
  }
  .shop-directory__intro h1 span {
    font-size: 23px;
  }
  .shop-directory__illustration {
    transform: scale(0.85);
  }
  .shop-directory__grid {
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .shop-directory {
    padding-bottom: 30px;
  }
  .shop-directory__breadcrumb {
    padding: 16px 0;
  }
  .shop-directory__hero {
    display: block;
    padding: 26px 20px;
    border-radius: 14px;
  }
  .shop-directory__illustration {
    display: none;
  }
  .shop-directory__intro h1 {
    font-size: 27px;
  }
  .shop-directory__intro h1 span {
    margin-top: 8px;
    font-size: 22px;
  }
  .shop-directory__intro > p {
    margin-bottom: 20px;
    font-size: 14px;
  }
  .shop-directory__search {
    gap: 7px;
    padding-left: 10px;
  }
  .shop-directory__search input {
    font-size: 12px;
  }
  .shop-directory__search button {
    padding: 12px;
    font-size: 12px;
  }
  .shop-directory__search > i {
    font-size: 17px;
  }
  .shop-directory__hint {
    font-size: 11px;
  }
  .shop-directory__results {
    margin-top: 26px;
  }
  .shop-directory__toolbar {
    gap: 14px;
  }
  .shop-directory__toolbar h2 {
    font-size: 21px;
  }
  .shop-directory__sort {
    width: 100%;
    gap: 5px;
  }
  .shop-directory__sort > span {
    margin-right: 2px;
    font-size: 12px;
  }
  .shop-directory__sort a {
    padding: 8px 12px;
    font-size: 12px;
  }
  .shop-directory__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .shop-directory__item .shop-card__logo {
    width: 50px;
    height: 50px;
    margin-top: -25px;
  }
  .shop-directory__item .shop-card__body {
    padding: 8px 7px 13px;
    gap: 7px;
  }
  .shop-directory__item .shop-card__name {
    font-size: 13px;
  }
  .shop-directory__item .shop-card__badge {
    padding: 3px 5px;
    white-space: normal;
    font-size: 10px;
  }
  .shop-directory__item .shop-card__cta {
    font-size: 12px;
    gap: 6px;
  }
  .shop-directory__bottom {
    justify-content: center;
  }
  .shop-directory__bottom > p {
    width: 100%;
    text-align: center;
  }
  .shop-directory__pagination {
    gap: 3px;
  }
  .shop-directory__pagination a, .shop-directory__pagination span {
    min-width: 29px;
    height: 34px;
    padding: 0 5px;
  }
  .shop-directory__empty {
    padding: 36px 16px;
  }
  .shop-directory__empty h3 {
    font-size: 18px;
  }
}
