.h5-store-page {
  max-width: var(--max-width-archive);
}

.h5-store-identity {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.h5-store-logo {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  display: block;
}

.h5-store-logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-h2);
  font-weight: 600;
  color: var(--color-text-tertiary);
}

.h5-store-identity-body {
  min-width: 0;
  flex: 1;
}

.h5-store-identity-body .h5-title {
  margin-bottom: var(--space-xs);
}

.h5-store-identity-body .h5-tags {
  margin-bottom: var(--space-xs);
}

.h5-store-intro {
  margin: var(--space-sm) 0 0;
  font-size: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.h5-store-status {
  font-size: var(--font-caption);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-xs);
}

.h5-store-contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  font-size: var(--font-caption);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.h5-store-contact__phone,
.h5-store-contact__addr {
  color: var(--color-primary);
  text-decoration: none;
}

.h5-store-contact__phone:hover,
.h5-store-contact__addr:hover {
  text-decoration: underline;
}

.h5-store-meta {
  font-size: var(--font-caption);
  color: var(--color-text-tertiary);
}

.h5-store-notice {
  padding: var(--space-md);
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  font-size: var(--font-caption);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.h5-store-notice--warn {
  background: var(--tag-reference-bg);
  color: var(--color-warning);
}

.h5-transparency {
  font-size: var(--font-body);
  color: var(--color-text-secondary);
  margin: 0;
}

.h5-specialty-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}

.h5-specialty-item {
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-bg-muted);
  border-radius: var(--radius-sm);
  font-size: var(--font-caption);
  color: var(--color-text-secondary);
}

.h5-service-list,
.h5-store-case-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.h5-service-card,
.h5-store-case-card {
  display: block;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.h5-service-card:active,
.h5-store-case-card:active {
  border-color: var(--color-primary);
}

.h5-service-card-title,
.h5-store-case-card-title {
  font-size: var(--font-h3);
  font-weight: 600;
  margin: 0 0 var(--space-xs);
}

.h5-service-card-summary,
.h5-store-case-card-meta {
  font-size: var(--font-caption);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-sm);
}

.h5-service-card-price {
  font-size: var(--font-h3);
  font-weight: 600;
  margin: 0;
}

.h5-env-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

.h5-env-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-bg-muted);
}

@media (min-width: 960px) {
  .h5-store-logo,
  .h5-store-logo--placeholder {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .h5-env-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .h5-env-img {
    max-height: 120px;
  }
}

.h5-tag--info {
  color: var(--tag-reference-fg);
  background: var(--tag-reference-bg);
}
