.skincare-stores-template {
  padding: 30px 0 84px;
  background: linear-gradient(180deg, #fffdf9 0%, #f7f2e8 100%);
}

.skincare-stores-template__inner {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
}

.skincare-stores-template__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #7a7369;
  font-size: 13px;
  line-height: 1.5;
}

.skincare-stores-template__breadcrumb a,
.skincare-stores-template__breadcrumb span {
  color: inherit;
}

.skincare-stores-template__breadcrumb a:hover {
  color: #1f5147;
}

.skincare-stores-template__hero {
  margin-bottom: 24px;
}

.skincare-stores-template__eyebrow {
  margin: 0 0 12px;
  color: #8d7257;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skincare-stores-template__title {
  margin: 0;
  color: #131722;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.skincare-stores-template__summary {
  max-width: 760px;
  margin: 14px 0 0;
  color: #5e646e;
  font-size: 15px;
  line-height: 1.7;
}

.skincare-stores-template__summary--rich > *:first-child {
  margin-top: 0;
}

.skincare-stores-template__summary--rich > *:last-child {
  margin-bottom: 0;
}

.skincare-stores-template__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.skincare-stores-template__stat-card {
  min-height: 124px;
  padding: 22px 24px;
  border-radius: 24px;
  background: #0d2d3a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 18px 36px rgba(12, 25, 32, 0.12);
}

.skincare-stores-template__stat-icon {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.58);
}

.skincare-stores-template__stat-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skincare-stores-template__stat-copy {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}

.skincare-stores-template__stat-label {
  font-size: 14px;
  font-weight: 700;
}

.skincare-stores-template__stat-value {
  font-size: clamp(42px, 4vw, 56px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.skincare-stores-template__layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.65fr);
  gap: 20px;
  align-items: start;
}

.skincare-stores-template__sidebar {
  min-width: 0;
}

.skincare-stores-template__filter-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid #14313e;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.skincare-stores-template__field {
  display: grid;
  gap: 8px;
}

.skincare-stores-template__field label {
  color: #131722;
  font-size: 14px;
  font-weight: 600;
}

.skincare-stores-template__select,
.skincare-stores-template__input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #afbbb6;
  background: #ffffff;
  color: #17212b;
  font-size: 15px;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.skincare-stores-template__select {
  background: #0d2d3a;
  border-color: #0d2d3a;
  color: #ffffff;
}

.skincare-stores-template__select:focus,
.skincare-stores-template__input:focus {
  border-color: #1f5147;
  box-shadow: 0 0 0 4px rgba(31, 81, 71, 0.08);
}

.skincare-stores-template__status {
  margin: 14px 0 12px;
  color: #4f5a62;
  font-size: 14px;
  line-height: 1.6;
}

.skincare-stores-template__list {
  display: grid;
  gap: 12px;
  max-height: 640px;
  padding-right: 6px;
  overflow-y: auto;
}

.skincare-stores-template__list::-webkit-scrollbar {
  width: 8px;
}

.skincare-stores-template__list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(13, 45, 58, 0.28);
}

.skincare-stores-template__card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(13, 45, 58, 0.18);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.skincare-stores-template__card.is-active {
  border-color: #0d2d3a;
  box-shadow: 0 18px 34px rgba(12, 25, 32, 0.12);
  transform: translateY(-1px);
}

.skincare-stores-template__card-title {
  margin: 0 0 14px;
  color: #0f1721;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.skincare-stores-template__card-meta {
  display: grid;
  gap: 12px;
}

.skincare-stores-template__line {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #14222c;
}

.skincare-stores-template__line-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(13, 45, 58, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d2d3a;
}

.skincare-stores-template__line-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skincare-stores-template__line-text {
  font-size: 15px;
  line-height: 1.6;
}

.skincare-stores-template__phone {
  color: inherit;
}

.skincare-stores-template__actions {
  margin-top: 16px;
}

.skincare-stores-template__direction {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #dfe8ff;
  color: #14222c;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.skincare-stores-template__direction svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skincare-stores-template__map-shell {
  position: sticky;
  top: 96px;
  min-height: 640px;
  border-radius: 24px;
  overflow: hidden;
  background: #edf1f4;
  border: 1px solid rgba(13, 45, 58, 0.12);
}

.skincare-stores-template__map {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.skincare-stores-template__map.is-ready {
  opacity: 1;
  pointer-events: auto;
}

.skincare-stores-template__map-placeholder {
  position: absolute;
  inset: 0;
  padding: 34px;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  color: #49545d;
  background:
    radial-gradient(circle at top left, rgba(31, 81, 71, 0.08), transparent 28%),
    linear-gradient(180deg, #f5f0e6 0%, #eef2f4 100%);
}

.skincare-stores-template__map-placeholder strong {
  color: #101723;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.skincare-stores-template__map-placeholder span {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.7;
}

.skincare-stores-template__map-placeholder[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .skincare-stores-template__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skincare-stores-template__layout {
    grid-template-columns: 1fr;
  }

  .skincare-stores-template__map-shell {
    position: relative;
    top: 0;
    min-height: 520px;
  }

  .skincare-stores-template__map {
    min-height: 520px;
  }
}

@media (max-width: 780px) {
  .skincare-stores-template {
    padding: 22px 0 56px;
  }

  .skincare-stores-template__inner {
    width: calc(100% - 24px);
  }

  .skincare-stores-template__stats {
    grid-template-columns: 1fr;
  }

  .skincare-stores-template__stat-card {
    min-height: 104px;
    padding: 18px 20px;
  }

  .skincare-stores-template__stat-icon {
    width: 58px;
    height: 58px;
  }

  .skincare-stores-template__filter-shell {
    grid-template-columns: 1fr;
  }

  .skincare-stores-template__list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .skincare-stores-template__map-shell,
  .skincare-stores-template__map {
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .skincare-stores-template__inner {
    width: calc(100% - 16px);
  }

  .skincare-stores-template__title {
    font-size: 34px;
  }

  .skincare-stores-template__breadcrumb {
    font-size: 12px;
  }

  .skincare-stores-template__stat-value {
    font-size: 40px;
  }

  .skincare-stores-template__card-title {
    font-size: 20px;
  }
}
