/* Facades, directions and reviews share the same store card on home and in the picker. */
.store-card.store-card-with-photo {
  gap: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.store-card-with-photo .store-facade {
  position: relative;
  display: block;
  width: 100%;
  height: 145px;
  overflow: hidden;
  background: #e7eee7;
}
.store-facade img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-card-with-photo .store-facade-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #697e70;
  background: linear-gradient(145deg, #e7eee7, #f5f4eb);
  font-size: 11px;
}
.store-facade-pending .icon { width: 29px; height: 29px; }
.store-card-with-photo .store-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 17px;
}
.store-card-with-photo .store-card-top { display: block; }
.store-card-with-photo h3 { line-height: 1.25; overflow-wrap: anywhere; }
.store-card-with-photo .store-card-top p { line-height: 1.45; }
.store-card-with-photo .store-hours { font-size: 11px; line-height: 1.45; }
.store-card-with-photo .store-primary-actions {
  display: grid;
  gap: 7px;
  margin-top: auto;
}
.store-card-with-photo .store-primary-actions .button {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
}
.store-card-with-photo .store-write {
  border-color: #d5e4d8;
  background: #e9f2e9;
  color: #184936;
}
.store-card-with-photo .store-write:hover { background: #dcebdd; }
.store-card-with-photo .store-navigation {
  display: flex;
  width: 100%;
  min-height: 42px;
  justify-content: space-between;
  padding: 9px 12px;
  border-color: #e0e5d8;
  background: #f6f5ed;
  color: #3e5645;
  font-size: 12px;
}
.store-card-with-photo .store-navigation:hover { background: #eeeeDF; }
.store-navigation > span { display: inline-flex; align-items: center; gap: 7px; }
.store-navigation-distance {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.store-card-with-photo .store-map-reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  padding: 11px 0 0;
  border-top: 1px solid #e8ede4;
}
.store-provider-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #3a5144;
  font-size: 11px;
  font-weight: 800;
}
.store-provider-dot { width: 6px; height: 6px; border-radius: 50%; }
.store-provider-dot.yandex { background: #ee6150; }
.store-provider-dot.dgis { background: #69b13b; }
.store-review-links { display: flex; flex-wrap: wrap; gap: 5px 7px; margin-top: 5px; }
.store-review-links a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 24px;
  color: #45634f;
  font-size: 10px;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: #b7c8b9;
  text-underline-offset: 3px;
}
.store-review-links .icon { width: 11px; height: 11px; }
.store-review-links a:hover { color: #174c34; text-decoration-color: currentColor; }
.store-card-with-photo a:focus-visible,
.store-card-with-photo button:focus-visible { outline: 3px solid #83aa88; outline-offset: -3px; }
.sheet .store-card-with-photo {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
}
.sheet .store-card-with-photo .store-facade { height: 100%; min-height: 190px; }
.sheet .store-card-with-photo .store-card-content { gap: 9px; }
.sheet .store-card-with-photo .store-primary-actions { margin-top: 0; }
@media (max-width: 520px) {
  .store-card-with-photo .store-facade { height: 138px; }
  .store-card-with-photo .store-card-content { padding: 15px; gap: 10px; }
  .sheet .store-card-with-photo { display: flex; }
  .sheet .store-card-with-photo .store-facade { height: 165px; min-height: 0; }
  .store-card-with-photo .store-review-links a { min-height: 28px; font-size: 11px; }
}

.product-body .product-seller-label, .product-sheet .product-seller-label { margin:0 0 9px; color:#59675c; font-size:11px; line-height:1.45; overflow-wrap:anywhere; }

.store-picker-list { margin-top: 15px; }

.store-requisites { color: #59685d; font-size: 12px; line-height: 1.5; }
.store-requisites summary { width: fit-content; cursor: pointer; min-height: 26px; }
.store-card-with-photo .store-requisites p { margin: 4px 0 0; color: inherit; overflow-wrap: anywhere; }
.store-requisites summary:focus-visible { outline: 2px solid #49785e; outline-offset: 3px; border-radius: 2px; }

.store-directory {
  margin: 0;
  color: #252b22;
  background: radial-gradient(ellipse at top right, #fbe4cd, transparent 43rem), #faf3e7;
  font: 16px/1.5 system-ui, sans-serif;
}
.store-directory * { box-sizing: border-box; }
.store-directory-header { border-bottom: 1px solid #e8dcca; background: #fffaf2; }
.store-directory-bar, .store-directory-main {
  width: min(1160px, calc(100% - clamp(32px, 7vw, 88px)));
  margin-inline: auto;
}
.store-directory-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 13px; }
.store-directory-brand { display: flex; align-items: center; gap: 10px; color: #252b22; text-decoration: none; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.store-directory-brand img { display: block; border-radius: 50%; }
.store-directory-catalog { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; color: #214735; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.store-directory-main { padding-block: clamp(28px, 5vw, 58px) 64px; }
.store-directory h1 { margin: 0 0 clamp(22px, 3vw, 36px); font-size: clamp(31px, 5vw, 55px); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; }
.store-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.store-directory .store-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  scroll-margin-top: 16px;
  border: 1px solid #e7dbca;
  border-radius: 21px;
  background: #fffdf7;
  box-shadow: 0 8px 24px #503a1a0d;
}
.store-directory .store-card:target { outline: 2px solid #527e61; outline-offset: 3px; }
.store-directory .store-card-with-photo .store-facade { height: auto; aspect-ratio: 16 / 10; flex: none; background: #ebede4; }
.store-directory .store-facade-pending img { width: 64px; height: 64px; border-radius: 50%; }
.store-directory .store-card-content { gap: 12px; padding: clamp(15px, 2vw, 21px); }
.store-directory h2 { margin: 0 0 3px; color: #212922; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.25; overflow-wrap: anywhere; }
.store-directory p { margin: 0; color: #5d6358; font-size: 14px; }
.store-directory p.store-directory-hours { margin-top: auto; color: #365943; font-weight: 650; }
.store-directory-map {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #dce8dc;
  border-radius: 12px;
  background: #ecf4eb;
  color: #1b4935;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.store-directory-map:hover { background: #dfeddf; }
.store-directory a:focus-visible { outline: 2px solid #49785e; outline-offset: 3px; }
.store-directory .store-facade:focus-visible { outline-offset: -4px; }
@media (max-width: 930px) { .store-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .store-directory-grid { grid-template-columns: minmax(0, 1fr); } }

/* Equal directions and store-specific chat actions. */
.store-directory-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.store-directory-actions .store-directory-map { min-width:0; padding-inline:12px; }
